Any ROM developers? - Moto G Power Questions & Answers

Wondering if anyone is thinking of developing custom ROMs for this device. I see that the kernel sources were released and the bootloader is of course unlockable.

Not a dev, but if you look at the entire moto g line and even budget motorola phones in general, most of these devices have at least a few custom rom options. i went from the moto e4 to the moto g5s plus to the moto g6 to the moto z3 play to this and all of those phones had multiple custom rom options. This device has great potential, im sure it will pique the intrest of at least a few devs.

testtubebaby said:
Wondering if anyone is thinking of developing custom ROMs for this device. I see that the kernel sources were released and the bootloader is of course unlockable.
Click to expand...
Click to collapse
Started trees for it and have OmniROM running on it. Sadly, cause of corona, i'm not at home and i don't have the phone with me, so can go further for now.
Trees are available at boulzordev org on GitHub.

I got the stylus instead of this device but it already appears as though this is the one getting more attention
Sent from my [device_name] using XDA-Developers Legacy app

I couldn't get Lineage 17.1 to build on my pixel 3a without errors but I can try using the G power blobs I found online here. My G power is not rooted so I did not obtain them myself so anything goes. I'm not rushing on this due to kids/work/etc.

One thing I think would be of value is a kernel with Kcal. Total control over RGB colors and Saturation. My last phone was LCD and with Kcal baked into the kernel and using Color Calibration app or Kernel Adiutor, cranking up the saturation really made a difference. Bland orange color went to vibrant red. I don't care about all the other tweeks to use AKT rpofiles etc. I just want more control over the screen. Keep it simple for less hassle.
Since we can't install a custom recovery, we have whatever magisc modules work, whatever exposed works, and a custom kernel. I think the stock ROM is ok as is. Just wish I could control the color more.
And of course we have to hope the custom launchers can catch up with gestures.

Working on getting TWRP to work. Basically repacking the kernel with a version of twrp thats already built. I was able to boot twrp for the moto g power and get adb up and running, but it dies before twrp is actually fully up and running, so the twrp adb commands don't work.
I used the G7 power image they had on that try. Going to try the Moto One Power next. If that doesn't work I'll just build it eventually. Unless they get to it first.

CodyF86 said:
Working on getting TWRP to work. Basically repacking the kernel with a version of twrp thats already built. I was able to boot twrp for the moto g power and get adb up and running, but it dies before twrp is actually fully up and running, so the twrp adb commands don't work.
I used the G7 power image they had on that try. Going to try the Moto One Power next. If that doesn't work I'll just build it eventually. Unless they get to it first.
Click to expand...
Click to collapse
Have you tried contacting TWRP? From their website: "If you are a company interested in a partnership or a developer who is interested in porting or working on TWRP, you are the 1% who will likely get a reply. Thanks for your consideration."

Heh I just got TWRP to boot with the GUI up just repacking the moto one power twrp, but there was no touch screen control and it could only see the external sd. Instead of hacking it together I found a dummy device tree from androidblobs, so I forked it and will just build it.
I don't have the build system on this computer anymore so ill start downloading that will take a bit and ill have to mess with it a bit, but its a start.
Basically if you can get it built and working then you send it to them and they try to build it and then theyll post it as an official supported device. I'll work on it.
https://github.com/codyf86/device_motorola_sofia

androiddiego said:
One thing I think would be of value is a kernel with Kcal. Total control over RGB colors and Saturation. My last phone was LCD and with Kcal baked into the kernel and using Color Calibration app or Kernel Adiutor, cranking up the saturation really made a difference. Bland orange color went to vibrant red. I don't care about all the other tweeks to use AKT rpofiles etc. I just want more control over the screen. Keep it simple for less hassle.
Since we can't install a custom recovery, we have whatever magisc modules work, whatever exposed works, and a custom kernel. I think the stock ROM is ok as is. Just wish I could control the color more.
And of course we have to hope the custom launchers can catch up with gestures.
Click to expand...
Click to collapse
Just read a thread here that TWRP for "sofia" is coming right along... can't wait!

has anyone tried any treble ROMs at all?

I'll be a dev

Related

Ulefone Power costume rom??????????????

Hi well today I here that the Ulefone Power will be out in some places and its a very good battery life 4 dayds with out charging it so I want to know is their any plans for costume rom this baby as this phone is very affordable and was wondering if any one is planing this me be 64bit rom?????????????????????
Dude! I second this motion! The phone's a beast but boy does the stockrom suck.
Cant wait for some talented guys to do a custom rom for this phone. Im very happy with the hardware, only the rom is a little bit wanky.
I have had this phone for three weeks now.
It's a truly fantastic device! Hardware is good, makes great pictures and the massive battery can last me for 12 hours without changing it. Let me clarify that my Note 4 was able to stay alive without my spare 3000mAh Samsung battery for no more than 4-6 hours.
The only complaint i have with the Power is that YouTube, as well as RadioYouTube are lagging here and there. I tried few tweaks form the Developer options to reduce the lag, but not much improve was noticed.
So, a good custom ROM to eliminate the issues and make it even better would make this device a real leader in reliability and satisfacton.
i dont know but i have a feeling one 6.0 is released some custom roms should come out, no point making them yet with it coming out in the next week or two (or three with the current delays), cant wait though, getting mine today hopefully!
I would like to notice that front camera on stock android 5.1 really sucks! It's just terrible, when I flashed android 6 it's way better but still it's sharphing photos to much... In video recording there is no problem so I am 100% sure that's software problem. Hope it will get solved with some custom android 6 rom . This is just an info for future developers.
custom rom
I found custom rom on needrom. It's ported from leagoo shark. I'am using it and better than stock rom. If anyone build a custom rom, i will try.
acemimerakli said:
I found custom rom on needrom. It's ported from leagoo shark. I'am using it and better than stock rom. If anyone build a custom rom, i will try.
Click to expand...
Click to collapse
how did you root/flash phone?
btijet said:
how did you root/flash phone?
Click to expand...
Click to collapse
I load twrp with sp flash and then load supersu zip file.
You can use this link http://blog.ulefone.com/how-to-root-ulefone-power/
acemimerakli said:
I found custom rom on needrom. It's ported from leagoo shark. I'am using it and better than stock rom. If anyone build a custom rom, i will try.
Click to expand...
Click to collapse
please any link , I found only ROM version from ulefone (update already received)
Is there any CM version ? Could be good to have CMTE (Theme engine)
brunoisa10 said:
please any link , I found only ROM version from ulefone (update already received)
Is there any CM version ? Could be good to have CMTE (Theme engine)
Click to expand...
Click to collapse
http://www.needrom.com/download/leagoo-port-for-power/
No CM version.
I heard that Ulefone Compagny has given some devices (Ulefone Power) to ROM Developpers.
So We could maybe get some custom roms or port from another devices in a early future
Rooting uleFone Power
Hi all. As posted earlier, there are instructions on the Ulefone blog on how to root the device.
http://blog.ulefone.com/how-to-root-ulefone-power/
Here's a quick rundown. I'm also uploading all the tools I downloaded and used to my Google Drive.
https://drive.google.com/open?id=0BzqEmGyNP_v6cWdZVU5rRnpmbDQ
If you rather get the things directly from the Ulefone Blog then do so.
DRIVERS
Based on checks, it's probably best to install the driver directly. One of the instructions given is to turn off the phone and connect it to the PC. When I did this nothing happened, and I only started to get some results when I turned on the phone while connected. At this point it flashed very quickly that there was an MTK device but drivers weren't installed. After installing the drivers on the system and doing this again, it managed to install the drivers properly. I also noticed that booting the device with VOL+/POWER gave me the option of installing the drivers also. As stated on the site - you may need to disable driver signing for Windows 8/10.
TWRP
This part is pretty straightforward. Unzip all of the files. Run the SP FLASH TOOL. Enable USB CHECKSUM in the options for SP FLASH TOOL. Locate the scatter file for TWRP and hit the download button while the phone is off. If nothing happens for you, simply turn the phone on while it's connected and the download button is already pressed. It will prevent the phone from booting and flash TWRP directly. You may go into TWRP by holding VOL+/POWER until you get the menu for normal/fastboot/recovery and select recovery. Please bear in mind that at this menu, the VOL+ cycles the options and the VOL- selects/confirms the option.
ROOT
Once you've completed the TWRP installation, start TWRP and allow modification of the system partition. Select the options to reboot into the system and then swipe to install SuperSU and root the device. That's it - you're done!
Screenshots and photos will follow.
Hey there!
Any news of a custom ROM for the ulefone power?

[SOLVED] Bootloop with Xposed Framework and Android Theme Engine module

So I cannot get past the T-Mobile splash screen after I enabled the Lollipop port of Android Theme Engine in Xposed. I'd disable Xposed with the uninstall zip, problem is I can't boot into recovery using the button combinations. I've been relying on this boot into recovery app to actually use recovery, without the ability to boot into the OS all the way I have no way of getting into TWRP. Adb and Fastboot commands generally fail to work also. I think this all comes from Xposed never having asked for root permissions, so my bad. Anyways, unless I'm somehow not holding Power and Down right while booting, somethings wrong with TWRP.
Edit: I used the 6.0.4 version of ATE for Lollipop https://forum.xda-developers.com/showpost.php?p=60207547&postcount=1817
Okay so I got Adb and Fastboot to work and I flashed the uninstall zip. Sorry for bothering you guys
Just so you know these tweaks warn you at the bottom. They are compatible with lollipop softwares but not lg stock roms. This is due to the heavily modified Android user interfaces lg ships out with their phones.
If it will change the look of something, most likely it will break Android on your lg. Always read discussion notes if you're not sure.
NASSTYROME said:
Just so you know these tweaks warn you at the bottom. They are compatible with lollipop softwares but not lg stock roms. This is due to the heavily modified Android user interfaces lg ships out with their phones.
If it will change the look of something, most likely it will break Android on your lg. Always read discussion notes if you're not sure.
Click to expand...
Click to collapse
That sucks, so there really is no way to theme this thing? Someone really needs to port AOSP or Lineage, i really hate LGs stock on any of their phones
I've tried compiling roms for this device before without adequate resources like the kernel or device tree. Hopefully we get a custom ROM to this thing but all development t has crawled. At V10m we stock firmwareill have bugs. If we had more than 4gb system storage we could look forward to something being compiled.

[Guide] Fix for Nexus 6P Bootloop of death | 8/22 - Android O Working

Read First: This method is relatively drastic, and will hurt device performance some. You should only use this as a last resort, if the more basic methods of fixing a soft brick didn't work (e.g, factory reset, flash stock firmware, etc.)​
*Update 8/22: Android O is working with 4 Cores now! Big thank you to @xls654 for finding out how to get Android O to work.
*Petition:
I made a petition for Google to officially release and sign modified boot.imgs, so that people with locked bootloaders can fix their devices too. Check it out here. (I apologize for dumbing it down so much, I wanted to make sure everyone could understand it)
*Changelog:
8/25 - EX kernel for Android O added.
8/22 - Android O DPR6 boot.img and source added.
8/16 - Started making this fix open-source, source code section added in OP. Also uploaded modified Franco and Flash kernel & source.
8/10 - Added PA 7.2.2 and DarkROM boot images.
8/08, 2nd change - Uploaded modified boot.img for firmware 48C.
8/08 - Updated EX kernel to version 4.1.2. This updated zip adds the CPU utilization patch to the init.elemntalx.rc, instead of removing the old init.angler.rc and copying the new init over. That should mean more compatibility with Roms/kernels that modify the init.angler.rc. I also modified the camera-daemon to use cpus 0-3 instead of 0-2, so hopefully this should make the a camera bit faster too.
8/07 - Added boot.img that only uses 1 core. Someone suggested I make a boot.img that only uses 1 core, just to see if it works for devices that didn't work with the 4 Core fix.
7/30 - Added universal EX zip, this zip should modify your kernel to use only 4 cores, and it should modify it to utilize all 4 cores. You can flash this over most ROMs and it should work. Also added a donation url, and this changelog.
7/29, 2nd change - Added Pure Nexus and PA dev version boot images, modified to use 4 cores, and utilize all 4.
7/29 - Updated this fix to greatly improve performance. Before this fix, the device was only using 1 core for foreground tasks, now it will use all 4 cores. Also revamped OP.
7/21 - Fix created, stock boot.img, TWRP image, and EX kernel modified to use 4 cores.
*What this fix does, and how to apply it:
The problem:
The problem with most of the devices in a BLOD, is that a hardware failure related to the BIG cluster has occurred. This fix remedies the problem by disabling the BIG cores. Unfortunately, this does mean that you will take a performance hit. However, I am continually working on ways to improve the device's performance.
The update: If anyone remembers device performance with the first fix, it was hurt a lot, however, after finding out that the device was only using 1 core for all foreground tasks, I modified the ramdisk to utilize all 4 cores more effectively, and it helps a lot.
Requirements: For this fix to work, you need:
A brain
A computer
A bootlooping 6P with an unlocked bootloader/OEM unlocking enabled
The modified files of your choice
Fastboot on your computer (preferably installed system wide). If you do not know what this is, or do not have it, look at this post. Answer yes to all of the prompts to install it.
How to apply the fix:
Boot your phone into bootloader (hold power and volume down).
Connect your phone to the computer.
Go to the folder where you have the modified files, then hold shift and right click in a blank space, click on "open command prompt here" in the menu that pops up.
In the command prompt: type "fastboot flash boot [name of the file here]" and then press enter. If you're flashing TWRP, replace boot with recovery. (Linux users, make sure you're running as root)
Edit: With the new EX zip, you shouldn't need to flash the boot.img anymore, you can just flash twrp, and then flash EX in twrp.
Boot up your phone, and hopefully it should work!
*If your phone is bootloader locked/OEM locked:
You can try to get your phone to boot long enough to enable OEM unlocking. Some users have reported success by freezing their phone for a bit, then booting it. Others have let their battery drain all the way, and then tried to boot their phone, but the most successful method seems to be heating up your phone (a lot).
If you do attempt any of these methods, make sure you have time and patience, as it will take a long time.
To enable OEM unlocking and unlock bootloader:
Go to settings.
Go to developer options, if you do not see that, go to "about phone", scroll to build number, and then tap it 7 times. You should now see developer options in settings.
Once you're in developer options, click on "OEM unlocking" and accept the prompt.
Now reboot your phone to bootloader, connect your phone to the computer, and type "fastboot flashing unlock" Your bootloader should now be unlocked.
*Downloads:
Boot.img from stock 6.17, 8.0 firmware: Download | Mirror. This Image is the from the first official release of Android O, and is modified to use 4 cores. It also disables forced encryption as a bonus. Thank you to @xls654 for figuring out how to get Android O to work.
Boot.img from stock 48C, 7.1.2 firmware: Download | Mirror. This Image is modified to use only 4 cores, and is modified to utilize the 4 cores more effectively. I have had multiple people say that first boot takes a while after flashing this, so just wait about 20 minutes before you declare something is wrong with it.
Boot.img from stock 48B, 7.1.2 firmware: Download |Mirror. This Image is modified to use only 4 cores, and is modified to utilize the 4 cores more effectively. I have had multiple people say that first boot takes a while after flashing this, so just wait about 20 minutes before you declare something is wrong with it.
TWRP version 3.1.1: Download | Mirror. This TWRP image is modified to use only 4 cores.
EX kernel version 5.03: Download | Mirror. EX kernel 5.03 works with android 8.0.0. This zip applies the 4 cores patch, but you will need to flash it over an already modified boot.img to work.
Elemental X kernel version 4.12, universal zip: Download | Mirror. This zip is EX kernel, modified to use only 4 cores. Update: I modified it to apply the CPU utilization patch too, so now this is a universal zip, flash it over almost any ROM, and you should now have the BIG cores disabled fix, and the little core utilization fix.
Flash kernel version 2.5: Download | Mirror. This zip is modified to use only 4 cores, and utilize all 4. Works with android 7.1.2. You can flash this over almost any ROM, including stock, and it should boot again.
Franco kernel r55: Download | Mirror. This zip is modified to use only 4 cores, and utilize all 4. Works with android 7.1.2. You can flash this over almost any ROM, including stock, and it should boot again.
You will most likely not need these images. It will be much easier, and much more universal to flash one of the custom kernel zips above ^^^
PA boot.img from PA version 7.2.2, build 8/10: Download | Mirror. Uses only 4 cores, and has core utilization patch.
PA boot.img from PA version 7.2.1: Download | Mirror. Boot.img from PA dev preview 7.2.1, uses only 4 cores, and is modified to utilize 4 cores more effectively. Flash it after you flash the PA zip, either with fastboot, or TWRP image flash.
Pure Nexus boot.img from Pure Nexus 7/25 build Download | Mirror. This image is modified to use only 4 cores, and it has a tweak to utilize the 4 cores more effectively. Flash it after you flash Pure Nexus, either with fastboot, or TWRP image flash.
DarkROM boot.img from 7/21 build: Download | Mirror. This image is modified to use only 4 cores, and has the utilization patch.
Boot.img modified to use only 1 Core. Some people were reporting that the 4 core images weren't working for them, someone suggested that I make a 1 core version to see if that helps at all. Edit: seems not to help unfortunately. Here it is: Download | Mirror
Unfortunately, I have not been able to get Android O working yet, but I am working on it right now.
If you have a favorite custom ROM or kernel you want to ported over to use 4 cores, let me know, and I'll put it up.
*Source code:
Flash kernel: source | Flash ramdisk/AK2: source.
Franco kernel: source | Franco ramdisk/AK2: source.
Android O boot.img: source.
p-0000000000000000000000000000007 (sorry that was my kitten)
*Tested custom ROMS/kernels
I have used Pure Nexus by flashing the modified EX zip over it, it has notably better performance than the stock ROM, and very good battery life. It's a clean, stable ROM, with plenty of good features that are actually useful.
I have also used Paranoid android dev preview, very good performance, definitely my favorite as of now. Battery life leaves something to be desired, but I have not tried a custom kernel yet. Also, 7.2.1 seemed smoother to me than 7.2.2.
If you have a custom ROM/kernel that worked for you, let me know and I'll put it up here.
*To improve performance slightly:
Flash a custom kernel. I will upload more kernels as I test more, so stay tuned.
Overclock the little cores. It can slightly help offset the lost performance, on my 6P, I have mine overclocked to 1632MHz, and it works perfectly for me. Edit: I actually recommend not overclocking. Many people have reported their Little cores failing, so I would go for longevity on this device, and keep it at stock clocks, or even underclock it. The speed difference you get from overclocking is negligible anyways.
Disable animations in developer options. Seriously, as soon as I found out about this tweak, I've used it on ever single device I've owned, it helps a ton.
Turn resolution down to 1080p. On a small screen, the difference in between 1080p and 1440p is not very noticable. To do this, first get root access, then download a terminal emulator. In the terminal, type "su" and grant it root access, then type "wm size 1080x1920", and finally, change the density "wm density 400". Personally, I like my density at 400, but you can expieriment with it. Lower density=Smaller items and text, Higher density=Bigger items and text. Also @Adithya FRK mentioned that you also want to put density in build.prop so apps display correctly. Change ro.sf.lcd_density=560 to your density, if you changed it.
*Credits:
@rchtk, His post here gave me the idea for how to modify the images.
@flar2, He built the Elemental X kernel for this device, I merely made a small modification to his kernel to use 4 cores. In no way am I trying to steal and/or discredit his work.
The TWRP development team, they built the TWRP recovery for this device, I merely made a small modification to their recovery to use 4 cores. In no way am I trying to steal and/or discredit their work.
@tr1gg3r.man, He made the the PA kernel, I just added a couple modifications. In no way am I trying to steal and/or discredit his work.
@BeansTown106, He made the Pure Nexus kernel, I just added a couple modifications. In no way am I trying to steal and/or discredit his work.
@Dark_Eyes_, He made the DarkROM kernel, I just added a couple modifications to it. In no way am I trying to steal and/or discredit his work.
@[U][COLOR="Purple"]The Flash[/COLOR][/U], He made The Flash kernel, I just made a couple modifications to it. In no way am I trying to steal and/or discredit his work. His posts have also helped me a lot with learning how to build a kernel from source, understanding how to use git more, etc. I recommend you check them out if you are interested in getting started with android development.
@[B]franciscofranco[/B], He made Franco kernel, I just made a couple modifications to it. In no way am I trying to steal and/or discredit his work.
@xls654, He found out how to get Android O working with 4 cores.
FAQs
What's the password for TWRP/Why is TWRP asking for a password? - In android 7.0, Google added forced encryption to the data partition. To get around this, click cancel when TWRP asks you for a password, and then factory reset the device. Then you can flash EX kernel/Magisk to disable forced encryption.
Why am I getting an error when I try to flash the images? - Your bootloader is probably not unlocked, try running the command "fastboot flashing unlock", If you get an error there too, then you will have to enable OEM unlocking before you can continue.
It's not working for me, how do I fix it? - My only advice for that is: "Flash the stock firmware for whatever version image you're trying to flash, then reflash the images again" If you're stuck on the boot animation, wait at least 20 minutes before you declare it's not working. If none of that works, chances are your device may have a different problem.
Does EX kernel have the new speed fix? - Yep, you can flash this over just about any ROM, and it should patch it to use only 4 cores, and use them well.
I would like to help as many people as I can, however, I am much more likely to be able to easily help you/reply to your post if you clearly state your problem and the steps you attempted to fix it. I will be much less likely to reply to posts such as "omggg i flashed the image and my phone won't boot helppp" Please read through post first, I did not spend time typing up this OP for no one to read it. If I can see that you read through the OP and have attempted all the steps, then I will be much more willing to help you.
I set up donations on my profile, for those of you who want to donate. I have spent countless hours modifying, flashing, testing, and helping, don't get me wrong, I love doing this and helping y'all out, but donations really keep me motivated to keep going, and donations also will help me fund new equipment and devices that will help further my android development. Every single donation is appreciated Donate to me here!
If this guide helped you, please click thanks, it means a lot to me
flashed modded TWRP then flashed modded EX Kernel and I'm back up and running... thanks so much!!
How the fuuuuuuuu man you save me, how do you make this.
Really work for my Nexus 6p thank you man, is there any way to send a cup of coffe.
worked for my brick - can enter TWRP again
Hello man is there any way to can use this with Android O ????
You are god!
Enviado desde mi ONEPLUS A3000 mediante Tapatalk
Today it suddenly happened to my device too. I flashed your img and the device booted again, thank you! However, seeing you disabled some cores, would it be caused by a bad core in the device? So, a hardware failure? Or is the boot.img simply corrupted in some sort of way? I'm trying to pinpoint the issue here.
edit: flashed the stock boot.img and the device was back into loop. So it's probably is a hardware defect.
@nabears101 you are AMAZING! Outstanding job.
My phone has life again (even though I already bought a OP5 to replace it)
NeoS said:
Today it suddenly happened to my device too. I flashed your img and the device booted again, thank you! However, seeing you disabled some cores, would it be caused by a bad core in the device? So, a hardware failure? Or is the boot.img simply corrupted in some sort of way? I'm trying to pinpoint the issue here.
edit: flashed the stock boot.img and the device was back into loop. So it's probably is a hardware defect.
Click to expand...
Click to collapse
That would be my guess, I'm trying to figure out if there's a way to debug the bootloader so I can pinpoint the problem with the BIG cores.
javitomen said:
Hello man is there any way to can use this with Android O ????
Click to expand...
Click to collapse
I'll go ahead and upload a version for android O later today
javitomen said:
How the fuuuuuuuu man you save me, how do you make this.
Really work for my Nexus 6p thank you man, is there any way to send a cup of coffe.
Click to expand...
Click to collapse
To anyone who wants to make a boot.img with 4 cores: It's actually fairly simple, you need to get abootimg tools on linux. Then unpack the boot.img with abootimg -x (name of your boot.img) Once the image is extracted, there should be a file named bootimg.cfg, edit that file and put in maxcpus=4 in the line that starts with cmdline =. Then repack the image with abootimg --create myboot.img -f bootimg.cfg -k zImage -r initrd.img And viola! You have a (half) working kernel.
XCnathan32 said:
I'll go ahead and upload a version for android O later today
Click to expand...
Click to collapse
Thanks man you dont know how thankfull i am, i hope your release of the android O to test it, thanks again for your work :good:
javitomen said:
Thanks man you dont know how thankfull i am, i hope your release of the android O to test it, thanks again for your work :good:
Click to expand...
Click to collapse
Just uploaded boot.img and EX Kernel for Android O, check OP. And no problem, I'm always happy to help a fellow android fan.
XCnathan32 said:
I'll go ahead and upload a version for android O later today
Click to expand...
Click to collapse
XCnathan32 said:
Just uploaded boot.img and EX Kernel for Android O, check OP. And no problem, I'm always happy to help a fellow android fan.
Click to expand...
Click to collapse
Hi man i just flash it, but after Android logo just return bobootloader
javitomen said:
Hi man i just flash it, but after Android logo just return bobootloader
Click to expand...
Click to collapse
Oops I'm getting that problem too, working on it now...
XCnathan32 said:
Oops I'm getting that problem too, working on it now...
Click to expand...
Click to collapse
lol thanks man, i hope you can fix it
I don't have this bootloop issue but it is extremely reassuring to know there is a fix even though it means limiting performance and such an easy fix too. Making the modifications seems very easy which makes me wonder why it's taken so long for someone to do a modification like this.
NeoS said:
Today it suddenly happened to my device too. I flashed your img and the device booted again, thank you! However, seeing you disabled some cores, would it be caused by a bad core in the device? So, a hardware failure? Or is the boot.img simply corrupted in some sort of way? I'm trying to pinpoint the issue here.
edit: flashed the stock boot.img and the device was back into loop. So it's probably is a hardware defect.
Click to expand...
Click to collapse
If you're interested, I made a post here https://forum.xda-developers.com/nexus-6p/help/dev-help-debugging-ramoops-bootlooping-t3640826 that semi-identifies the problem, I'm trying to get help on how to fix it.
I'm still downloading your imgs but the response of people to this thread/guide is already making me feel like I've arrived at the end of the Amazing Race (filled with awful challenges of unlocking, rooting, flashing, discharging, waiting, and just. literally. staring.)
Thank you, BLOD SLAYER!
XCnathan32 said:
Oops I'm getting that problem too, working on it now...
Click to expand...
Click to collapse
Hi man, did you found the fix for Android O?

BUILD RESOURCES: partition, device tree, kernel, vendor/blobs, etc.

UPDATED 2/19/2018
Almost enough here to start attempting debug builds... any other builders/devs out there working on this device? Hopefully some of this will be useful.
Minimal Omni device tree for TWRP (full lineage branch in progress as of 2/19/2018)
https://github.com/mightysween/android_device_motorola_payton
Proprietary blobs/vendor (initial push 2/19/2018):
https://github.com/mightysween/android_vendor_motorola_payton
Partition names/locations/mounts...maybe a few missing still:
https://docs.google.com/document/d/1EkPOkc8uUStKIjRGC2-4jkcXpxmj8v3piGPqZi9ctQM/edit?usp=drivesdk
7.1 KERNEL SOURCE:
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/7.1.1-nougat-release-payton
8.0 KERNEL SOURCE:
https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-OPW27.57-40
So what's the deal with the A/B partitions? I've seen that there are some lineage OS commits to handle the A/B partitions. Would it be possible to load an OS to the A partition and put the recovery on the B partition. I'm not familiar enough to know how much control of the boot process we can have with boot time commands. Does the bootloader have a boot to recovery option?
There doesn't seem to be a recovery partition in the list that you provided. I wonder what the fastboot commands look like... just thinking out loud on the internet. I don't have the phone yet, but I did have a look at Best Buy, so that practically makes me an expert. I have a N5X, so I'm lining up the successor for after its sudden, but inevitable betrayal.
gee one said:
So what's the deal with the A/B partitions? I've seen that there are some lineage OS commits to handle the A/B partitions. Would it be possible to load an OS to the A partition and put the recovery on the B partition. I'm not familiar enough to know how much control of the boot process we can have with boot time commands. Does the bootloader have a boot to recovery option?
There doesn't seem to be a recovery partition in the list that you provided. I wonder what the fastboot commands look like... just thinking out loud on the internet. I don't have the phone yet, but I did have a look at Best Buy, so that practically makes me an expert. I have a N5X, so I'm lining up the successor for after its sudden, but inevitable betrayal.
Click to expand...
Click to collapse
There is no traditional recovery partition...handled by boot. A/B is mainly to allow 'seamless' updates (as in OTA that downloads to the other partition for instant reboot). Bit more to it... if you want to read more, check out the Pixel forums.
Well... progress is being made. Wish there were others (there must be!) working on this.
I have the stock kernel, a VERY basic device tree, and cobbled-together vendor... syncing repos and will try to compile TWRP over the weekend. I do not expect it to work
Dealing with this right now on brunch...runs fine up until this point, appreciate any thoughts:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/mightysween/android/omni/out/target/product/payton/obj/SHARED_LIBRARIES/libcryptfs_hw_intermediates/export_includes', needed by '/home/mightysween/android/omni/out/target/product/payton/obj/SHARED_LIBRARIES/libcryptfslollipop_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Click to expand...
Click to collapse
Do I really need the lollipop libs???? Especially if I just want to compile TWRP and not full omni. Ahhhhhhh....so much fun
OK, got TWRP to compile
Need to do some testing in the emulator and double and triple check all sources and configs before even thinking about trying to boot it on the actual device.
But just troubleshooting at this point, so looking good for TWRP in coming days!
UPDATE: oops, totally compiled it with the wrong kernel. Haha... working through some defconfig issues, but hopefully nothing too crazy.
mightysween said:
OK, got TWRP to compile
Need to do some testing in the emulator and double and triple check all sources and configs before even thinking about trying to boot it on the actual device.
But just troubleshooting at this point, so looking good for TWRP in coming days!
Click to expand...
Click to collapse
I hope you can do it! Is the first step to get backups and ROMs. I don´t have the phone yet, but later the normal version that is sell in México and want to flash the Android One version (previously anyone get it working).
I'm returning my Amazon version of this phone and getting Project Fi version. I am willing to help in testing.
Well, my boot.img compiles fine... but will not boot to recovery. Given the fact that it is mostly guesswork on the device tree, I am not shocked.
Pushed my working tree to GitHub and will keep working on it...
https://github.com/mightysween/android_device_motorola_payton
Been looking at Pixel 2 TWRP Alpha... holy cow. So much more to it with this partitioning scheme.
mightysween said:
Well, my boot.img compiles fine... but will not boot to recovery. Given the fact that it is mostly guesswork on the device tree, I am not shocked.
Pushed my working tree to GitHub and will keep working on it...
https://github.com/mightysween/android_device_motorola_payton
Been looking at Pixel 2 TWRP Alpha... holy cow. So much more to it with this partitioning scheme.
Click to expand...
Click to collapse
Have not even peeked into the Pixel 2 forums. I'm afraid this seems to be another ballgame entirely. Do the new Pixel owners even have root passing safety net while allowing these security updates new android phones now get? Gah this is a mess
SR3TLAW said:
Have not even peeked into the Pixel 2 forums. I'm afraid this seems to be another ballgame entirely. Do the new Pixel owners even have root passing safety net while allowing these security updates new android phones now get? Gah this is a mess
Click to expand...
Click to collapse
TWRP has been worked on for Pixel2 by several people, including expert Dees Troy, and is still a heavy alpha. I feel pretty good about booting compiled boot images and not bricking on x4 (as far as I have gotten)
I have been compiling my own stuff for many years, and yes -- this new stuff is foreign. But, we will all learn and in a few weeks/months, there will be plenty of action on this device
mightysween said:
TWRP has been worked on for Pixel2 by several people, including expert Dees Troy, and is still a heavy alpha. I feel pretty good about booting compiled boot images and not bricking on x4 (as far as I have gotten)
I have been compiling my own stuff for many years, and yes -- this new stuff is foreign. But, we will all learn and in a few weeks/months, there will be plenty of action on this device
Click to expand...
Click to collapse
try using fixes from https://github.com/TeamWin/android_device_xiaomi_tissot tree. similar android one device!!
i.snehal.kiran said:
try using fixes from https://github.com/TeamWin/android_device_xiaomi_tissot tree. similar android one device!!
Click to expand...
Click to collapse
Thanks, picked up 3 changes from here already... will test them out soon!
So, I have checked out several XDA threads on this Xiaomi device (tissot) and I think it is going to help quite a bit with the A/B issues.
I am still, unfortunately stuck on getting TWRP to boot. Boot.img compiles fine and I can extract it and see TWRP has replaced stock recovery in the ramdisk, but it will not boot into recovery.
Ideally, we need a way to boot a TWRP image without flashing anything... easier said than done with devices that have recovery baked into the boot image. But once that works, we can extract just the ramdisk from my build and write a script to patch it into the stock boot image from the temporary TWRP running on the device.
Progress! New TWRP thread coming soon...
BTW, there is still a long way to go here... this was just a rudimentary test to get TWRP to boot. Need to start totally fresh with partitions before there is any attempt to actually use it!
Also -- my build environment is a total cluster after weeks of messing around. I need to wipe it and start over. That alone will take me a few days, and TWRP might take a few weeks more.
Incredible! Looking forward to having a custom recovery!
mightysween said:
Progress! New TWRP thread coming soon...
BTW, there is still a long way to go here... this was just a rudimentary test to get TWRP to boot. Need to start totally fresh with partitions before there is any attempt to actually use it!
Also -- my build environment is a total cluster after weeks of messing around. I need to wipe it and start over. That alone will take me a few days, and TWRP might take a few weeks more.
Click to expand...
Click to collapse
I hope later we can flash the Android One firmware on the retail Moto X4, I supose that OTA update will not work but at least we will have the lastest updates if someone make a flashable version
f3r.and0 said:
I hope later we can flash the Android One firmware on the retail Moto X4, I supose that OTA update will not work but at least we will have the lastest updates if someone make a flashable version
Click to expand...
Click to collapse
At the very least, we have the ability to create "nandroid" style backup from A1 device. Theoretically, that could allow anyone to install it...
But yes, in the long run, hopefully the actual firmware is released
mightysween said:
At the very least, we have the ability to create "nandroid" style backup from A1 device. Theoretically, that could allow anyone to install it...
But yes, in the long run, hopefully the actual firmware is released
Click to expand...
Click to collapse
Doesn't the nandroid (or for that matter Flashfire) backup contain personally unique identifiers?
DiDGR8 said:
Doesn't the nandroid (or for that matter Flashfire) backup contain personally unique identifiers?
Click to expand...
Click to collapse
Yes, technically... obviously would need to start with a fresh system and limit to non-data partitions.
No one needs to restore someone else's apps... just their boot/oem/system_image
mightysween said:
Yes, technically... obviously would need to start with a fresh system and limit to non-data partitions.
No one needs to restore someone else's apps... just their boot/oem/system_image
Click to expand...
Click to collapse
This just came to my mind, since this phone has 2 partitions for boot etc. --
Code:
mmcblk0p44: boot_a SIZE:65536 blocks
mmcblk0p45: boot_b
can't we make backup of boot_b ? it will be same as boot_a but unmodified i think ? i mean, use magisk/cf-autoroot/whatever to gain root on boot_a. and make backup of boot_b. so in case if we want to receive update, just restore back boot_b.img to boot_a slot and update through ota ? that way we can practically make full backup which is unmodified. ofc this is until we have fastboot image available and working TWRP.
also it seems all x4's are having same kernel according to this thread. although their build time is different.

Question Anyone willing to try a GSI?

I wonder if we can get a GSI working! Anyone wanna try?
I'd love that. But I'm not seeing much love for many Moto phones. Mostly because those that get Moto are happy with what they get. And most devs don't bother with budget Moto.
Even with my limited time, I was considering to see if I could learn how to build port for a ROM. But without a recovery I thought it be best to flash stock, root and try to costumize it. Replace the apps I don't want with alternative. I already use Samsungs Internet in as Chrome replacement. Tho I do have a full set of browsers depending on what I'm gonna do.
That said, I did look into a TWRP.
Okay, so, our Moto G Play (2021) has same chip as the G10, E7 Plus and Lenovo K12 although with 1GB less RAM and half the storage. E7 Plus has no TWRP or ROMs yet, nor the G10, naturally, since it just released. The K12 however, supposedly have a working unofficial TWRP. But since I've only come across it on a handful of sites I have not experience with.
IS unofficialtwrp(dot)com legit? Cause there's a guide there for the Lenovo K12 that has the files for it. I mean, I have multiple devices that run with "unofficial" TWRP, but since I got them here, I always though it was some local dev that made it and share it. Never thought there was a website that was grouping them all. If it was here, I'd had no doubts. But here, the K12 hasn't even pop up.
I have consider trying it out. But flashing has because such a hassle with some phones not in the mood for trail and error 10 times. Between verity, stabs, vbmeta and where what flashes. My previous device was a V40 that not one single method worked for fully setting up the phone without breaking something. Had to mix and match like 3 guides. I don't know, maybe my device had issues. I'm grateful for 9008 + QFIL and its partition manager.
Thinking of first trying to replace my V40 battery. (Bloated so bad 3 sides are already separated of the back cover) And if all goes well star using the G Play as guinie pig.
I could try, if you could send the link
Omizuke said:
I'd love that. But I'm not seeing much love for many Moto phones. Mostly because those that get Moto are happy with what they get. And most devs don't bother with budget Moto.
Even with my limited time, I was considering to see if I could learn how to build port for a ROM. But without a recovery I thought it be best to flash stock, root and try to costumize it. Replace the apps I don't want with alternative. I already use Samsungs Internet in as Chrome replacement. Tho I do have a full set of browsers depending on what I'm gonna do.
That said, I did look into a TWRP.
Okay, so, our Moto G Play (2021) has same chip as the G10, E7 Plus and Lenovo K12 although with 1GB less RAM and half the storage. E7 Plus has no TWRP or ROMs yet, nor the G10, naturally, since it just released. The K12 however, supposedly have a working unofficial TWRP. But since I've only come across it on a handful of sites I have not experience with.
IS unofficialtwrp(dot)com legit? Cause there's a guide there for the Lenovo K12 that has the files for it. I mean, I have multiple devices that run with "unofficial" TWRP, but since I got them here, I always though it was some local dev that made it and share it. Never thought there was a website that was grouping them all. If it was here, I'd had no doubts. But here, the K12 hasn't even pop up.
I have consider trying it out. But flashing has because such a hassle with some phones not in the mood for trail and error 10 times. Between verity, stabs, vbmeta and where what flashes. My previous device was a V40 that not one single method worked for fully setting up the phone without breaking something. Had to mix and match like 3 guides. I don't know, maybe my device had issues. I'm grateful for 9008 + QFIL and its partition manager.
Thinking of first trying to replace my V40 battery. (Bloated so bad 3 sides are already separated of the back cover) And if all goes well star using the G Play as guinie pig.
Click to expand...
Click to collapse
I tried it booting wise and tried to backup booting itself worked perfectly but I wasn't able to properly test backup and restore because I didn't have enough storage...
I've been trying. I did see a thread about repacking due to storage space necessary for unlocking rw on the system partition. Whcih GSI were you able to boot?
stoag said:
I've been trying. I did see a thread about repacking due to storage space necessary for unlocking rw on the system partition. Whcih GSI were you able to boot?
Click to expand...
Click to collapse
Late and not OP, but I was able to get phhusson's ROM booted with gapps. The secure version does not work, I guess because it uses vndklite and I have not taken steps to unlock r/w.
Update: I got the secure version working! I Needed to flash vbmeta.img
I followed these instructions... https://forum.xda-developers.com/t/guide-phh-gsi-flash-aosp-12.4328891/

Categories

Resources