yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Q&A, Help & Troubleshooting] ravenousX1982:
Hi, everyone!

I need advice of an experienced person.

The efs folder on my device Galaxy Tab s 8.4 (SC-03g) is empty (Tab is rooted). It had happened after custom firmware upgrade.

I have a backup of efs (it is not a tar file or something. I have made a copy of efs via root explorer. It is on my sd card).

When I try to copy it back on device, it copys well. But after device reboot the root folder EFS became empty

Maybe it becouse of wrong premissions, but I dont know, what permissions are correct.

Can anyone help me with this issue.
[Omni Q&A] jts2111:
So I have working OMNIROM 7.1 for my device, however, weird little bugs happen sometimes such as screen rotation stopping, Mobil data suddenly not working (even with LTE+ indicator) and other little things that are fixed for a while on reboot. Is there an official way to diagnose and patch these little things?
[G 2014 General] Danilo-Sanchez:
Thank you for this guide. I'll try to build CM14.1 here ;)
[G 2014 General] mankokoma:
Ah, great keep me informed, so I can make it better. Try myself from the scratch and have found some issues in the chronological order... is getting better. So look out for changes ;)
[G 2014 General] Danilo-Sanchez:
Ok. As soon as I try I'll let you know ;)
[G 2014 General] H4RTI3:
For the Ninja error:

export USE_NINJA=false
[G 2014 General] mankokoma:
Has been asked for RAM usage. Battery life is as CM always have been - not the best, could be worse, so what?
[G 2014 General] Danilo-Sanchez:
Thank you ;)

It's almost the same RAM usage as CM13.
[G 2014 General] gourabpa:
i will also try to build the rom from ur guide........really thanks.......so much for the guide
[G 2014 General] Khaian:
:laugh:Thank you for share!!!:good:
[G 2014 General] Danilo-Sanchez:
[MENTION=3398727]mankokoma[/MENTION] Can I extract proprietary files even if I'm not using CM14.1?
[G 2014 General] mankokoma:
Why not? As far as I can follow the scripts, the files will be extracted (in our case) to ~/android/lineageos/vendor/motorola/titan/proprietary/... (and maybe also to /android/lineageos/vendor/motorola/msm8226-common/proprietary...) I'm not sure if they are always the same for the different Android Versions, but I assume: Yes.
[G 2014 General] mankokoma:
I put some more order in the guide and cleaned the chaos in case there is still interest in building LineageOS yourself. In fact preparing of the environment and the first setup and building of the ZIP lasts really (annoying) long but the following building processes are done within ONE and a HALF hours. So I enjoy immediately the last build when there has something good changed in the Repos: https://www.cmxlog.com/14.1/titan/

Have a lot of fun!
[G 2014 General] Danilo-Sanchez:
Did you managed to build Lineage OS 13.0?

I've tried to build Lineage OS 13.0 but unfortunately it didn't work.
[G 2014 General] mankokoma:
No, I didn't. "Shoot from the hip": Downgrade Java to 1.7 first. Maybe it's easier to building up Ubuntu 14.x environment as I don't know about gcc or other libs-things for CM13
[G 2014 General] Danilo-Sanchez:
Did you managed to include OMS support in Lineage 14.1?
[G 2014 General] mankokoma:
No, didn't have any efforts, though a dark notification panel would be nice.

I just take, what comes from the "normal" repositories.
[G 2014 General] hashroot:
[MENTION=3398727]mankokoma[/MENTION] any idea?

Makefile:795: *** multiple target patterns. Stop.
[G 2014 General] mankokoma:
I'm sorry, have only very little time these days... can you provide some more lines before this error occurs?

Are you using Ubuntu or Debian?

I have read something about cleaning the "obj" folder could help
[G 2014 General] sada23:
Hi, I am building klte version of CrdroidAndroid ( a LineageOS based ROM) on a ubuntu 16.04 LTS VM.

I am getting the following error. I am not sure what to do here. I have been cleaning the build folder and ccache and trying to build. I keep ending at this error. Any help to solve this issue is greatly appreciated.

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

/usr/bin/x86_64-linux-gnu-ld: /home/sadanand/crdroid/android/system/out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/base/allocator.o: relocation R_X86_64_PC32 against protected symbol `_ZN3art18g_malloc_allocatorE' can not be used when making a shared object

/usr/bin/x86_64-linux-gnu-ld: final link failed: Bad value

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

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

Thanks
[G 2014 General] mankokoma:
Did you try just "mka libart" to compile only the package with the error?

Usually then it's finishing without errors and you can brunch again.
[G 2014 General] RogerClark:
I thought I'd try building on my Linux Mint machine, but had an issue getting hold of libwxgtk2.8-dev

So I'm going to reload the machine with Ubuntu 16 LTS, as I have a VM of the same installation, and it seems to be able to download that package

I'm sure that I could probably add a Software Source to somehow get hold of that package on Linux Mint, but I"m not entirely sure where to get it from, so its safer just to install Ubuntu 16 rather than get miss matched binaries.

Edit.

I tried installing Ubuntu 16 LTS, however this no longer works either, unless you prevent it from doing any updates during the install, or after..

However I have a fix for the problem with libwxgtk2.8-dev as I found it has been superseded by libwxgtk3.0-dev

So the following line needs to be used to install the build tools etc

sudo apt-get install android-tools-adb automake bc bison build-essential bzip2 ccache curl dpkg-dev flex git gnupg gperf libbz2-1.0 libesd0-dev libghc-bzlib-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop make maven openjdk-8-jdk pngcrush python-networkx schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32z1-dev lib32readline6 lib32readline6-dev
[G 2014 General] RogerClark:
Another problem.. I have yet to solve

cd ~/android/lineageos/

source build/envsetup.sh

Does not work because build/envsetup.sh does not exist.

I can't see any how any of the previous steps would create this file.

So I'm carrying on with the repo sync in the hope that this downloads the missing file.

Watch this space ;)
[G 2014 General] mankokoma:
I'm not really sure, what's missing... if I missed something to mention or confused the order.... But look here:

https://source.android.com/source/building

and if you look at the attachment you see, it seems coming with the sync...
[G 2014 General] RogerClark:
I waited until the repo had synced, and I was then able to run envsetup.sh

Looking at the LineageOS Wifi for building Titan, it has the order of the steps, so that you don't run envsetup.sh until the repo sync has brought down all the necessary files

So I tried running it after syncing, and it did then run.

However I'd also managed to screw up the location (user home) into which the files were synced, this was my mistake, because after envsetup.sh wouldnt run, I cd'ed back to ~ to look for that file, using "find" but it wasn't anywhere in the user home tree.

Anyway, I decided to start again and do it from scratch, by following the instructions in the Lineage wiki, but it takes ages to sync the repo (several hours) , so I'm now only back at the stage where repo sync has finished and I can run envsetup.sh

I'll let you know how I get on by following the steps in the wiki
[G 2014 General] RogerClark:
OK.

I followed the build process from the LineageOS wiki, for the titan, and it worked fine.

The only slight problem was that the wiki said to run breakfast before extracting proprietary blobs.

This doesn't work, but there is a not after the section about running breakfast, that says if breakfast doesn't work then the blobs need to be extracted.

Because it says "Some maintainers require a vendor directory to be populated before breakfast will succeed"

I'm not sure what this means really. What do they mean by "Some maintainers"

Anyway, even after extracting the blobs, breakfast seems to give warnings (sorry I can't recall precisely what they were), but I carried on and ran croot and then brunch titan, and after four and a quarter hours the build finished and produce a zip, which I loaded onto a freshly wiped Moto G2, (along with GApps and also addonsu-arm-signed - from the lineage website), and it works fine.

I now need to start changing some things, so I better get up to speed with the source and structure
[G 2014 General] RogerClark:
One additional piece of information which may be handy.

When you install your Ubuntu VM (or real H/W), I'd recommend you increase the amount of swap space from the default, settings

In my Ubuntu VM, it seems to be defaulted to 766Mb, and on my Linux Mint it seems to be 4Gb.

However unless you can allocate a lot of memory to your VM (in excess of 4GB), (or your real HW machine has more than 4GB), the default swap size seems to be too small to build the latest version of LineageOS 14.1

I had to boot from a memory stick version of Linux mint, and resize the main system partition to make it smaller and then resize the swap partition to about 16Mb

I think 8Mb swap would probably be OK, but I just gave it a bit more to be safe
[G 2014 General] mankokoma:
You mean resize Swap-partition inside the VM to 16GB? I don't think, that's necessary but won't hurt at all... you can always see with the command "free", how much of swap-space is in use:

/home/mankokoma# free
total used free shared buffers cached
Mem: 3079076 2727920 351156 12320 510144 1268608
-/+ buffers/cache: 949168 2129908
Swap: 4190204 6096 4190204

Here you can see (in another Debian) VM with only 3GB of RAM and a 4GB Swap partition, only used very little (during sync process).

However, I think the discussion about RAM / SWAP and kernel settings e.g. swappiness is more philosophical and offtopic here somehow, as it's more about building Mobile OS and not about installing and configuring Linux ;)

But nevertheless thanks for the hint if it makes building faster and more stable!
[G 2014 General] RogerClark:
I'm running on real hardware, not a VM.

Everything was building fine a few days ago, however yesterday the build failed because the JACK compiler ran out of memory.

There is an exported var that allocated JACK with 4GB RAM, and my machine only has 4Gb physical RAM and I think around 4Gb swap.

If I was running a VM, I could just allocate the VM more physical RAM, but as I'm on real hardware thats not so easy.

(I will probably upgrade the machine to 8GB but thats as much as it will hold, as it only has 2 RAM slots)

So the only option to get it to build was to make the swap bigger, and this seems to have fixed the problem.

BTW. Have you built recently ? As this only started happening to me in the last couple of days.
[G 2014 General] mankokoma:
No, I didn't build for a while. I gave away my old Moto 2014... and now have a Moto G4 (2016), which is fine so far, but had to realize little details, like that there is no compass inside... :silly: But it's really fast and came with Nougat... For a while I'll keep it unrooted and wait that the hardware is really alright, before I get rid off warranty and tons of Google crap... I only need playstore. And of course I miss Titanium Backup and even over adb I can't get the data from /data..... Security is annoying. Haha - wait what security? No ip-tables without root. And the non root internal vpn-firewall solutions suck off the battery.

However, you could limit the Jack/Java export var to 2GB? But then it probably will take ages to compile... So your solution with pumping up swap seems to be a good one. :good:
[G 2014 General] RogerClark:
You could have sold it on eBay. I bought a second hand one on eBay for a friend, and it cost around $70!

The lack of a compass is a deal breaker for me on the newer Moto G. I know someone with a Moto G4 Play, and wondered why the maps didnt work so well when walking around town. Then I found out that Moto G3 onwards don't have a compass :very silly:

I suspect that second had G2's still command such good prices because they have the compass

I could try that, but there is a note in the LineageOS Wiki that says later builds of LineageOS need a high value for JACK, and they recommend 4GB.

The compiler definitely ran out of RAM when it couldn't allocate all 4Gb, but its hard to know if 2GB or 3GB would work and still fit in the default swap size.

BTW.

On a related note for anyone attempting to build LineageOS and install OpenGApps...

The OpenGApp, "mini" package will no longer fit. TWRP reports insufficient space and won't install it.

The last version of the mini package that will fit is 20170429, because the 20170430 (and newer) package(s) includes 2 extra apps, that increase the size by around 10% (to 330Mb), and the current size of the mini package (on 14th May), was 370Mb, but there is only spare for around the 20170430 package, which is 310Mb.

I've posted to the OpenGApps thread on XDA about this, and I think the best option at the moment is to use the 20170430 package and just update the apps that it installs.

In the future its going to be necessary to either install using the Aroma version and pick a small subset of apps, or use the "micro" or "nano" packages instead. Or to make a Gapps custom install config file, to install a suitable base set of Apps for the phone.

Or perhaps increase the system partition size in the LineageOS build, but I'm not sure whether increasing /system size is possible or whether its size is stored in NAND etc, and changing its size my cause serious (and potentially permanent) problems.

But
[G 2014 General] captian_jb:
Any screenShots bro..!!!
[G 2014 General] mankokoma:
Excuse me, but what exactly do you mean? Do you want to have pictures of a bash terminal?

At the end nothing comes out, but unmodified LineageOS...
[G 2014 General] jonaaa:
Great tutorial, i've followed the instructions on the LineageOS site and compiled it with Ubuntu 16.04 LTS... maybe i'll try to compile the LOS 13.0 with July Security Patch later.
[G 2014 General] mankokoma:
The most important thing is the "~/android/lineageos/.repo/local_manifests/roomservice.xml" file. I got now a Moto G4 (Athene) and the only thing to change was to write the right repos for Athene into that file. Everything else stayed the same :) And of course "brunch athene" instead of "brunch titan"...
[G 2014 General] Danilo-Sanchez:
Where do I find the list of repos?
[G 2014 General] mankokoma:
that was a lot of googling.. most infos came from luk1337. You'll have to check out the CPU/chipset of your device and find them on github, e.g. motorola_msm8952 (for Athene)...

For Titan you'll find it in the 7th code box of OP and here's the one with the Athene additions:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="ssh://git@bitbucket.org" name="bitbucket" />
<remote fetch="ssh://git@gitlab.com" name="gitlab" />
<remote fetch="git://codeaurora.org/" name="caf" review="codeaurora.org" sync-c="true" />
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" />
<project name="LineageOS/android_device_motorola_athene" path="device/motorola/athene" remote="github" />
<project name="LineageOS/android_device_motorola_msm8226-common" path="device/motorola/msm8226-common" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" />
<project name="LineageOS/android_kernel_motorola_msm8952" path="kernel/motorola/msm8952" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" />
<project name="TheMuppets/proprietary_vendor_asus" path="vendor/asus" remote="github" />
<project name="LineageOS/android_external_bson" path="external/bson" remote="github" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />
</manifest>
[G 2014 General] kessaras:
[MENTION=3398727]mankokoma[/MENTION]

about the OP.

## New one: *** This repo is now deprecated. Move your blobs to your device's vendor repo..

the solution is not to rename the .mk or even remove that repo since we ignore it by renaming the .mk.

The proper solution is to edit the .mk and remove the 1st line that redirects to an error on purpose because its depricated (old).

This way, IF the .mk is needed during the build, it will get called.

If its not needed , then the compiler will just not use it.

At least thats my point of view here. We dont just remove things by renaming. We add them properly in case they r needed. If they are not needed then they wont be used.
[G 2014 General] mankokoma:
@kessaras: Thank you very much for giving the right and proper answer to the quick and dirty way of trial and error. I quoted your solution into the OP. I'm sorry to be only an "advanced user" and appreciate any help to make things better - even if somehow outdated...
[G 2014 General] widi aprianto:
Error

curl: (56) open ssl_read: ssl_error_syscall, errno 110

When dowloading gradle:rolleyes:
[Xperia Z5 Premium Q&A, Help & Troubleshooting] minifamilie:
Hello everybody,

i'm experiencing a strange problem.

My Z5P (NO ROOT, LOCKED BOOTLOADER, NOTHING DONE WITH IT YET, JUST "PURE" SONY) went off last night after the baterry ran out of juice.

This morning i plugged it in and after it had approx 40% i tried to turn it on and i got a bootloop.

It crashes and restarts after the white "waves".

Tried to turn it off with the button in the sd/sim card tray, but after doing so and restarting, bootloop again.

I was going to "repair" it via xperia companion, plugged it in to my usb, turned it on (it was completly off) and then it booted just fine. Unplugged usb restarted, bootloop again.

So situation now ist: it starts perfectly when pluged in via usb to a computer, it bootloops if i restart or turn it on without being connected to a computer.

Repair by Xperia Companion was not done yet.

Anyone experienced something similar?
[Xperia Z5 Premium Q&A, Help & Troubleshooting] guhvanoh:
No I've never experienced that. Having said that I would repair using Sony companion. It's quite possible that something has corrupted you file system when the device switched off due to battery having no juice.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] minifamilie:
Yeah i guess something like that happened, but anyhow i'll need to repair it via xperia companion, since i've to turn it in because the audio jack won't work. and i want to hand over a "clean" device to the support, they don't need to see my personal stuff.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] guhvanoh:
In that case make sure you copy off the stuff you don't want to lose and do a full factory reset to wipe everything. Confirm the wipe by checking via a file manager what's on the fone. Good luck with the repairs.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] minifamilie:
That's the reason why i still haven't done a software repair, how do i keep my data, i mean messages and stuff.

whatsapp will get it back from the google backup, but what about allo and stuff, since i'm not rooted it i can't use backup apps with their full potential, any suggestions.
[Xperia Z5 Premium Q&A, Help & Troubleshooting] guhvanoh:
You'll have to boot up with the fone connected via USB cable, then use a file manager to transfer the files you want to save. For texts and stuff I use SMS Backup & Restore. Everything else I either copy to my sdcard, Dropbox or google.
[General Questions and Answers] Parth12435:
I downloaded custom os in sm t-561 and when I am restarting it it has a red exclamation mark in the top left and nothing is happening. Why? I pressed all the buttons and nothing is happeing. :crying:
[LeEco Le Pro3 Questions & Answers] Lexi720ger:
Hi everybody,

I want to know if USB OTG is working on Stock rom. I´ve installed Cydras rom which works very fine,but no OTG due to connect my music Stick.

Is this a rom issue or a general?

thnx for your answer
[LeEco Le Pro3 Questions & Answers] STEVE_MARS:
Hi,

I use TARS 20s USA and OTG works OK.

Regards.
[LeEco Le Pro3 Questions & Answers] bhamoudi25:
HI

I tried almost all the Roms and its working even in twrp mod

The problem must be the adapter
[LeEco Le Pro3 Questions & Answers] trizex:
On cydras rom, I confirm the OTG working. Its something on your end.
[LeEco Le Pro3 Questions & Answers] dark_prince:
If your music stick identifies as MTP, it wont work with any OTG supported Android phone. Any device you connect should identify as Removable Storage device to work perfectly.
[LeEco Le Pro3 Questions & Answers] motanel_pufos:
I use Cydras rom and OTG doesn't work. But maybe I didn't use a good cable. On the old phone when I connected to PC it shows 3 options, usb storage, media device mtp and camera ptp. With X720 I have only Media device MTP and Camera PTP. There is no USB Storage option.
[LeEco Le Pro3 Questions & Answers] dark_prince:
I meant to say, the storage device you want to connect to Le Pro 3 should identify as Portable Storage device only (like those flash drives from Kingston, A-Data, SanDisk etc).

2ndly use a direct Type-C TO OTG converter. Don't use the Type - C to Micro USB to OTG converter (thats two converter adapters in a row and mostly the Type-C to Micro USB converters out there lack the common connection necessary for OTG.
[LeEco Le Pro3 Questions & Answers] motanel_pufos:
I used 2 convertors. :) I have to buy a Type-C TO OTG converter and see later. Thanks
[LeEco Le Pro3 Questions & Answers] Lexi720ger:
Thanks Guys, I´v solved the problem.

It was the adaptor (!!!) from Micro USB (OTG cable) to Micro-C.

Now I bought a Stick (64GB) from ADATA including OTG, micro-C and normal USB 3.1 connectors. Everything works fine and no OTG-cable.

Listening (headphone) and streaming music (in car) using V4a sounds very good.

have a nice WE
[LeEco Le Pro3 Questions & Answers] motanel_pufos:
I solved too, bought a proper adapter.
[LeEco Le Pro3 Questions & Answers] NiHaoMike:
Cascading two adapters for OTG is hit or miss. A reasonable quality USB-C host adapter is like $2-3 from Amazon, so not much point cobbling something together.
[Tilt, TyTN II, MDA Vario III General] christian15213:
I need access to a direct ftp port with the http://65988.0023.XXX style connection but I can't get access to it unless I am using WIFI? what setting can I change to stop this?
[Tilt, TyTN II, MDA Vario III General] dolbe:
try disabling the proxy settings, sometimes bypassing your networks proxy settings will open up all sorts of options you where once blocked from accessing
[Tilt, TyTN II, MDA Vario III General] christian15213:
how would I go about that? I didn't know I was behind proxy settings? And do I need them to access medianet?
[Tilt, TyTN II, MDA Vario III General] dolbe:
in your connection settings go to manage existing connection, select proxy settings and untick the box that says this network uses a proxy server to connect to the internet and leave the box ticked that says this network connects tothe internet.

Ive disables my proxy settings for t-mobile Uk internet settings and now it connects alot faster and pages seem to be loading faster also
[Tilt, TyTN II, MDA Vario III General] christian15213:
doesn't work... Darn this sux... I test it with www.msn.com and it still makes it pull up msn.mobile... how annyoing...
[Tilt, TyTN II, MDA Vario III General] christian15213:
bump anyone have anything on this?
[Tilt, TyTN II, MDA Vario III General] christian15213:
I would really appreciate help with this because I have to access a program that I can't otherwise.
[Tilt, TyTN II, MDA Vario III General] PerfAlbion:
If you're looking to hit an FTP site, then I'd grab an FTP client for WM and stop futzing with IE in the first place. Or am I misunderstanding what you're doing?
[Tilt, TyTN II, MDA Vario III General] christian15213:
not it is not an ftp it is an http://112.2232.224:2324 type of site... that is all.