yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Q&A, Help & Troubleshooting] finnince:
--------------------------Solution--------------------------

Thanks to [MENTION=6792585]sdr4wkcab[/MENTION]

Notice:You should replace paths with your own.

1.Open /device/samsung/ks01lte/BoardConfig.mk

2.Change

BOARD_PROVIDES_LIBRIL := ture

to

BOARD_PROVIDES_LIBRIL := false

3.Extract libril.so from stock ROM.

4.Add these lines to /device/samsung/ks01lte/Android.mk

$(shell mkdir -p $(OUT)/obj/lib)
$(shell cp -f ~/cm12.1/others/libril.so $(OUT)/obj/lib/)

5.Put libril.so in a folder "others" right in the root directory of the source file.

Rom then can be built normally.

______________________________________

Hi!

I want to compile CM12.1 myself.

Butttttt

Import includes file: /home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/import_includes
make: *** No rule to make target “/home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rild_intermediates/import_includes” Needed by “/home/builder/cm12.1/out/target/product/ks01lte/obj/SHARED_LIBRARIES/libril_intermediates/export_includes”. Stop.
make: *** Waiting for unfinished jobs...
Export includes file: external/bluetooth/bluedroid/test/rfcommtest/Android.mk -- /home/builder/cm/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/export_includes
#### make failed to build some targets (02:48 (mm:ss)) ####

This is what I always encounter 2min after brunch. I have re-sync for many times, but it won't help.

Any way to solve this ? Thanks in advance!!
[Galaxy S 5 Q&A, Help & Troubleshooting] pappschlumpf:
Same here building for Note 4. Any ideas guys?
[Galaxy S 5 Q&A, Help & Troubleshooting] finnince:
Well, ROM built with SIM card not recognized.
[Galaxy S 5 Q&A, Help & Troubleshooting] sdr4wkcab:
Try setting BOARD_PROVIDES_LIBRIL := false in the BoardConfig.mk and copying the librild.so by hand from your backup.
[Galaxy S 5 Q&A, Help & Troubleshooting] finnince:
Thanks! It finally works!
[Galaxy S 5 Q&A, Help & Troubleshooting] sdr4wkcab:
Just remember that RIL (Radio Interface Library) is something Android needs in order to communicate with the phone's modem (i.e. make calls, send msm, change SIM-settings, etc.). If you don't have this in the correct way on your ROM you will have instead of a GSG5 mobile phone a very small non-SIM-capable tablet in the end, running CM :D

If you are suspicous about using a binary blob like this in your own distribution, rejoice, for your suspicion was justified: RILd is shamelessly backdoored (just google for "Replicant Samsung Galaxy backdoor"). Luckily the Replicant developers managed to initiate an open-source replacement for Samsung's RIL, which heavily needs contributors.. :)
[Galaxy S 5 Q&A, Help & Troubleshooting] finnince:
Thanks for that info.

I have very little skills of coding or debugging on these stuffs.... It can take me a long to look for practical and useful guide or tutorial, or even finally know about the source code.

The Rom I built works normally now, "apparently", with overheat along and occasional sudden freeze. I did sync the source code from cm's github, but the the only maintainer of my device on CyanogenMod seems to stop maintaining this device (ks01lte) :crying: So there must be much to improve.

I'm trying to build kernel from Note 3's source code, which is almost identical to my device except for few things like memory size. But failed today. Will investigate more.

:eek:
[P3300, MDA Compact III  upgrading etc.] saulo866:
Dear All

I have flashed my HTC P3300 with WM6.0 from BB2

ARTEMIS_Black_Blue_v2

But, after each soft reset, I still have this annoying DOPOD screen, with three Chinese characters.

Is it possible to remove this screen and change it with some HTC Logo or whatever non chinese picture?

Thanks and waiting

Saulo866
[P3300, MDA Compact III  upgrading etc.] Tamagochi:
Here is Original HTC Logo for you.

View attachment 42634

Instructions:

- Download and unzip, you will have file: HTCLogoSplash.nbh (192Kb in size)

- Copy this file to the Folder where ROMUpdateUtility.exe is located.

- Remove or rename any other .nbh file to another place or another name.

- Connect Device with PC and Enter bootloader

- Run ROMUpdateUtility.exe. It will flash the HTC Spash screen to your Device.

Attention: You must have USPL first.

Good luck!
[P3300, MDA Compact III  upgrading etc.] itarix:
make your own?

is it possible to make your own HTCLogoSplash.nbh? by converting some pictures ?

if so how?
[ONE Q&A, Help & Troubleshooting] idan_mosseri:
hello. use to have the low mic problem on my one plus but the fix here pretty much solved it http://xdaforums.com/oneplus-one/development/fix-low-mic-call-t3055661 pretty much solved it. but i still had some problems with low mic volume on speaker mode. so stupid me started messing with the "mixer_paths.xml" and now my device dos not make any sounds AT ALL!! i guess it is because it dos not recognize the file or something. before i did the change i backed up the original one but after copying it back to place nothing changed. tried also erasing cache and preforming the fix again but to no avail. dose someone have an idea as to what i should try next? will a factory reset fix it?

thanks in advance.

p.s my phone is rooted and I have a twrp costume recovery installed/
[ONE Q&A, Help & Troubleshooting] idan_mosseri:
FIXED IT

fixed it by flashing the "Revert_To_Stock.zip" from thishttp://xdaforums.com/oneplus-one/development/mod-oneplus-one-stereo-mod-t2967925/ thread. thx abhi08638.
[G 2014 Android Development] Sarath280:
​

YOUR WARRANTY IS NOW VOID
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.

Features:

-In-Built SuperSu

-OwnSettings>

-In-Built Changelog

-Network Traffic Monitor

-Toast Animations

-QS Customization

-Clock customization

-Theme Engine

-Privacy Guard

-Pulse Notification Light

-Lockscreen Corner Shortcuts

-Ambient Display

-DT2W (Hardcoded in ROM)

-Density Changer

-Immersive Mode (per App)

-Battery Light

-Quick and Smart Statusbar

-Profiles

-Black List

-Live Sound Steps

-Slims Lockscreen Shortcuts

-TRDS 5.0

-SlimPIE

-CAF Task Manager

-App Circle Bar

-System Animations

-Improved Color Picker (with Material colors)

-Kernel Adiutor

-Clear All Recents Button Tweaks

-System Animations

-Camera Sound Toggle

-Wakelock Blocker

-Long Press Back To Kill app

-Slims IME Features

-0.25x and 0.75x Animations Transitions

-OTA Update Center

-Slim Recents

- And Many more

Screenshots:

Downloads:

Official - A Milestone every week.

OwnG-apps - Our Own and only Supported G-apps packages

Installation instructions:

1. Backup whatever you have to, also do take a nandroid backup via recovery (Just in case)

2. Erase '/system', '/data', Cache and Dalvik Cache

3. Flash OwnROM

4. Flash OwnG-apps

5. Boot :fingers-crossed:

Links:

OwnROM Github

OwnROM Devices and Kernel Github

OwnROM Website

OwnROM G+

Changelog

Thanks to:

The Whole OwnDroid Team

AOSP

Google

CyanogenMod

AOSPA

OmniROM

SlimROMs

Marvin

Anybody left out please do feel free to PM me :)

XDA:DevDB Information

OwnRom, ROM for the Moto G 2014

Contributors

Sarath280, notiflux

Source Code: https://github.com/OwnROM

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: Stable

Created 2015-06-28

Last Updated 2015-08-18
[G 2014 Android Development] sagar_b93:
Downloading Now

Will post Rewiews Soon
[G 2014 Android Development] Vidhanth:
Is dt2w working with jdi displays? Or only inx?
[G 2014 Android Development] IvsomEmidio:
Thanks :)
[G 2014 Android Development] reeeju:
Downloading

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

Good ROM....sometimes lag though...settings fc hen changing audio fx settings
[G 2014 Android Development] reeeju:
http://xdaforums.com/newattachment.php?do=manageattach&p=

http://xdaforums.com/newattachment.php?do=manageattach&p=
[G 2014 Android Development] reeeju:
more

Some more ss
[G 2014 Android Development] Sh4nanigans:
See no such thing in settings or simply by double-tapping. :confused: :mad:
[G 2014 Android Development] JDOASIS95:
are you planning to upgrade 5.1.1 r3 to latest r5? in a few days or couple of weeks
[G 2014 Android Development] hkjareda:
tried this rom .. not as expected. fc in setings and lags..hope next release will fix the issue and make it awesome
[G 2014 Android Development] notiflux:
New build uploading now
[G 2014 Android Development] hkjareda:
Downloading....will edit the review after using some time
[G 2014 Android Development] reeeju:
Will try....hope bugs fixed from previous build

thanx a lot....i feel more relax with ur roms...

---------- Post added at 05:13 PM ---------- Previous post was at 05:01 PM ----------

Pls..dont quote the whole thread...the page scrolling will be endless then..lol??
[G 2014 Android Development] reeeju:
Flashed latest build...bootloop showing setup wizard fc

---------- Post added at 06:58 PM ---------- Previous post was at 06:28 PM ----------

Any1 who flashed this latest build pls reply here....cos i m facing setup wizard fc......not booting

I flash rom, flash gapps after factory reset....all updating complete then setup wizard fc nd rebooting continuously.....
[G 2014 Android Development] RCeb:
not works on xt1068

It constantly restarts
[G 2014 Android Development] reeeju:
exactly...same problem here
[G 2014 Android Development] Sarath280:
ahh will try to fix it
[G 2014 Android Development] notiflux:
Beta 0.7 up!
[G 2014 Android Development] firegore:
new Build is giving me SystemUI Fc, and no Pin Enter Screen, im on the Dual-Sim Variant
[G 2014 Android Development] Dilip Dholakiya:
Any1 who flashed this latest build pls reply here....cos i m facing setup wizard fc......not booting

I flash rom, flash gapps after factory reset....all updating complete then setup wizard fc nd rebooting continuously.....
[G 2014 Android Development] reeeju:
Any hope for this ROM.....cos previous build was not booting up....this beta build has got same problem.....

---------- Post added at 01:17 PM ---------- Previous post was at 01:14 PM ----------

@notiflux, [MENTION=5139849]Sarath280[/MENTION].....pls try to fix this "setup wizard fc" causing random rebooting...many days gone no reply from u!!!...hope I may draw ur attention?????
[G 2014 Android Development] Sarath280:
sorry for the long wait guys new build uploaded and the bugs are squashed
[G 2014 Android Development] reeeju:
Gonna try for sure.....

Thanx man [MENTION=5139849]Sarath280[/MENTION]
[G 2014 Android Development] reeeju:
Booted finely

BUGS:--

1. Status bar not expanding fully

2. Home button not working

3. Settings fc when changing language( hindi to english us)

4. No download notification in status bar

Thanx [MENTION=5139849]Sarath280[/MENTION]......great ROM otherwise....so smooth.....390mb+ free ram
[G 2014 Android Development] Sarath280:
home button,status bar download notification are working very well
[G 2014 Android Development] Dasaviour_official:
Latest update works well all bugs fixed :D

funny thing though screen pinning was activated initially even with the function turned off in the beginning... Once I turned it on and off again it was gone :)

Also the features state that the Rom has DT2W hard coded... I can't figure out how to access that...

Apart from that... Great Rom...

UPDATE-

Found a Bug: Every night I plug in my device and in the morning it keeps showing charging even when I unplug the USB cable... Have to restart it every time to fix it.
[G 2014 Android Development] reeeju:
EDIT:--

ALL PROBLEMS FIXED

GAPPS PROBLEM....HOME BUTTON WORKING....

GRT WORK.. [MENTION=5139849]Sarath280[/MENTION]
[G 2014 Android Development] Trelle:
Home button isn't working on lg d415 , nor download status
[G 2014 Android Development] Vidhanth:
Why would u report a lg d415 bug in a moto g 2014 forum/thread?
[G 2014 Android Development] notiflux:
New build up! PS: It's not in Beta anymore! :D
[G 2014 Android Development] Sanjay Varun:
Good ROM! Just one bug!

Flashed the latest build! Everything seemed good. Great performance and a good battery backup as well. But faced a bug.

The clear all button in recents panel disappears. It shows up once after a reboot. But from the next time it disappears permanently. This is the only notable bug I came across. I shifted to another ROM as it is an important feature in day to day multitasking experience! And I missed to take a screenshot of it! Thanks a lot for the good ROM! :)
[One (M7) Q&A, Help & Troubleshooting] nebitan:
INFOversion: 0.5
INFOversion-bootloader: [B]1.57.0000[/B]
INFOversion-baseband: [B]4T.29.3218.08[/B]
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: 6.09.401.5
INFOversion-misc: PVT SHIP S-ON
INFOserialno: FA355W******
INFOimei: 35*************
INFOmeid: 00000000000000
INFOproduct: [B]m7_ul[/B]
INFOplatform: HBOOT-8064
INFOmodelid: [B]PN0710000[/B]
INFOcidnum: [B]HTC__032[/B]
INFObattery-status: good
INFObattery-voltage: 4047mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: dirty-6d8a0b9b
INFOhbootpreupdate: 11
INFOgencheckpt: 0
all: Done!
finished. total time: 0.058s

I bought used HTC One M7 (m7_ul - LTE version), custom rom, rooted, unlocked bootloader, tampered, S-ON, and I have this problem with connection to 2G network, it can sporadically, not often register on EDGE but no calls can be made or data transferred (Vip and Telenor, Telekom Srbija not working on 2G at all). When the phone is on 2G network

apparently

and I make a call to that phone I get generic operator message that the sim in One is unreachable.

I saw here https://www.ifixit.com/Teardown/HTC+One+Teardown/13494 that 2G and 3G module is on the same chip "Qualcomm MDM9215M 4G GSM/UMTS/LTE modem" collor coded green on PCB, and now I am confused, if it's hardware related issue why 3G works and 2G not.

I exchanged one sim and double checked with my carrier both 2G and 3G/3,5G are activated on sim, tested in different phone. Cannot test 4G/LTE since in my hometown there is no such service yet.

Do you guys think that flashing different radio will fix the issue? Please note that I am from Eastern Europe (HTC__032) and I don't know if this is important for flashing new radio.

Thanks!
[One (M7) Q&A, Help & Troubleshooting] nebitan:
Here are sum more info. I am currently running InsertCoin 6 rom, rooted, bootloader unlocked, S-ON and non SuperCID. MID is for M7_UL version (LTE). You should be able to see in my first post getvar all wrapped in CODE tags.

I found this, same as my problem http://xdaforums.com/lg-g2/help/lg-g2-register-2g-network-t2860002
[One (M7) Q&A, Help & Troubleshooting] alray:
when set to "GSM/WCDMA/LTE AUTO" phone will switch to the best available band automatically. Updating your firmware to latest version including radio could help.
[One (M7) Q&A, Help & Troubleshooting] nebitan:
I did set that and in *#*#4636#*#* menu also but only working network is 3G. I will go with firmware update along with radio, if that won't work I will try to downgrade firmware/radio. I just need free time...
[One (M7) Q&A, Help & Troubleshooting] donkeykong1:
You can't downgrade your firmware with s-on. Just a heads up for you
[One (M7) Q&A, Help & Troubleshooting] nebitan:
So basically I need S-OFF for flashing firmware, I found tutorials here and they all require S-OFF. I saw radio that can be backed up and flashed with linux dd program with S-ON.

I am also curious about RUU. I found that I can flash RUU which contain firmware and radio. With my HTC__032 CID I can only flash Europe RUU, right? If I want WWE version located here http://www.htc.com/us/support/rom-downloads.html (HTC One 7.17.1540.7) I will need to change my CID to 11111111 (Super cid)?

Now I see that this RUU is "x.xx.1540.x - HTC One U.S. Developer Edition" http://xdaforums.com/showpost.php?p=41484385&postcount=2 so this might not work. http://dl3.htc.com/application/RUU_...6_10.33Q.1718.01L_release_420191_signed_2.exe

Btw I successfully flashed newer radio and the problem still persist, no 2G network.

I backed up my radio like this:

dd if=/dev/block/mmcblk0p31 of=/sdcard/radio_firmware.img

and flashed radio with this command:

dd if=/sdcard/4T.35.3218.16.IMG of=/dev/block/mmcblk0p31

rebooted the phone and Hboot is showing new radio version. I guess I will try with older radio and different firmware.
[One (M7) Q&A, Help & Troubleshooting] alray:
Flashing radios doesn't require S-OFF, it can be done from custom recovery with an unlocked bootloader. S-OFF is only needed if you want to downgrade the firmware or flash another version which will require to change your CID and your MID.

Why do you absolutely want 2G when the phone is in 3G mode? Phone will switch to best network by itself. ALso you are on 6.09.401.5, there is much newer firmware (and radio) for this phone, latest version is 7.19.401.22.
[One (M7) Q&A, Help & Troubleshooting] nebitan:
I need 2G because in my home i have poor 3G reception. I know that phone switches to higher signal network automatically. I have Hboot 1.57 so it's hard to find the tool that can S-OFF it, rumrunner is working somethinh but too many reboots:

pouring (1).......................................................
pouring (2).......................................................
pouring (3).......................................................
pouring (4).......................................................
pouring (5)........................................................
pouring (6)........................................................
pouring (7).......................................................

and still working. Sunshine is have too much requirements to be met, I will have to investigate it carefully if this rumrunner fails. revone is not working.
[One (M7) Q&A, Help & Troubleshooting] nebitan:
I tested bunch of radios with no luck. I cannot test different firmware until I get S-OFF but for now S-OFF seems impossible, I have to research this. Tried revone, rumrunner, firewater, munshine. Last three seems the same, maybe rip of each other.
[One (M7) Q&A, Help & Troubleshooting] alray:
The only way to s-off hboot 1.57 is Sunshine, trying other methods is simply a waste of time.

revone and moonshine were only for 1.44

rumrunner for 1.56 and below

firewater is discontinued and will no longer works (online resources no more available)

anyway like i said, you don't need s-off to try different radios and I don't think that flashing different firmwares will change anything.

Try to flash the latest radio first and also make sure your phone supports your carrier frequencies.

It might also be as simple as bad reception at your location, you have said that the phone can connect sporadically to 2g? Check the signal strength when connected, how much dBm you got? Should be fine around -80 dBm... below -90-100 is where you can start having connection issues, choppy calls, calls can drops etc. around -100 and less dBm you'll start loosing connection to the network. At what distance is the nearest tower? Can you get 2g connection when you get closer to the tower?
[One (M7) Q&A, Help & Troubleshooting] nebitan:
Sunshine is paid app and I am not ready to buy it just for trying something that might not fix my problem (flashing different fw), I can flash any rom I like without mayor problems. Can I downgrade Hboot somehow, maybe via RUU flash? I tried to flash RUU that has my CID and MID supported, 100% supported, I double checked by tracking extracted android-info.txt in Windows Temp folder, my CID and MID were in it and I got error I didn't wrote but I remember it says that something about android-info file, completely non logical. I am using latest radio, same effect like previous I had, no improvements.

I am attaching screenshots. While I run 3G only and when I switch to 2G only I get full signal (note 5 network bars) and it shuts off after no more than 5 seconds, I managed to capture screens in that time frame. Same with being far away or close to tower. I think radio improves frequency and optimize network but I also think that firmware will tell that 2G chip not to shut itself off. You can see on screenshots that "cellular network type" is UMTS which is wrong, sometimes says EDGE like it should. Also my carrier supports my phones frequencies.
[One (M7) Q&A, Help & Troubleshooting] alray:
No, you need s-off to downgrade hboot or anything else firmware related only exception is the kernel, radio and recovery because of the unlocked bootloader. All other firmware partitions like the bootloader are protected by s-on.

In order to flash a ruu with s-on, the CID and MID must match the RUU android-info.txt, the ruu you want to flash must be the same base version (x.xx.401.x), it must be same or newer version, bootloader must be locked or re-locked. If flashing a 7.xx.401.x ruu, your phone must already run a 6.xxx.401.xx firmware.

There is no dedicated chip for 2G, its in the same modem chip: Qualcomm MDM9215.

Have you contacted your carrier? Tried with another phone?
[One (M7) Q&A, Help & Troubleshooting] nebitan:
I managed to upgrade my firmware and Hboot via RUU. I flashed Lolipop http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944 Now my phone has this info:

INFOversion: 0.5
INFOversion-bootloader: [B]1.61.0000[/B]
INFOversion-baseband: [B]4T.35.3218.16[/B]
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: [B]7.19.401.2[/B]
INFOversion-misc: [B]PVT SHIP S-ON[/B]
INFOserialno: [deleted for forum]
INFOimei: [deleted for forum]
INFOmeid: 00000000000000
INFOproduct: [B]m7_ul[/B]
INFOplatform: HBOOT-8064
INFOmodelid: [B]PN0710000[/B]
INFOcidnum: [B]HTC__032[/B]
INFObattery-status: good
INFObattery-voltage: 3871mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT

So I managed to update Firmware, Hboot and newer radio but still have the same problem with 2G. I gave up on this.
[One (M7) Q&A, Help & Troubleshooting] zabdelicious:
So I wanted to flash TRWP recovery via fastboot but everytime I try it it fails saying:

D:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery TWRP.img
target reported max download size of 1514139648 bytes
sending 'recovery' (12534 KB)...
OKAY [ 1.593s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 1.740s

My bootloader is unlocked and S-off

(Maybe its worth mentioning that my phone is stuck in the bootscreen)

Anyone who knows what the problem could be?
[One (M7) Q&A, Help & Troubleshooting] zabdelicious:
Ok I managed to flash TWRP, but theres another problem... I wanted to flash a stock htc m7 rom via an otg cable and flash drive. The rom is in the root of the stick but when I select the stick in twrp its empty
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What format is your usb stick? NTFS won't work with otg, try formatting the usb as fat32 copy the rom back on and try again.

What version of TWRP are you using? Newer versions use MTP in recovery so you can just 'drag and drop' the rom to your storage from recovery mode ;)
[One (M7) Q&A, Help & Troubleshooting] zabdelicious:
Thanks now it worked, however there occurred another problem. When I flash the rom via otg, the phone reboots and is again stuck in the htc logo screen. I've waited couple of minutes but nothing happened
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Which version of twrp are you using? And which rom are you flashing? Also normally I would recommend copying the rom from the OTG to the internal storage then install it from there. :good:

It's also worth noting a successful clean install can take 15 to 20 min to pass the htc boot logo, on first boot. ;)