yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] yldlj:
The easiest way for someone who doesn't want to take the time to learn how things work would be to download this Nougat RUU

https://androidfilehost.com/?w=files&flid=241133

To flash RUU:

Rename the file to 2PS6IMG.zip

Place on Ex SD CARD

boot to download mode

Press vol up to flash.

RUU will erase internal storage. Once RUU has flashed boot your phone and take the OTA to OREO. After your phone has taken the OTA flash the latest twrp then flash leedroid Oreo ROM.

The reason I suggest this way instead of flashing firmware is because your going to have to wipe data anyway and by flashing an RUU you have a clean start.
[HTC 10 Questions & Answers] Rammen44:
Hi, thanks for the advice. The issue I'm having is I don't have access to an SD card so I'm trying to flash via ADB sideload in TWRP however I'm now met with zip file invalid in TWRP.
[HTC 10 Questions & Answers] yldlj:
You can't flash it with twrp. You can use htc_fastboot and flash from RUU mode.
[HTC 10 Questions & Answers] Rammen44:
Awesome okay, so I've booted in RUU mode however on the command prompt when I try to flash I'm met with target reported max download size of 157920000, invalid sparse file format at header magic. Can you advise?

Again thanks for the help

Edit: Screen grab of the error I'm met with https://imgur.com/a/WtP5wsq
[HTC 10 Questions & Answers] yldlj:
You need htc_fastboot
[HTC 10 Questions & Answers] Rammen44:
How do I go about getting htc_fastboot?
[HTC 10 Questions & Answers] yldlj:
Use the thing called google. Better yet just get a SD card
[HTC 10 Questions & Answers] Rammen44:
Hi never mind I'm in Fastboot now, I'll try install the zip above
[HTC 10 Questions & Answers] Rammen44:
I'm sorry about the questions,.
[HTC 10 Questions & Answers] Rammen44:
Thank you for your help!

If anyone wants to know what I did to get back to stock so I could download Oreo

Downloaded Fastboot/ADB(Use this guide) https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378

Enabled USB debugging on the phone

Download HTC_Fastboot (Google it)

Download the Zip yldlj posted (Only if you are the same CID as me, the check this go onto the app store and find CID checker and then look on XDA for appropriate zip)

Put the download zip into the same folder as ADB/HTC_Fastboot/Fastboot folder. Rename it ota.zip

In the folder where you've extracted the ADB/Fastboot/ hold Ctrl Shift Right click open command window here

Connect your phone via USB

Set your phone onto download mode

From there I used the command htc_fastboot oem rebootRUU

Once loaded into RUU Mode use the command htc_fastboot flash zip ota.zip

Once that was complete I was back to stock Android N which then enables me to update to Oreo

BANG

Fixed

Thank you everyone for your help. If you get stuck I'll try my best to help you
[HTC 10 Questions & Answers] yldlj:
Glad you sorted it :good:
[HTC 10 Questions & Answers] Ahmed Xperia p:
will it work on S-On too?
[HTC 10 Questions & Answers] Mr Hofs:
Yes a signed ruu will work with s-on.
[HTC 10 Questions & Answers] Ahmed Xperia p:
i'm S-on and currently on leedroid. Sprint HTC10

Can i downgrade to Nougat this way since AFAIK it's not possible with S-on?

thanks and sorry for too many questions
[HTC 10 Questions & Answers] Mr Hofs:
1: you need the ruu that matches your main version OS which can be found in the download mode

2: if you are on leedroid oreo means you have a oreo firmware and in that case you can not "just" flash a nougat ruu. Check the guides section, there is a downgrade dedicated thread with all the needed information
[Windows 10 Mobile Apps. and Games] EP1CNESSHD:
Try it out today! (There's an 7 day free trial): https://www.microsoft.com/store/productId/9NNZQ38B48ZJ

Edit: The app supports PC and Mobile now!
[Windows 10 Mobile Apps. and Games] Ani64:
Cool

I love the design. Thanks for your hard work. Keep making such nice apps
[Windows 10 Mobile Apps. and Games] EP1CNESSHD:
My pleasure :)
[Windows 10 Mobile Apps. and Games] EP1CNESSHD:
By the way: The designer's Twitter is [MENTION=1185576]navarro[/MENTION]_mael

You should definitely check his account out for more beautiful designs.
[Windows 10 Mobile Apps. and Games] Ani64:
Nice

Yes, I visited his account. Thanks btw
[Windows 10 Mobile Apps. and Games] augustinionut:
What s the use of this app?
[Windows 10 Mobile Apps. and Games] EP1CNESSHD:
Forces you to write even when you have writer's block.
[Windows 10 Mobile Apps. and Games] EP1CNESSHD:
Things have changed. Read first post again.
[Samsung Galaxy S9+ Questions & Answers] MobFreak2799:
Is 4x4 mimo enabled or disabled by default on exynos s9?
[Samsung Galaxy J5 Questions & Answers] Deleted member 7173881:
Hi

I know there are a lot of ways to bypass FRP(Factory Reset Protection).I have done Hundreds.

But Can anyone please tell me how to enable/re activate it?
[Samsung Galaxy J5 Questions & Answers] HarizNaim:
Disable OEM Unlock in Developer Setting.
[Samsung Galaxy J5 Questions & Answers] Deleted member 7173881:
Thanks for the reply.

It does not work.Enabling or Disabling OEM Lock has no effect on Frp.

For Proof,I have OEM Lock enabled on my J500f but still there is no Frp.
[Verizon Samsung Galaxy Note 8 Questions & Answers] nano303:
Just wondering because I will be updating to oreo when I get home the Verizon one but I'm using tmobile service. Or should I just Odin the unlocked oreo one?
[Verizon Samsung Galaxy Note 8 Questions & Answers] Slicc98:
I just got a Verizon SIM and put it in my phone and left it dormant. OTA update popped up in about an hour. Downloaded and installed, then switched RIGHT back to the Magenta Mobb. No issues.
[Tilt, TyTN II, MDA Vario III General] ratzz:
Hi all,

Second post of the night!

Can someone tell me where the event sounds are stored?

I've looked in Windows etc.., but cant find any.

Thanks again,

Ratzz
[Tilt, TyTN II, MDA Vario III General] Geo_Ros:
They sure are in the windows folder:)

I've add some sounds to the Windows folder, and they automatically show up at the drop-down list at event sounds.
[Tilt, TyTN II, MDA Vario III General] ratzz:
Thanks buddy, just tried and it worked!

Just wondered why I couldn't see any?!?

Anyway, problem fixed, thanks again.
[Tilt, TyTN II, MDA Vario III General] Geo_Ros:
Can't explain that either..

When I go to the file manager, I can see all those sound-files in the windows folder

Maybe you've a newer ROM or something, and are those files changed into hidden files or something like that:p
[Moto G5 Plus Questions & Answers] Fagnerasp:
Good afternoon guys, I'm new to the forum and would like to ask your help.

I am with a Moto G5 xt1762, which is giving bootloader error. It does not leave this screen, and displays the following message.

Start Up Failed:

Your device didn't star up sucessfully.

Use the software Repair Assistant on computer to repair your device.

Connect your device to your computer to get the softare repair assistant.
[Moto G5 Plus Questions & Answers] bazinga137:
Hold up, these are Moto G5 Plus forums, you say you have a G5, and "xt1762" is Moto E4. So which is it :confused:

Regarding the error, it seems like it's bricked, can you access recovery/bootloader? Does the phone have an unlocked bootloader, root or twrp?
[Android Apps and Games] nikolas17:
MOD Edit:- Links Removed (Top 10 Android games)

Some of these games are pretty good. What do you think the best games are for Android?
[Android Apps and Games] SacredDeviL666:
Thread closed.

Thanks

SacredDeviL666

Forum Moderator
[Xiaomi Redmi Note 4 Questions & Answers] CmDaRkShAdOw:
I have a problem. In miui 9 I can't grant "SmartWear" permissions to apps like Camera extension on Sony SmartWatch 2. Because of that I can install these apps but they don't appear on SmartWatch. What can I do? On aosp based roms everything working perfect.

Ps. Sorry for bad English.

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka
[Xiaomi Redmi Note 4 Questions & Answers] CmDaRkShAdOw:
B

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka
[Xiaomi Redmi Note 4 Questions & Answers] CmDaRkShAdOw:
Bump

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka
[Nexus 5X Q&A, Help & Troubleshooting] Xaph0d:
Nexus 5X, Stock 8.1.0 with security patch level 5 April 2018.

If I make or receive a call, the other party cannot hear me, my voice is severely muted and garbled. I've tested this by leaving messages on my home phone and all suffer from exactly this.

Now the microphone itself seems to be fine - WhatsApp voice messages are perfectly clear, I installed a voice recorder app to check and the recordings are good. Google voice searches also work fine.

I've done a factory reset. I've uninstalled updates to the Google Phone app. I've swapped SIMs. I've tried alternative dialers. I've turned on/off 2G /3G /4G. But my voice calls are always rubbish.

Anyone have any ideas as to what might be going on or suggestions as to what else to try?

Thanks!
[Nexus 5X Q&A, Help & Troubleshooting] PhilipL:
Hi

I'm just visiting here with the same problem. I've been getting complaints about call quality from my end for a little while and it's driving me mad trying to be heard, often it starts off okay, then degrades rapidly after a few minutes, other times its from the start of the call. I've done the same as you, the mic tests fine in other apps, and sometimes it works okay. I did a complete factory reset which did seem to improve things but the problems returned, and no, I hadn't added any apps in between it working and going back to being terrible.

I've also tested calling my home answer phone and leaving a message to see what people are complaining about, and it is just constant drop outs. This happens over Wi-Fi calling, and over the network (EE network/UK), so it's not a reception problem. I've also used a plug in headphones with microphone and it's the same problem.

I really didn't want to buy another device at this time, but to me it's looking like a hardware problem.

Regards

Phil
[Nexus 5X Q&A, Help & Troubleshooting] nadun92:
same problem

same problem bro . noise canceling problems ??
[Nexus 5X Q&A, Help & Troubleshooting] PhilipL:
Hi

Before I did the factory reset I had tried turning off noise reduction in the build.prop as recommended to try but it made no difference.

It sounds to listen too as though it's a faulty connection, and I'm thinking now this might be related to the reboot loops caused by connection problems, and this has the same cause, broken connections on the main chip. It's odd the sound is okay when recording sound or video, however that might simply be because the sound is being routed and processed elsewhere, and it's only when it's compressed for a call and routed via the Qualcomm modem that it's affected by a faulty connection. This would explain why sometimes for me it is okay, or starts of on a call okay then as the phone warms up the connection starts breaking.

Regards

Phil
[Nexus 5X Q&A, Help & Troubleshooting] PhilipL:
Hi

I've now upgraded to a Pixel XL 2 as I needed to be able to be heard on calls and the 5X was out of warranty and LG didn't want to know. I really didn't want to upgrade quite so soon. The XL with the same SIM card on the same mobile network is all good and everyone can hear me, plus I have the benefit of VoLTE.

I believe the microphone problem is hardware related, most likely the same cause as the boot loop issues where the CPU or board has some broken solder connections. It sounds like a broken connection, and explains why it has progressively become worse. It's a pain as usually when I upgrade my phone gets handed over to another family member, but I can't do that with the broken 5X.

Regards

Phil
[Huawei Mate 9 Questions & Answers] KitsuneUK:
Are there no working audio mods currently on EMUI8/Android O? Viper doesnt seem to work at all, neither does JamesDSP.
[Android Q&A, Help & Troubleshooting] smhzhl:
Hello Dual Sim Dual Active telephone proposal 2018 ?
[Android Q&A, Help & Troubleshooting] strongst:
Hello, please post your question only once and use existing threads like this one https://xdaforums.com/showthread.php?t=1620179

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
Update 2018-06-10:

See this thread for more up to date (and working!) development:

https://xdaforums.com/moto-x4/development/rom-lineage-os-15-1-t3802265

[MENTION=6298645]erfanoabdi[/MENTION], [MENTION=921457]munchycool[/MENTION], [MENTION=3683732]mightysween[/MENTION] did some heroic hacking and fixed the major blockers for this phone. I apologize if I missed anyone because either I missed their posts or I didn't match them up to their XDA login. Be sure to thank them when you see their posts. There is a booting lineage os rom in the thread above. Heed the warnings, it is still experimental, and will probably require a full wipe to get it to boot.

I will eventually merge my repos with the ones in the ROM thread.

Original post below:

First off, credit goes to [MENTION=2385005]invisiblek[/MENTION], [MENTION=3683732]mightysween[/MENTION], and [MENTION=4825505]kraatus90[/MENTION]. I used their repos as a starting point for guidance.

I am working on bring up and porting lineage-15.1 to the payton.

kernel

device tree

vendor files

So far, it builds without major errors.

Booting to the rom hangs at the boot screen.

Booting to recovery works (lineageos recovery), but not much else is working otherwise.

The vendor files are from the stock retail rom OPWS27.57-25-6-10. This is Oreo 8.0.

I haven't tried flashing the ROM through TWRP, just fastboot.

The build process produces a zip file with a payload.bin inside. You can extract it with payload.bin extractor. You might need to install python-protobuf and python-lzma to get it to work.

Change a/b depending on what partition is currently working and which one you don't mind overwriting. I'm not sure if this will interfere with stock updates, so you might want to make a back up first.

fastboot flash boot_a boot.img
fastboot flash system_a system.img
fastboot --set-active=a reboot

What you can do:

Look through the device tree and submit pull requests for fixes. Boardconfig.mk, device.mk, and proprietary-files.txt will need lots of work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
*reserved*
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Awesome work getting to this point.

I am still strapped for time, but out of curiosity does USB/adb come up in lineage recovery or during boot? That was what put the brakes on for me initially in my 7.1/14.1 based build attempt.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
No usb/ADB yet, but that is a priority so that we can start debugging and fixing things. I think I have to look over the init scripts.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
I had an init fix suggested by another dev for a similar device... never got to test it. Let me dig around in the threads and find it.

---------- Post added at 06:10 PM ---------- Previous post was at 06:04 PM ----------

Actually, looks like I did test it unsuccessfully.

Seems like idVendor and idProduct are not being properly set for different USB properties.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] steveeJ:
Great news, thank you already for putting effort into this :victory:

Regarding adb/USB. Both are working in the official TWRP for payton, mabye it helps if you take a look at their source code.

Cheers

Stefan
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] thetolsonator:
Super stoked to see the work being done for this phone. I bought it with the hopes that we'd see some decent ROM options come out of it. Subscribing for updates! You can do eet!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
... Than you... Thank you... Thank you for all of you that building lineage for Payton ( I have XT-1900-7 EU) ... I bought this phone phone also with the hopes that some one will build up Lineage for it...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ghost55:
Just got this phone. Really hope we get a stable version of this soon. Not sure how much I trust the manufacturer OS.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
trying to port LOS 15.1 to sony xperia xa2 i was hoping i could use some of your work but i see you have the same results. i can boot to lineage recovery, normal boot gets stuck on logo and fastboot boot boot.img gives me battery charging animation. maybe there's something that needs to be changed in init, boot.img from lineage works fine with aosp
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] QWZR II:
From another thread
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Didn't realize this... thanks, will take a look at the source.

---------- Post added at 02:11 AM ---------- Previous post was at 01:52 AM ----------

[MENTION=2790198]gee one[/MENTION] FYI, although 7.1 base, addresses are the same... manual rewrite solves idVendor/Product issue.

https://github.com/TeamWin/android_...ndroid-7.1/recovery/root/init.recovery.usb.rc

---------- Post added at 02:16 AM ---------- Previous post was at 02:11 AM ----------

BTW, totally different vendor/product addresses than I had arrived at... which probably explains why it works :)

The rest of the usb init seems pretty similar to where I ended up before. If it works in LOS recovery, it should carry through boot to give us some debug

---------- Post added at 02:56 AM ---------- Previous post was at 02:16 AM ----------

Any adb/debug from the XA2?

Obviously, we are going to face some serious kernel debugging...

Wonder if we can manually unpack/strip down/repack a boot.img that will at least get us into a position for logging.

---------- Post added at 03:03 AM ---------- Previous post was at 02:56 AM ----------

...may need to explore blacklisting/disabling peripherals to get to a basic boot state and bringup from there.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
adb is not working. on lenovo kingdom we have used /proc/last_kmsg after reboot to twrp to see what's going on

https://github.com/K920/android_ker...mmit/7551e6960c9bbe31824437f7ba40c87b53157f3e

https://github.com/K920/android_ker...mmit/a24c3085fb001cf0b81855770bf327d9b49b5b0f

EDIT: got logcat working. eng build, not userdebug.

1. unpacked lineage boot.img using https://github.com/xiaolu/mkbootimg_tools

2. unpacked stock boot.img prepatched with magisk, not sure if magisk plays some role in it

3. replaced cmd_line=... in in lineage img_info file with the one from stock boot.img

console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 buildvariant=user

4. repacked lineage boot.img

looks like i just need to fix the camera and add some *.so to continue boot process.

EDIT: missing .so's are there, in /odm/lib64. /oem in your case. i have tried to copy them to /vendor/lib64 and it helped a little
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
i'm an idiot, forget what i wrote up there. looks like the generated kernel is all wrong, it's only 10MB compared to the 47MB in stock boot.img. after replacing kernel in boot.img with the stock one it tries to boot, the lineage one won't even try
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Syncing fresh sources now, and will start working on this again soon!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
But is adb working during boot? If so, can you post the boot.img even if it is otherwise junk... I can't seem to get adb up during boot and it is really bugging me :)

---------- Post added at 01:47 AM ---------- Previous post was at 01:14 AM ----------

Out of curiosity, how much physical memory are you guys compiling with? I have jack configured, 8GB on a quad-core i5 system and I still needed to add an 8GB swap partition just to get through ninja!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
same here 8GB RAM and 16GB swap just to be safe.

stock sony ramdisk with working adb attached

EDIT: after hours of comparing lineage and stock boot.img all i have to do to get adb working on eng build is changing androidboot.hardware=pioneer to androidboot.hardware=qcom in img_info cmd_line='...

pioneer is a codename for sony xa2

BOARD_KERNEL_CMDLINE += androidboot.hardware=pioneer

changed to

BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom

in BoardConfig.mk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Seems to already be set to "qcom" on this device... I think we have some issues in usb init that need to be fixed.

Running a test build right now just to see where I stand with my new setup... new machine is on the slow side, but seems to be grinding along now after some memory issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Failing RIGHT at the end as it generates the payload file...

Reinstalled all build packages, re-synced... no luck yet. Anyone run into this brillo error?

It generates the entire system, userdata, cache, radio, boot, etc... but simply fails to pack it all into the payload in the final step. Frustrating.

UPDATE: Disregard. This is a disk-space error. Apparently LOS15 is more beastly than I thought...256GB partition seems a bit on the small side suddenly

UPDATE 2: Gave up, moving to a Google Cloud Platform build system... should have done it from the beginning :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Let the games begin!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Observations... the ZIP does flash in TWRP but breaks everything including the partition table. Ouch. :)

So, for now, extracting payload.bin is still best for testing...

I am going to fork gee-one and test a couple fixes for adb in both recovery and during boot. If successful, will pull req and maybe having those available will bring others on board to help with this effort

---------- Post added at 02:38 AM ---------- Previous post was at 02:35 AM ----------

Oh, and on a straight flash from TWRP, the notification LED comes on with each reboot. Haha.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abhi212b:
Notification Light - Sign of life I believe! ;) Thank you for working so hard on it! :fingers-crossed: hoping it will work out soon! :D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fizbanrapper:
Are there a lot of unpushed commits for the device tree? Looks really bare. Kind of surprised the build finishes.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
No. More like a lot not enabled... this is a from-scratch bringup

Need more people working on this if you're interested. Only 2 so far, and neither of us have much time
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fizbanrapper:
I wish you the best of luck, honestly. I was strongly considering buying one and getting back into dev work, but I just found our there's no support for treble, so I'm rethinking my options. Seems like a great device otherwise.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abhi212b:
I am no technical, but I can help in testing! Its my primary device, with lack of time problem for me as well! Just got back my Partition B and learned a few things about A/B! :P I can dedicate a few hours every weekend, that is the best I can do! Let me know! :D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] IVANWB:
Donations!

---------------------------------------------------------

We have a facebook community in Brazil with many members. We can raise donations to pay the development to you and also call other developers. warn me!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
[MENTION=2790198]gee one[/MENTION] [MENTION=3683732]mightysween[/MENTION]

found a small issue in the command line

https://github.com/munchycool/andro...mmit/f4249a20eea56e9a9383c1bfb5d1558913328f0b

please PM me if you can..Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Thx... will check it out. I have used the one from the working X4 TWRP tree, and also noticed some errors in this one.