yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] OttawaNoLuck:
That's what I'm following. Do you have access to update those instructions? I'm guessing Compile step #1 should be "source build/envsetup.sh" (but it's not there). Is that right?

Do you see anything wrong with the following? I'm guessing that there should be ua_* options in the lunch menu, but there isn't.

cat .repo/manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Remotes -->
<remote name="unlegacy"
fetch="https://github.com/"
review="gerrit.unlegacy-android.org"
revision="aosp-7.1" />

<remote name="android-security"
fetch="https://github.com/android-security/"
revision="aosp-7.1" />

<!-- Includes -->
<include name="aosp.xml" />
<include name="unlegacy.xml" />
<include name="vendor.xml" />

<!-- Include Devices -->
<include name="devices/omap4.xml" />
<include name="devices/qcom.xml" />
<include name="devices/tegra3.xml" />
<include name="devices/tegra132.xml" />

<!-- Security Updates -->
<include name="android-security.xml" />

</manifest>

lunch

You're building on Linux

Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_picasso2-userdebug
8. aosp_flo-userdebug
9. aosp_grouper-userdebug
10. aosp_tilapia-userdebug
11. aosp_transformer-userdebug
12. aosp_acclaim-userdebug
13. aosp_hummingbird-userdebug
14. aosp_ovation-userdebug
15. mini_emulator_arm64-userdebug
16. m_e_arm-userdebug
17. m_e_mips64-eng
18. m_e_mips-userdebug
19. mini_emulator_x86_64-userdebug
20. mini_emulator_x86-userdebug
21. aosp_flounder-userdebug
22. aosp_flounder_lte-userdebug
23. aosp_a2109-userdebug
24. aosp_hammerhead-userdebug
25. aosp_mako-userdebug
26. aosp_espresso3g-userdebug
27. aosp_espresso-userdebug
28. aosp_tuna-userdebug

Which would you like? [aosp_arm-eng]
[Samsung Galaxy Nexus] Android-Andi:
Right. You need to run

. build/envsetup.sh

Once at the beginning
[Samsung Galaxy Nexus] OttawaNoLuck:
I get stuck at the same spot whether I run

source build/envsetup.sh

or

. build/envsetup.sh

.

What else should I try?

Also, is this forum the best spot to ask for help with building or should I be asking somewhere else?

---------- Post added 2nd December 2017 at 12:13 AM ---------- Previous post was 1st December 2017 at 11:44 PM ----------

I'm going to retry a full

repo sync

and try again after that's done. I may have been trying to cut corners with things like

repo sync -c

.
[Samsung Galaxy Nexus] kb8no:
Firstly this is very flaky but an improvement for Toro. Secondly my goal was to be minimalistic to reduce variables. Thirdly very hard to know what the phone is really doing and only possible by watching settings > About phone > Status > SIM status and following Cellular network type, Service state, and Cellular network state for all the surprises. No app works.

Verizon apparently knows what to do with APN type "default" because all the others add nothing. Verizon only uses EVDO_0 so that is all you need for 3G. 1x adds nothing. APN is not case sensitive and lower case is easier. Here's the best I could get it admittedly not substantially better than yours bit easier to customize for your needs.

Name: Verizon Toro

APN: vzwinternet

Proxy: Not set

Port: Not set

Username: Not set

Password: Not set

Server: Not set

MMSC: http://mms.vtext.com/servlets/mms

MMS proxy: not set

MMS port: not set

MCC: 311

MNC: 480

Authentication type: Not set

APN type: default,mms

APN protocol: IPv4/IPv6

APN roaming protocol: IPv4/IPv6

APN enable/disable: APN enabled

Bearer: LTE, EVDO_0

MVNO type: None

MVNO Value: Not set

The problem remains handoff between 3G 4G which we know. If you set preferred network type to 3G/CDMA and you can accept 3G speeds it could be reliable enough to be your daily driver depending on your needs.

If you set it to 4G/LTE it is not locked to LTE. It tries to give preference to LTE but does this poorly dropping to 3G when there is a usable 4G signal. That wouldn't be so bad if it reliably popped back to 4G but it does this in poorly.

Firstly it will hang in 3G for unnecessarily long periods. Secondly when it pops back to 4G it may work but more often than not it either has no LTE service (no LTE icon) or it has not connected to data (LTE icon with tiny x). You can observe it in front of your eyes trying to work and knows what to do but can't execute. This is now more an exercise of frustration than usefulness and it is not daily driver material. The airplane mode trick is of little use.

So I discovered you can leave it in 4G/LTE and go to the APN and uncheck EVDO_0 leaving only LTE and save. This is interesting because it holds the LTE signal much better. Curiously, with EVDO unchecked, it still will drop down to EVDO without connecting. I expect this happens when you loose LTE signal.

Equally curious is that when it pops back to LTE it connects properly and behaves as it should (if only 3G was working). So if you are patient data will eventually return.

If you are not traveling (e.g unreliable LTE signal) and you are stationary with a strong LTE signal it is surprising how usable it is.

My guess is that your Page Plus behavior is identical. So if you want reliable data set it to 3/CDMA with EVDO in the APN. If you are stationary with good LTE signal and want speed then 4G/LTE and remove EVDO from the APN.

Maybe these observations will give some smart person an idea. It would be nice to have more than 1 APN.
[Samsung Galaxy Nexus] RobertAmirkhanyan:
Trying to solve the HW video playback and related problem

Greetings. Sorry for my bad google translate. Hope i can explain this important stuff (in my opinion)

I using unlegacy 6.0 for a while and basically all fine. Except video playback. And internet surfing (WebGL error). And flashlight. And camera. But then my ipad suddenly died and i tried watch video on maguro it was painful. Really. I thinked it cma problem and try no cma kernel. Still painful. I test ua 5.1, 7.1, 4.4, old good roms like FML, paranoid... on compatible rom i install franco kernel, fancy kernel, many other not such fancy kernel. Nothing. 1080p video lagging, hw encoder not work time to time. Every second GIF in browser (actually, .gifv) kill video playback and all related. I said to myself “Enough!” and back to stock 4.3. And... all the same WTF! Yes, stock kernel like other no cma kernel slightly more stable. But. 1080 h264 video lagging. Often and for no apparent reason all dependent on gpu stop working and I have to forget about video/camera/flashlight until reboot. Annoying.

Аfter a month of suffering, I found this. And... OMG IT WORKS! 1080 videos? No problem! GIFs not scaring me anymore. Fashlight always illuminates my path. I download JDQ39 (4.2.2), JWR66V and JWR66Y (4.3, last) stock firmware and compare ducati-m3.bin file. JWR66V and JWR66Y have the same broken file (md5 5F8CF83F44882B319C859E7459E1BC31). And all roms since 2013 use it and all have problem. Include unlegacy. Ok, ducati-m3.bin from JDQ39 (md5 11980F9ECB9C1E82F34AFFBC0CA3453B) works great then I started to test it with latest unlegacy 6.0. Its work (yeah!) much better, but then RAM isn't enought (everytime, thanks to modern web technology) cma say his word. Reboot every ten minutes didnt suit me. I flash no cma AnyKernel.

Amazing, great, incredible, extraordinary, phenomenal! Rock stable. I watched many videos during the week and hw decoder always work properly. Always. So...

I suppose ducati-m3.bin from JDQ39 (md5 11980F9ECB9C1E82F34AFFBC0CA3453B) should be included instead of broken JWR66Y ducati-m3.bin (md5 5F8CF83F44882B319C859E7459E1BC31). Users can apply this fix right now.

CMA better to disable by default. RAM is still not enough and its buggy, unfortunately. If nexus your daily driver it is better to flash no cma AnyKernel and stop feel uncomfortable.

That’s all Folks! Sleep strong!
[Samsung Galaxy Nexus] uji_sine:
[MENTION=8761176]RobertAmirkhanyan[/MENTION], thank you very much. Your konwledge maybe help me also.
[Samsung Galaxy Nexus] aboaboit:
encryption: trying to enable, failed

I've been using this build for a few days without problems and I decided to test the HW support in the new TWRP

First I had to enable encryption: warnings said it might take an hour (/data had 5GB in use), so I left it alone for the whole evening. When I came back a few hours later it was still at the "android" animation so I restarted it to check what was going on: apparently, the encryption password is accepted but the partition data is corrupted so badly even a factory reset can't clear it.

Questions:

1. is encryption supposed to always work?

2. is it ok to enable it on a long-running phone or is this best done right after installation?

EDIT: hmm, something went very wrong: had to reformat /data, since repair failed to fix it.
[Samsung Galaxy Nexus] bamtan2:
Can you link or PM me some test files, so we can try to duplicate your results in different ROMs? Thanks :)

PS: Are you sure LOS13 has this same problem? You can also try Zeelog's LOS14 unofficial, you can Google the link. He also disables CMA by default for you.
[Samsung Galaxy Nexus] kerpert:
What's the sense to view 1080p in a 720p screen?

Instead would be nice to have an updated post with summary of bugs in the latest UA 7.1.2 and UA 6.0.1 (that I'm using it daily).
[Samsung Galaxy Nexus] RobertAmirkhanyan:
I do not want to download the video, convert it and copy it to the phone. I watch video online. BTW 1080p has better quality (we are talking about video hosting websites) even on 720p displays because of the higher bitrate. Try to watch YouTube in a small screen.

mediafire[delete me].com/file/b2mdh10ummlfnxr/check_ducati.ts

This small file (h264 high L4.1, yuv420p, 23.976fps, 1920x1080) plays perfectly in a standard player or any other with hardware decoder support. With the correct ducati-m3.bin. Without it, it will be a slideshow with stuttering.
[General Questions and Answers] Avngr92:
Hey,

i have a wileyfox storm smartphone with cyanogenmod firmware. i modified my kernel to allow loadable module support by creating a custom config which includes everything (like CONFIG_MODULES=y).

but after compiling and flashing boot.img to my device, "lsmod" command still returns: cat: /proc/modules: No such file or directory ... any ideas? :/

I did it similar to this tutorial: ytliu.info/blog/2015/12/14/enable-config-module-in-cyanogenmod-kernel/

I flashed the boot.img and the kernel is running on the phone, but there is still no /proc/modules...

Thank you very much for every help! :good:

// AVN
[Xperia Z5 General] millicent:
steps

If coming from complete firmware reflash, you really got to let the phone 'settle' ie, sync your emails, photos and what not cloud services you sync with. When mediaserver usage decreases in battery usage you should be fine for next step

Delete all apps cache

Optional, if you have root/recovery mode you might be able to delete system cache

Optional, disable location scanning

Calibrate battery (you really gotta do this periodically)

I would add, as some sort of maintenance procedure, don't let your phone become too hot as that not only drains the battery faster but can permanently damage the battery, ie reduce its life/capacity.
[Xperia Z5 General] millicent:
There are also other ideas that I am currently trying, however as I am not sure they help or even cause problems of their own, will mention them later on when I'll have tested it more thoroughly: it's about debloating, usage access and others
[Xperia Z5 General] TheEndHK:
Some apps might not very well compatible with MM and draining. After a clean flashed I managed to get a good battery but after installed all apps the battery is a bit worse now.
[Xperia Z5 General] nitski:
Same observations here. Not a quality update for the moment. Having some problems with fingerprint unlocking. With lollipop I didn't encounter this kind of problem.
[Xperia Z5 General] gm007:
This is how to improve battery thread so don't start the crap about what you don't like in MM.
[Xperia Z5 General] zippy01:
I think trickle charge might be an issue for some. When it's been charging for some time and at 100% unplug and plug the charger back in a few times
[Xperia Z5 General] sajithsajan:
lol, try this way dude

problems
[Xperia Z5 General] :
[MENTION=4922463]sajithsajan[/MENTION], are you retarted? Quoting whole first post? Really?
[Xperia Z5 General] unfaix:
Going to give that a try, but, what was your screen brightness

I could get five hours with the brightness slider at zero.

Pretty much useless if I'm not in dark room all day.
[Xperia Z5 General] millicent:
The post says brightness halfway brightness slider (with adaptive display).

It's been a while since this post and a couple MM builds. I think that the battery calibration is still a good procedure towards experiencing better battery life, so I'd do that every month or so. Otherwise, look for more obvious issues. Just the other day I noticed a new --and very well rated-- social app I used for a few moments then, half an hour later it didn't let go of the location, even in background, exited with back button.
[Xperia Z5 General] BR4DOKYBrazil:
Did you notice a worsening in battery life on 6.0.1?
[Xperia Z5 General] millicent:
Without having timed it precisely, my ballpark numbers put it within same previous battery performance.

IMO, z5 is good enough for light to moderate usage, even some gaming although not expert on that.

It is good also for standby time (I keep on all location scanning that you might have, google now active etc), music listening ,etc.

What depletes the battery pretty fast though are any camera-related action/video recording, hangouts videochat. The camera also overheats quite rapidly so there's that.
[Nexus 6 Q&A, Help & Troubleshooting] Deleted member 2398568:
As I mentioned in the "request thread...

This should work for all carriers however I've only testing on Sprint.

The problem on Android N is with dm-verity. Follow the guide to get root as well as dm-verity disabled so you can make changes to build.prop through custom recovery.

Here's how:

1) Enable USB debugging

2) In a terminal on your PC

- adb shell

- settings put global tether_dun_required 0

3) Download this boot.IMG from phh, for build NPC56P here: https://superuser.phh.me/nexus/shamu...erity-r189.img

4) Flash it using fastboot:

- sudo fastboot flash boot *path-to-downloaded.IMG*

5) Then with the volume buttons select TWRP recovery.

Then: under "Mount" check 'system' to mount system partition

- sudo adb shell

- echo net.tethering.noprovisioning=true>>/system/build.prop

6) Reboot device and enjoy tethering.

Extra) If you want root, just download Phh's SuperUser from the play store.
[Samsung Galaxy S7 Edge Questions and Answers] Carterman32:
Hi,

Just got the s7 Edge and am having an issue with using the keyboard with the edge screen. When I'm typing on the phone, my palm regularly and inadvertently touches keys on the left side of the screen, particularly caps lock. As you can imagine, this gets frustrating quickly. Any fix for this?
[Samsung Galaxy S7 Edge Questions and Answers] Brava27:
A case.
[Samsung Galaxy S7 Edge Questions and Answers] kolembo:
You'll get used to it. It's the one thing about those curved screens.

The keyboard also.
[Samsung Galaxy S7 Edge Questions and Answers] Carterman32:
From what I've read, others who've had the Galaxy 6 edge didn't have this problem. The screen is overly sensitive. It's nearly impossible to type without it caps locking or switching to symbols. This is really poor design. I'm surprised this was such a highly acclaimed phone when it has this big of a flaw. The curved screen shouldn't be a drawback.
[Samsung Galaxy S7 Edge Questions and Answers] blewis540:
You either learn to not do it or with the help of a case it's much less of a problem
[Samsung Galaxy S7 Edge Questions and Answers] CuBz90:
There has been an update pushed out by Samsung to fix this. Some people are getting it a bit later and if you have a branded S7e you will have to wait until the carrier releases it.
[Samsung Galaxy S7 Edge Questions and Answers] Carterman32:
I called Verizon and they weren't aware of an upcoming patch, and that all patches are released by the manufacturer anyway. So I'm not clear on why Samsung would not have released it yet. Has anyone who's gotten the patch on other networks found that the issue is fixed? I assume this problem exists on every Edge 7.
[Samsung Galaxy S7 Edge Questions and Answers] CuBz90:
Weird. Maybe the person you spoke to wasn't aware. I've seen a lot of people saying it has fixed the sensitivity issue for them.

Here's the update...
[Samsung Galaxy S7 Edge Questions and Answers] Leelouster:
What's your Carrier Cubz? I was looking at your signature but I don't know what carrier is "EE" lol.
[Samsung Galaxy S7 Edge Questions and Answers] Tectas:
Another way, which build number are you currently on? At PB4 and PB6 the patch is most likely already included.
[Samsung Galaxy S7 Edge Questions and Answers] CuBz90:
I'm in the UK. My carrier is EE. I have an unbranded S7E
[Samsung Galaxy S7 Edge Questions and Answers] Leelouster:
Yeah I figured based on your signature lol. What does EE stand for? That's cool that you have an unbranded S7E however :)
[Samsung Galaxy S7 Edge Questions and Answers] CuBz90:
It stands for Everything Everywhere.
[Samsung Galaxy S7 Edge Questions and Answers] Carterman32:
I'm on pb1. But I'm wondering if this is just a flaw of a curved glass screen. Does anyone have a s6 edge that had sensitivity issues when the Web of their hand between the thumb and forefinger touched the screen while trying to type? Also, I got a case. It makes zero difference since the issue is the webbing touching the left side of the screen where the number, symbol, caps lock key is on the keyboard. It's nearly impossible to type an email unless I do it by consciously holding the webbing of my hand above the phone. The edge is such a useless design. I'd get the regular s7, but I wanted the bigger battery. I regret moving from the droid turbo. Everyone said this had the most screen on time, but I find it in line with the turbo.
[Samsung Galaxy S7 Edge Accessories] StreetkillnHD:
So I'm looking for a clear case on amazon. I'm looking for one that isn't slippery so basically rubbish.

Could I get some suggestions.
[Samsung Galaxy S7 Edge Accessories] DesignGrits:
The best clear cases I have ever owned were from Spigen. I had the Liquid crystal clear for the S6, and I just ordered the S7 one. Its so popular it's been pushed back on back order multiple times.
[Samsung Galaxy S7 Edge Accessories] Pilz:
The Ringke Fusion is nice, but as with most clear cases dust seems to magically appear inside. I think the glass back of the phone makes it worse; I will have my NeoHybrid in clear tomorrow which I hope will be nice.
[Samsung Galaxy S7 Edge Accessories] sigma25:
I think you can search on Amazon under the brand name ObliQ. I searched just on amazon and they have some. Caseology and iBlason are also some other good brands. I am not associated with any of these company. This is just for your information!
[Samsung Galaxy S7 Edge Accessories] sweets55:
I prefer the Samsung official clear cover. You can get 30% off if you register your phone. Last week I bought the Insignia clear tpu at Best Buy for $15 just for some protection. Now a T-Mobile has the Samsung cover in stock and said they will take 25% off. I decided to wait and see if Best Buy has it but I don't think they do yet if they will even carry it. I should have just got it at T-Mobile.
[Samsung Galaxy S7 Edge Accessories] DesignGrits:
The manufacturers and carriers always charge ridiculous prices for their cases, even when on sale. Maybe Samsung direct, but never from the carrier store. They're all about making commission, upselling and upping the prices.

I rarely ever buy anything other than Spigen, there products are top quality and always exceed my expectations.
[Samsung Galaxy S7 Edge Accessories] Intub8:
Speck has a decent clear case. I bought it at best buy until my clear uag case comes in. I always use the uag clear as my daily case.
[Samsung Galaxy S7 Edge Accessories] sweets55:
I know.... Some people like buying cheap cases online but 99% of the time I never like them. That's the main reason I buy in the store. It's a hassle returning things online. I have no problem spending $25 on a case if I know I like it. I'm getting a free VR, free year of Netflix, free Samsung wireless charger and a $30 coupon at Best Buy. I'm happy.
[Samsung Galaxy S7 Edge Accessories] pietronigro:
If the one I ordered from ebay is total crap ill go for a spigen clear case!
[Samsung Galaxy S7 Edge Accessories] ramheer:
Hi guy's I have just finished reviewing the Otterbox Symmetry Clear Case on YouTube, I bought it with my own money and I don't earn a penny from my reviews. Click on my link below and see the flaws with this case and the plus points.

https://youtu.be/gFWH9Y_bD3Y

I will be reviewing a lot more case's in the next few days so subscribe to my channel as I might save you time and money. Please enjoy and thank you.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Sam3style:
Here is the problem :-

1. Full charged batttery (NEW) drain out within 2 hrs

2. Exec in standby mode, got heat (warm)

3. While charging, i put it on standby mode, few second later it wake up it self.

4. while open the cover, usually have to press the power button it's only wakeup, but this time its on every moment..

Tried solution :-

Problems occured while using gprs for internet, it hang so soft reset it... after soft reset everything is fine, but the battery drain out so fast... and the device is WARM...

Flashed back to original rom (o2) - still the same

Tried flashed to WM6 - still the same problem

i got 2 x batteries... the problem still the same (not the battery problem)

anyone can help out with this?

thank you so much
[JASJAR, XDA Exec, MDA Pro Software Upgrading] mo3ulla:
try using 2А battery charger .. I have had similar problems that I decided to convert the old computer power supply for charging purposes
[JASJAR, XDA Exec, MDA Pro Software Upgrading] mzalan:
I was going to say your battert's old and dead, but since you said it was independent from the battery, now I think the drain and the heating might be explained by a short circuit somewhere in the non-vital parts of the device, or a malfunction of the power control circuit, causing constant drain and heating up the battery.

As for the device beng constantly on, have you checked the power settings? If those are all right, they can stil be attributed to the faulty power controller...

I suggest you take it to a repair shop(since your ROM-flashing probably voided the warranty, so the provider will just turn you away...), they might be able to do something with it.

I suggest you check back later to see if someone more knowledgeable than me offered confirmation or another opinion...

Good Luck!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] maicrosoft:
theres only one thing i can think of: Turn off your wifi when you dont use it Xp Thats the only reason i can think of when your device gets warm and the battery quickly drained ; D
[JASJAR, XDA Exec, MDA Pro Software Upgrading] mzalan:
I don't think so...the wifi doesn't use nearly enough power to heat up the device or drain the battery that quickly. Even with all wireless options enabled, but screen brightness set to minimum, the battery lasts approximately one and a half hours for me.

I think the quick drain and heating is caused by either a non-critical short-circuit or a faulty power controller circuit...
[JASJAR, XDA Exec, MDA Pro Software Upgrading] maicrosoft:
maybe you gor ripped off. what kind of battery did you buy?
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Sam3style:
The battery that im bought recently

same as the old one.

PU16A Li-ion Polymer Battery 1620mAh

everything i tried to save the power

everything off except the phone, the backlight set to the lowest.

im charge it with my charger instead of USB port from computer