yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DiDGR8:
The modified boot img seems to be hard failing to function correctly. The un-modified one seems to be working, but "soft" failing.

I've kind of decided that they just run a checksum on the system.img but I don't have any evidence. I don't know anybody having trouble that hasn't rooted and root places the su binaries in system right? The factory images that we currently have are either A1 devices backed up after rooting or the US retail (and now apparently Amazon). The OTA update seems to be designed specifically for the A1 only, so maybe it's just as simple as they check the MD5 checksum on /system and if it doesn't match, they fail it.

If we knew exactly what the root process puts in /system, can we boot with root, delete those files and THEN backup? Then we could restore /system to "factory" A1 maybe.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kraatus90:
That's partially true for this phone as well as any A/B partition supported phone.

You can extract system.img/boot.img on pc and see alot of init.xxxx.rc files and even verity_key which were previously in boot.img (in other moto phones) are now in system.img. so i think there's something going on with cf-autoroot. iirc it moves alot of init.mmi.xxx.rc to some other folder inside ramdisk, but since boot.img doesn't contain those files, restoring boot.img doesn't solve that problem.

or maybe i'm thinking too much and its something else as you said, the wait is killing me lol, hopefully i'll get my x4 soon.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Many thanks to [MENTION=4825505]kraatus90[/MENTION] for pointing me to this, and saving me from re-inventing the wheel :)

https://github.com/kraatus90/Moto_X4_kernel/commit/b9c958e10ea0caaf516fce4e01e16237d9b261b4

Still chasing down compile issues... most of which were caused by typos/whitespace issues in my cobbled-together device tree. Right now, working on this one:

UPDATE: figured it out... was using Python3 and these build tools require Python2

This being the part of check_radio_version.py that is throwing a syntax error:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
With TWRP one step from viability, thinking ahead... next major hurdle for custom ROM development is figuring out proprietary vendor files.

I have never attempted this from scratch, and the only method I can think of is to build a ROM based on a similar device, install it, logcat all of the errors and chase down potentially hundreds of errors line by line to find what is missing.

Does not sound fun or easy. :)

Any other ideas?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Twski:
The last link, which I would guess that has the complete sources, is broken.

From the docs partition list, there's no vendor_a / vendor_b partition. If there's really none, it probably means the X4 won't be compatible with Project Treble :(
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
Oreo changes partition scheme.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Yes, my understanding is that 8.x update will provide new GPT and partition structure just to frustrate all of us who are trying to figure out 7.x ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
No one get too excited but this just happened. Compiled Lineage 15 with recovery. Nothing works, but a good starting point... a LOT to be done, but nothing that seems insurmountable.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] forbidden8:
Will came time to be excited. When phone goes old and no more updates comes, custom roms will be the best opportunity. Anyway, great effort and keep up.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
OP updated with link to work on proprietary vendor blobs...

Camera alone has something like 400 dependencies... unreal!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pietpietersen:
z2 force, which came out 1 or 2 months before x4, won't get treble... so x4 probably won't either.. unless we're lucky.

source: https://forums.lenovo.com/t5/Moto-Z-Force/Project-Treble-Oreo/td-p/3899680
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Out of curiosity, is there anything people with minimal mobile coding knowledge can do to help? Whenever my phone decides it's time to get the Oreo OTA, I'm going to try to capture the zip for you, but is there anything else that can be done in the meantime? I'd love to be able to help, just don't know how to get started or what you need.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
[MENTION=3683732]mightysween[/MENTION] so I got my OTA today. I haven't downloaded it yet, but I think I have the payload. Does this look like something you can use? I can't post pictures, but if you put lWKb8lS.png after an imgur base you can see the photo of the contents of the .zip. Got that from the logcat, in this object: 01-03 17:30:52.851 22379 22379 D CdsService: success response : {"proceed":true,"context":"ota","contextKey":"moto x4","content":null,"contentTimestamp":0,"contentResources"

It's ~1.1GB, if you want it shoot me a message and I can upload it somewhere for you.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Thanks, I have the payload.bin file... just can't seem to unpack it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Interesting. How is the file usually encoded, a compressed zip folder? Is it usually encrypted?

EDIT: Double post.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ebrandsberg:
Would having multiple payloads help to determine if they are actually encrypting the payload for transfer? I'd be surprised, but if every person gets a different payload, it would be a big clue that there is something more going on.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
That's a good idea. I'm re-downloading on my home PC so I can do some more looking, I'll post the MD5 once I get it downloaded/extracted.

EDIT:

My md5sum for the file I downloaded is 5311A7B001A5D08BC0817782C0D06F1F (renamed to update.zip if it matters)

The md5sum for payload.bin is A1AC1CEEEC3A37850D4B7FF018783C40

EDIT 2:

I'm just rambling here as I look through stuff. It's interesting, there are two signature files (.sf) inside the META-INF folder. These give two different SHA-256-Digest values for the file.

MANIFEST.SF:

Name: payload.bin

SHA-256-Digest: tDb2CPQd+5M7FIhKvM9nAIFGvpSn70S04CtDIlrk+GE=

CERT.SF:

Name: payload.bin

SHA-256-Digest: LEErlpjSmUJYw43aDCdhsaAXcS2/HWuenjZaL+JeHVI=

I wonder if it IS encrypted using the included CERT.RSA file. I'll see if I can dig up my GPG program and if it'll decrypt.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ebrandsberg:
A jar file (Java Archive) often is checksumed via the manifest, so this is likely just a corruption check. I just did an independent download with a new image, and the results are in--the files are identical:

# md5sum *

5311a7b001a5d08bc0817782c0d06f1f Blur_Version.26.61.47.payton_fi.google_fi.en.US.zip

5311a7b001a5d08bc0817782c0d06f1f newOreoDownload.zip
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Ah, that makes sense. The checksums you provided are interesting. Is the Blur_Version one the payload.bin, and the newOreoDownload the OTA zip? I know I'm taking time away from your analysis, so feel free to just ignore me until you have time.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ebrandsberg:
No, both are the full zip archive downloaded directly from Motorola, one by the first person to capture it, and the second (newOreoDownload) was by me. If there was any variability in the content of the files, the hash would be different. This confirms that the archives aren't being encrypted on a per-individual basis at least, so everybody is getting the same file. This is the limit of what I'll likely do today, I just wanted to remove variables that may explain why it was hard to unpack and decode everything, so everybody else could focus on the stuff they know how to do.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Oh, right I didn't think about the fact that changing the payload would change the entire zipfile, duh. I'm still looking, but chances are I won't be able to figure anything out, I'm coming at this from a sysadmin background, I have minimal reverse-engineering experience. But it's interesting to look at. Hopefully someone smarter than me can figure it out.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
.bin is basically an image file. In the past, I had been able to use tools to convert it to a mountable format... there's obviously a way to do it since it works as an OTA so I just need to find the right tool/command
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Jonas Uliana:
Freezed bootanimation

After the second method, the boot feeze on bootanimation, and the same is rappening on the first method.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
I found this through #lineageos-dev:

https://github.com/gmrt/update_payload_extractor

You might have to install python-protobuf and python-lzma to get it work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] izzyfanto:
So would someone be kind enough to explain to a nondev why there is no Treble support? From all the threads I've read on XDA and else where, the main requirement for Treble is A/B partitioning which we now have with 8.0. I've read the official documentation here https://source.android.com/devices/tech/ota/ab/ as well, yet I'm still confused.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
In a nutshell, partitions. Our device is non-Treble, so we would need to find space on another partition to place vendor... not easy, but theoretically possible on /oem.

Stay tuned
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] izzyfanto:
Roger that, thanks for the reply and your hard work!! :good:

So /vendor contains all the proprietary Moto stuff like the camera and actions ect? What's /oem?

Can Moto make this device Treble in a future update by moving /vendor themselves?
[Xperia Z4 Tablet General] trevorcobb:
Available here if anyone wants to grab it: https://mega.nz/#!FkpzCAgK!WTx63WlIpGd6JHjWvBj3BaAmPLjY1ditidCRY7NGNds
[Xperia Z4 Tablet General] quakteng:
Thanks bro
[Xperia Z4 Tablet General] quakteng:
Bro i got the Wifi version 712.

Can create another for Wifi Version?
[Xperia Z4 Tablet General] cloud_9:
Guys,

need help here, already download the FTF file from source above, but when i use flashtool, the FTF file doesn't show up in the source folder's field. actually, the FTF file is in that folder. but in flashtools, the file isn't there..

anybody experience this? please advise..
[Xperia Z4 Tablet General] Diomorgan:
How did you root it? Thank you
[LG G2 Mini] Boki11111:
Extracted from the L90 Slim Rom

(Look similar as Pixel launcher, have more customization)
[One (M8) Q&A, Help & Troubleshooting] Z9R:
Okay, so I have the old cmod and I would like to know my choices. I'm looking for the fastest, highest performance ROM for my HTC one M8. Can anyone help me?
[One (M8) Q&A, Help & Troubleshooting] maultasche:
You have to find the ROM which suits you the most. It would not help you if everyone posts something different now. It's a hassle setting everything up but you have to deal wth that.

You didn't even state if you want to stay on stock or not. Since you want high performance it's better to stay on stock. You could try S-Rom JW-Version 5.4 or Leedroid. But you got to test test these ROMs for yourself.
[One (M8) Q&A, Help & Troubleshooting] Z9R:
I can't get stock back.

So basically, around two years ago, I installed CyanogenMod on my phone. I lost it and found it just the other day. So I now have to do some research on all of my options since I heard that CyanogenMod is obselete. ? And I would like to thank you for suggestions.
[One (M8) Q&A, Help & Troubleshooting] Phalangioides:
CyanogenMod has evolved into LineageOS.
[One (M8) Q&A, Help & Troubleshooting] mikeataol:
I found an earlier version of this AICP rom Nougat to be very good (later versions have a nagging SD card issue)

aicp_m8_n-12.1-RELEASE-20170909.zip

https://xdaforums.com/showpost.php?p=73728694&postcount=690
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] HunterKiotori:
Hello everyone, I was wondering what is the best (in terms of most current and most functioning) Note 7 Rom Port for our device? Right now i am using TWIZtd DeVELOPMENT N7 port as my daily but my Bank app does not work on it. the reason i ask, is because despite all my searching and reading it's 10-29-17. a lot of stuff is old. now is the time to ask for opinions and see if any of you have a good note 7 port up your sleeves i can use.
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] GuestK00224:
I suppose there is blackdog and ManuN5 Astra Pro.
[Google Pixel 2 XL Questions & Answers] painfree:
I think I am having problems with my Pixel 2 XL as I just had 9% battery and went to charge it for 15 minutes but I forgot the time and went after about 35 minutes and I looked and it was 14% and said 6 hours to complete? Also the phone does not work on the double tap to wake and listen for song feature. I am a bit concerned here and seeking advice from you experts. Actually I just tried to restart charge and it says 1 hour 16 minutes till complete??
[Samsung Galaxy Note 8 Questions and Answers] myechophone:
Is there any app which can allow me to disable start-up of apps on our note8?? I have a us unlocked version. Thanks.
[Samsung Galaxy Note 8 Questions and Answers] whiteangelcl:
There is an app called Startup Manager.

[Sorry I can't post Links]
[Samsung Galaxy Note 8 Questions and Answers] myechophone:
Ok. Thanks. Have you tried that?
[Samsung Galaxy Note 8 Questions and Answers] exmeaguy:
Startup manager would not work for me on the Note 8, so I replaced it with an app called Auto Start that works and has a simple design.
[Samsung Galaxy Note 8 Questions and Answers] ogretech:
I use All-in-one Toolbox. It works great.
[Galaxy S6 Q&A, Help & Troubleshooting] mvsn:
Hello everyone,

im fairly new to samsungs but familiar with other devices. Recently I picked up an S6, SM-G920W8 with 7.0 pre-installed.. (DQG1).. I have been trying to downgrade the firmware but it seems that it cant be done due to restrictions put in place. I already carrier unlocked the phone but that is about it.

My question would be, has anyone successfully rooted one of these without tripping the knox sensor? could someone point me in the right direction?

Thank you so much for your time
[Samsung Galaxy J7 Questions & Answers] jaydriod26:
What roms i can install on j727p boost mobile
[Samsung Galaxy S8 Questions and Answers] kb2uet:
I've used this on my many Galaxies in the past. So i'm not new to this.

I set Custom so my Fam and alarms work normally.

For some reason WhatsApp always vibrates no matter what.

Whats wrong?

thnx in advance
[Samsung Galaxy S8 Questions and Answers] Morodin:
Turn off 'Ignore Do not disturb' setting

WhatsApp has an 'Ignore Do not disturb' setting that that is on by default for some strange reason.

To turn it off go to:

1. Settings...Apps

2. Select WhatsApp

3. Tap 'Notifications'

4. Tap 'Group notifications'

5. Turn off 'Ignore Do not disturb' setting

6. Tap back

7. Tap 'Message notifications'

8. Turn off 'Ignore Do not disturb' setting

9. Have a undisturbed (by WhatsApp) nights sleep
[Samsung Galaxy S8 Questions and Answers] skyraven83:
No such option here on Lineage OS 6 (Android Pie) and both Telegram and Whatsapp (might be other apps as well) seem to have no problem in ignoring DND and vibrating.

Same problem as Op.

I went into Settings -> Apps -> Whatsapp -> Notifications and the option listed above "ignore DND" does not exist.

Any other hints as to what might be causing this or a fix?

It is rather annoying :(
[Samsung Galaxy S8 Questions and Answers] vincent.jm:
Hey guys

So my dumb ass installed a custom status bar (substratum), and I had a navbar overlay installed. After a reboot I just get the "System UI has stopped" error. Black screen, can't get anywhere.

Any way to manually delete it? Hoping to not having to do a complete reset, since well... a lot of stuff is on there... And I need my phone tomorrow...
[Samsung Galaxy S8 Questions and Answers] Fischer_1:
This exact problem has happened to me.. I keep a spare backup in hand. Sucks to learn the hard way but you gotta reset the device. There may be a way if you can locate the substratum apks that are giving you issues and to uninstall them, you may want to do some research about if that is possible.
[Samsung Galaxy S8 Questions and Answers] crayonyes:
reboot to safe mode,

open settings / apps > search apk name (usually android.Subsname... or com.android.systemui.Subsname.... ) and uninstall,

reboot.
[Samsung Galaxy S8 Questions and Answers] vincent.jm:
Safe Mode doesn't do me any good :/ Just crashes like the regular mode
[Off-topic] Harindu.J:
Ive find this intresting skateboard

Pretty amazing i think its a good product what do you think if anyone has used it please let me know ?

https://www.facebook.com/Gadgets.Launch/posts/10155810693574555
[Android Apps and Games] vladon784:
New Time Killer Game is released!

The heigher you get, the more difficult game is!

Try to avoid as many obstacles as possible by jumping.

Guns and thorns will try to tear you into pieces, don't let them!

Bounce, jump and dodge: everything in this arcade Game.

Collect the coins to unlock all balls.

Game Features:

• Free to play

• Simple control: Jump Left or Jump Right

• Time killer

• Unlock Balls!

Play Google: Flatump
[ZTE Axon 7 Questions & Answers] sonic1337:
Hello Experts. I am currently having an issue with my Zte axon 7 or ZTEA2017U as the back says. I was using the AXON7TOOL and I used the unlock boot loader feature and it unlocked to boot loader then I choose root and it rooted it but now it does not boot up! It says "Your device software can't be checked for corruption. Please lock the bootloader." "If no key pressed your device will boot in 5 seconds" and it never boots up it shuts down and does it all over again. SOME PLEASE HELP IM PANICANING. IF U NEED ANY MORE INFO TO HELP PLEASE COMMENT! its running Android 7.1.1 Nougat I also tried Factory Reset and Wipe Partiton and that did nothing.
[ZTE Axon 7 Questions & Answers] Choose an username...:
Oh god don't panic. Do NOT lock the bootloader though!

When that screen shows up, hit the volume down button and select 'recovery', then hit power. It should boot up on the recovery. Three things might happen:

a) you will boot into TWRP, in which case the fastest way would be to install Lineage or a Lineage based rom. If this happens download a LOS-based ROM, and also the Universal Bootstack and A2017U modem, then put them on the phone, wipe system, data and cache, and install all 3

b) you will boot into the stock recovery. if this happens you'll need an SD card (4gb or more), you simply put an official A2017U update.zip there (tell me if this is your case and I'll see if i can find a link)

c) your phone will simply reboot, in which case you might need to use MiFlash
[ZTE Axon 7 Questions & Answers] sonic1337:
When I goto Apply Update from SD card it says "Sorry,you can't sdcard upgrade" im not sure if that normal

I GOT Option B btw and I do have a 4gb sdcard in currently
[ZTE Axon 7 Questions & Answers] bkores:
This is not good. It can't be dm-verity because the toolkit disables it when rooting. It has to be a problem with the new version of SuperSU. I'll downgrade it when I get the chance. Thank you for bringing this to my attention.
[ZTE Axon 7 Questions & Answers] Choose an username...:
2.79 always works, though it'd be best if you just added magisk 14
[ZTE Axon 7 Questions & Answers] sonic1337:
Ok I was lucky enough it get TWRP on it so what do I do now? I was able to flash it with miflash. I also cleared the entire phone so now it says no os are you sure you want to reboot? So how can i install the Operating system. Sorry for all the hassle this is my 2nd android device i'm used to apple and the easy jailbreaks and restores. Can I have the download links to the things I need to get cause I don't have a clue what to look for. I really shouldn't have done this for being such a noob. XD
[ZTE Axon 7 Questions & Answers] bkores:
[MENTION=8682974]sonic1337[/MENTION] I downgraded the SuperSU version. The root option should work now without issues.
[ZTE Axon 7 Questions & Answers] sonic1337:
Thanks for downgrading it but my phone no long has an os on it so I cannot us the root anymore I need to know how to reinstall it. If you can help me with that I can try it again.
[ZTE Axon 7 Questions & Answers] Choose an username...:
i don't get why you wiped the entire system clean but okay lol

get DrakenFX's TWRP-flashable stock system zips for the A2017U (be SURE they are for the A2017U).
[G 2014 Q&A, Help & Troubleshooting] Angel064able:
Can someone provide me with the oxygen os? Would be perfect if it was flashable!

Thanks un advance.
[Mogul, XV6800 ROM Development] moramajama:
For all the talk about upgrading the ROM lately (still hoping the new official one comes out soooon), I was wondering if anyone had given any thought to replacing the external speaker (on the back) to get a higher volume. Does anyone think this might be possible?
[Mogul, XV6800 ROM Development] sovrce:
Also interested in this. Not so much an 'AudioPara' tweak, I'm already working with DCD's 2.10/3.27 so the volume has been modified already. I'd just like to know you can make the external speaker any louder, for videos and other media.
[Mogul, XV6800 ROM Development] teknixxx:
I'm interested in this as well... I came from an LG VX8100 that had the stereo speakers on the side. This phone's speaker has been a very big let-down.
[Mogul, XV6800 ROM Development] nosmohtac:
Have you guys tried the SRSWOW.cab file that's floating around the net?

I had to put the SRS settings as headphone to notice a big difference, but the volume is way better and not distorted or crackling.
[Mogul, XV6800 ROM Development] sanjsrik:
I've done a search on srswow.cab on google and came up with nothing. any pointers as to where to look would be most appreciated.

BTW, I'm using the audiopara editor from neu and it's good but just undocumented so it's hit or miss, if you turn the settings up too high you can fry your speaker, the feedback on just a little bump on the sliders was amazing, plus it making the sliders higher makes picking up the background noise in a call so you can't hear the other pserson a big possibility.
[Mogul, XV6800 ROM Development] rbadh91:
SRSWOW

Is this watcha talkin bout??
[Mogul, XV6800 ROM Development] sanjsrik:
thanks, where'd you find the file?
[Mogul, XV6800 ROM Development] sanjsrik:
opens the program and comes up with an error message that there is no SRS driver loaded, the program will not exit.
[Mogul, XV6800 ROM Development] dahlem:
Error

Same here . . .
[Mogul, XV6800 ROM Development] rbadh91:
im flashing my fone rite now...lemme finish it and see if i get that error...i just had it laying around in my Collected Cabs folder
[Mogul, XV6800 ROM Development] dahlem:
Reset . . .

Just do a reset then it loads fine . . .
[Mogul, XV6800 ROM Development] meccanoble:
waiting to see how you guys feel about this update. Better speaker volume is a fantasy, although GPS and rev A are a dream to me but I hear they are available and I'm working on making dreams come true :)
[Mogul, XV6800 ROM Development] rbadh91:
it runs fine on mine...i just cant test it rite now...at work :( lol

will test when i get out and report in quality/sound levels
[Mogul, XV6800 ROM Development] sanjsrik:
restarted, it works fine, again, can't test it unless someone calls me.

is there any documentation on this thing?
[Mogul, XV6800 ROM Development] rbadh91:
i found a website showing the d/l location and etc with other ppls comments; but no luck at srslabs.com either

http://www.freewareppc.com/multimedia/srswowhd.shtml
[Mogul, XV6800 ROM Development] ganjah:
Will this have any impact on the internal speaker? I find the volume to be exceedingly low, even at full volume, when taking a normal call on the phone, not on speakerphone.