yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] silegeek:
if you tried "fastboot getvar cid" and its blank then I would say yes something might be wrong. in my experience "getvar all" doesn't always show all the information. and when I was super cid, it came up blank. but "getvar cid" usually worked. but since being HTC__001 (WWE) it's always shown up regardless of method.

you can usually flash an appropriate RUU by altering either your cid or mid. for instance I was able to successfully install the US Nougat RUU by changing my cid to BS_US001 and my mid to 2PS650000. Afterwards I changed back to HTC__001 and 2PS620000

i would not recommend flashing 2PSIMG.zip from the SD card unless you are totally sure it is suitable for your phone, and even then, check again. if it gives you warnings, pay attention to what they are.
[HTC 10 Questions & Answers] kazuki1:
have you tried flashing the RUU manually? by using a 2PS6img.zip file? it will run in recovery on your phone automatically when you have it on there. I had trouble flashing RUUs before on my 10, had to relock the bootloader and manually install a stock img.
[HTC 10 Questions & Answers] dottat:
All sorts of wrong advice there. No need to relock on this device. Also, the ruu will not run in recovery.
[HTC 10 Questions & Answers] kazuki1:
Meant download mode not recovery sorry. And I actually had to relock my device, but tysm.
[HTC 10 Questions & Answers] Ryanchan97:
Now I am able to open download mode, but it says "failed to boot into download mode." I tried to use the RUU.exe while in fastboot mode it says battery is lower than 30%. And when I connect the phone after powering off it says no usb connection.

I am trying to flash individual firmware, but I cant figure one the one for the usb_typec_otp.img. do you know the partition name?

Thanks for all the advices!
[HTC 10 Questions & Answers] dottat:
How many did you get flashed so far?
[HTC 10 Questions & Answers] Ryanchan97:
Do you know what is the partition for usb_typec_otp.img? also gpt_main_16g? Is there a list that I can reference to?

The phone can boot now, and I tried to run the RUU, but it says ERROR. Either low battery or cannot establish USB connection.

Advices?

Btw, thank you so much for everything.
[HTC 10 Questions & Answers] Ryanchan97:
The ones I have left are:

usb_typec_otp

usb_typec_otp_ad

tp_SYN3708

sensor_hub

rcdata

cs_CY8C

dzdata_16g

dzdata_32g

dzdata_64g

gpt_main_16g

gpt_main_32g

gpt_main_64g

I don't know the partition names for these. Any clue?

Thank you so much!
[HTC 10 Questions & Answers] dottat:
GPT is the partition table. You only flash the one sized for your internal memory (likely 32g). The flash command is fastboot flash partition gpt_main_32g

The USB one needs to be flashed as a zip so skip for now.
[HTC 10 Questions & Answers] Ryanchan97:
My device says "failed to boot into download mode". Do you have any suggestions on how to fix this?

Thanks!
[LG G5 Questions & Answers] DanielCKW1:
Based on the compatibility list from Sandisk's website, the LG G5 supports Sandisk Ultra Dual USB Drive Type-C.

The link can be found here: kb.sandisk.com/app/answers/detail/a_id/17189

I will try to describe my problem clearly below.

I just bought a Sandisk Ultra Dual USB Drive Type-C 128GB. It work fine with my laptop when I use the usb A connector. My phone have the camplus module connected and I tried to connect the type c connector of the Ultra Dual USB Drive to my LG G5 and I realise the phone was unable to recognize it or even detect it. So after sometime I figure out that the problem is most likely the CamPlus so i swapped the module with the original phone connector (the components with speaker only). Now the LG G5 is able to detect the USB drive but it is quite intermittent and the USB Drive can get ejected randomly. I also downloaded the Sandisk Memory Zone App and the application was not able to detect the USB drive. I tried es file manager too but it is also unable to detect the flash drive. The only file manager that works is the build-in LG's file manager and as I mention previously the USB drive can get ejected randomly the build-in LG's file manager is only able to detect the USB drive when it is successfully mounted. On some lucky occasion when the USB drive is mounted successfully, I am able to see the thumbnail of the content inside the USB drive but I am unable to play any video from the USB drive.

I tried the Sandisk Ultra Dual USB Drive Type-C on my Zenfone 3 which also have a USB type c connector port. Initially, when I plugged in the USB drive into my Zenfone 3 said something about unrecognized format and suggest me to format it on the phone. I followed the onscreen instruction and format the USB drive, now the USB drive works flawlessly on my Zenfone 3.

Next, I tried to used the formatted USB drive on my LG G5 but the same issue that I encounter previously on the LG G5 still persist.

Does anyone have any idea is LG phone only able to recognize sd card instead of USB drive? Had anyone encountered my problem before and know the work around or perhaps anyone have some idea how to fix it? I am also not really sure why is the LG G5 only able to view the content the build-in LG's file manager. Thanks for reading this long post. Cheers!

P.S.The USB drive is formatted in exFAT format. The phone is also not root.
[G 2014 Q&A, Help & Troubleshooting] saurabhkashyap:
can latest cm13 snapshot dated 21-12-16 be dirty flashed over previous snapshot cm13 15/11/16 using twrp 3.0.2-3 recovery. For OTA update do we need to change the twrp recovery or it will install itself without any problem.
[G 2014 Q&A, Help & Troubleshooting] haytham.kenway:
no
[ZTE Axon 7 Questions & Answers] jcnieto21:
Hello, just bought this phone but I bought it from the used dept of BH store, I'm from Perú btw, thing is when I started the phone it is asking me from a google account from the former owner, of course I don't have the info neither the store, they only asked me to return the phone but I would lose money since I have paid here something extra for taxes, also I really like this phone. So my question is: Is there a way to bypass the google verification on this model A2017U, I have tried some methods but I can't get the 3 dots where I was supposed to login in a browser. Any help is appreciated!
[ZTE Axon 7 Questions & Answers] YuheW:
Factory reset wouldn't help if your bootloader hasn't been unlocked. You may check this link and get some ideas:

http://android.stackexchange.com/qu...-verify-your-account-factory-reset-protection
[YotaPhone] xcCool:
Hi All,

I recently brought a Yotephone 2 (from China) and upgraded it to Lollipop (LRX21M5.0.0-EU1.1.124b).

I was hoping to use the e-ink screen with the OsmAnd+ but when using the e-ink screen the compass is reversed so the map confusing to use. I tested the compass using GPS Status. With GPS Status open on the main screen and the phone pointing north (up), west (left), etc. Switching to the e-ink screen (phone pointing north), west is now on the right side, this is clearly wrong. The firmware should compensate for this so that any app reading the compass is correct. Anyone else noticed this?

[IMG="Yotaphone2 compass - correct on main screen"]https://drive.google.com/open?id=0BxriYaYdD0buYjc5UWFPZ2FoY1k[/IMG]

[IMG="Yotaphone2 compass - wrong on e-ink screen"]https://drive.google.com/open?id=0BxriYaYdD0buclVaeUVRVEVzYTg[/IMG]
[YotaPhone] alienBaboso:
The compass is reversed because you are holding the phone backflipped. The same would happen with a real compass. The developers of Google maps didn't thought about a phone having a screen in the back. There's one maps app in the yotastore designed for the EPD, but I cannot tell if it fixes this issue, as it is also based on Google Maps. My best suggestion is to send a message to the developers of Yotaphone in their facebook channel, so they can fix the issue in their next update which is currently in the works.
[Android Apps and Games] mattnin:
*Changelog*

Why build another CAF browser?

I am building this because I wanted a nicely developed and secure open source browser for my own personal use and for my family. I appreciate the offerings on f-droid and the open source chromium build, but I wanted the snapdragon optimized version and there is none to be found that are entirely open source and not making changes to the original Code Aurora source code! I am also somewhat concerned that some of the browsers on F-Droid may possibly have security vulnerabilities despite their respective developers best intentions.

Is this browser fast?

Yes! After optimizations posted in the build guide, the SWE Browser is faster than Chrome in every which way.

Will you be keeping this browser up to date?

Well, I do plan on keeping this up to date as long as there is no official Code Aurora browser being published. Would someone please complain to Code Aurora and ask why they are not building it and publishing it? My Ubuntu 14.04 machine runs all day and while I'm gone at work, why not have it build this browser and other things I'd like to have?

Will you add new features to this browser?

No, I will not. I plan on keeping these builds completely stock as it would come from Code Aurora themselves. There are however hidden features that may be enabled. I am looking into it.

I have a bug, can you fix it?

No I will not fix it. This is a beta build, m55. It probably does have some bugs! If there is a problem with the build, it's up to Code Aurora to fix and not me.

Hey, want to try a new compiler to optimize this build?

Sure! Or if you happen to know of other ways we can compile SWE_Browser and have suggestions for other compilers or libraries we can use to tune this build, please post them here! Let's gather a master list of ways we can all compile this APK ourselves!

*edit 12/23/2016*

After careful consideration, I decided not to try new compilers. I decided I am going to follow Code Aurora's build environment exactly as recommended on their own website. After all, I think they probably know what's best for their own software they created.

Can I post benchmarks in this thread?

Sure, please do! I ran several benchmarks and they are all over the place. The SWE Browser is faster than Chrome but runs about the same speed as other CAF based browsers.

If you have any suggestions at all about the browser or the build environment, please post!

--Helpful References--

https://github.com/scweeny/CAF/

https://xdaforums.com/general/general/guide-building-chromium-snapdragon-t3255475

https://github.com/gwindlord/caf_chromium_build

https://source.codeaurora.org/quic/chrome4sdp/

Import Bookmarks from Chrome

Fix AMP pages
[Android Apps and Games] TheUser123:
Thank you for the guide and i'm looking forward to the complete version, i been missing with this for pass few day and i still cant figure it out, also could you include how to customize it to add google sync and patches and stuff.
[Android Apps and Games] thisisarjun:
hello,

does it support cm 11?
[Android Apps and Games] mattnin:
I just now updated the guide, see above. I am sorry, I don't plan on adding any patches at the moment. You can check gwinlords guide linked above. In it, there are several patches that can be added.

I'm sorry, it does not. The browser will only run on LP or MM based OS's at this time. I updated the title of this thread to reflect that.
[Android Apps and Games] mattnin:
Everyone who uses SWE Browser should always get the latest version. I notice people are still downloading the first build but I encountered several errors during that build. I've gotten much better at setting up the environment since then. I've noticed benchmark improvement on the latest build too, just sayin!
[Android Apps and Games] 10goto10:
Why is Web Refiner not part of this build? Otherwise the browser is running fine and is pretty fast even compared to other CAF browsers, good job OP.
[Android Apps and Games] mattnin:
Web refiner must not be part of Code Aurora's m55 build. Is it part of other Code Aurora's builds? The SWE Browser is built exactly as recommended per their own sync and build instructions. I can't even use the Qualcomm LLVM even if I wanted to because m55 uses a newer toolchain.

I agree, the browser is pretty fast especially the last build. This is the only browser I use now. I compiled SWE browser last Saturday and the version number did not increment so I did not upload it in case anyone was wondering.
[Android Apps and Games] 10goto10:
Yes, I think. It's included in some custom builds: YuBrowser (m54, customized by the Mokee team) and TugaPower Browser (m54, m55, and m56). I like to browse the web without ads ;)

I'm not a dev myself, but maybe these links can help you:

https://wiki.codeaurora.org/xwiki/bin/Chromium+for+Snapdragon/Customization+for+M42

https://source.codeaurora.org/quic/...5&id=950ba75f9296bfe4318ac39ff966cc2e48512ff5
[Android Apps and Games] mattnin:
Interesting. Looks like I should be able to enable this feature by including a proper configuration. Thanks for heads up! Once I have that completed, I'll update the download and the guide. :good:
[Android Apps and Games] mattnin:
Thanks again [MENTION=4114467]10goto10[/MENTION] for the heads up on web refiner. It's working perfectly with the default host files recommended by AdAway.

The browser version number is the same as the previous build but I did sync the repository as of 07 Jan. Updated the guide with new build instructions and androidfilehost with the latest build.

*edit*

Dammit, I had a copy paste error in the adblocking conf file. I didn't have a lot of time tonight to work on the SWE Browser and I must have rushed a bit and didn't notice I used the same URL twice. So the last build's web refiner is only using two host files. Even though it is only using two files and not three, it's still doing a good job according to my tests.

Also, in case anyone is wondering, bookmarks are saved after updating manually.

*edit again*

Ok, fixed the guide and updated the pgl.yoyo.org url. Synced the local repo, didn't see any new changes from Code Aurora. Set it to build. I'll update androidfilehost with the build as soon as it's done!
[Android Apps and Games] mattnin:
The new build is up, and version number incremented to 55.0.2883.2641472, so get the newest version with web refiner in the top post.
[Android Apps and Games] FanDroid09:
Just wanted to say thanks for doing this. I've had the same thoughts as you for a while now... wondering why CAF doesn't put out an official apk, and wanting to figure out how to build it for myself as well. Looks like you beat me to it haha.

The guide is awesome too. :good:
[Android Apps and Games] 10goto10:
Can confirm now webrefiner is working as intended! [MENTION=7149109]mattnin[/MENTION] you rock!
[Android Apps and Games] mattnin:
You're welcome. Glad I could give back to this great community! I'm still working on the guide, it's not finished! I'll make it easier to follow and understand.

Holy cow, it blocked 23 advertisements! That's gotta be a record! :p

Good news everyone. I know why the other CAF builds are larger than mine, and I also know why they are just a little faster than mine. Not anymore...

After taking the tip by [MENTION=4114467]10goto10[/MENTION] and looking into webrefiner, I began to dig into the source code and look into other 'hidden' features of Code Aurora's SWE Browser. I came across the same optimizations that the other CAF browsers are running. I found that the optimizations sacrifice build size for speed. See the code below.

GYP_CHROMIUM_NO_ACTION=1 gn gen out/Default --args='target_os="android" symbol_level=0 is_debug=false optimize_for_size=false remove_webcore_debug_symbols=true'

Not only that, but there may be some other code aurora features I can enable. I will keep plugging away and see what I can accomplish, but here we are again with a new build. It's the same version as the last but optimized for SPEED! :laugh: run some benchmarks and see for yourself.
[Android Apps and Games] mattnin:
Here are benchmark scores using Octane,

Chrome 4792

SWE Browser 5443

SWE Browser smokes Chrome! :good:
[Android Apps and Games] 10goto10:
Done some JS & DOM benchmarks myself against the latest Samsung Browser and the previous version of this browser.

~14% speed improvement compared to the previous version, awesome! :good:

...and it's even ~5% faster than TugaBrowser M55. YuBrowser M54 is ~8% faster though, but it eats RAM like nobody's business :eek:
[Android Apps and Games] mattnin:
I'm working on the YuBrowser speed advantage... It could be because YuBrowser is based on stable CAF, not sure at this point but I will get to the bottom of it.
[Android Apps and Games] mattnin:
Try the yubrowser comparison now. Maybe try clearing app cache after new install. Now getting 5759 on Octane. New build up, version incremented.
[Android Apps and Games] 10goto10:
Man, you're a frikkin machine, cranking out these builds like it's nothing :p

On the left is your latest build, and on the right is the latest version of YuBrowser. (I cleared data and cache, etc.)

Still no luck on the JS performance forefront; YuBrowser M54 is still ~8% faster.

But DOM / Page load+manipulation is faster by ~6% on your (latest) build, and that's the reason why I prefer your browser over YuBrowser. :good:

Also, I can't confirm this right now since I'm on TouchWiz, but on CM13 peak memory usage under the same workload is higher on YuBrowser than.... any other browser I could think of, really. That sucks because other background apps get closed when I do some intensive browsing with it..

Your hypothesis might be correct: JS on M54 is probably more optimized because it's CAF's stable release, and there's probably something about M55 using a newer toolchain.

p.s: I attached a BT keyboard now while running the Speedometer benchmarks, because it likes to open the virtual keyboard from time to time, and that might affect the results. So that's why the benchmark score for that is higher than my previous runs.
[Android Apps and Games] mattnin:
The list I posted in the 1st post is included in this build which includes ublock adblock.
[Android Apps and Games] ainurrofiq:
Okay i know sir. I have read entire post in this thread . :)

Btw this is my unlock list from Firefox

I hope i can build my own. But i don't have the environment
[Android Apps and Games] Ldbrown01:
I have tried everything and it just wont load my bookmarks. Very frustrating! Any help would be appreciated!
[Android Apps and Games] ArslanTheGreat:
[MENTION=6306270]ainurrofiq[/MENTION]

if your on windows and have a decent computer you can setup a build environment using a VM (virtual machine).
[Android Apps and Games] ainurrofiq:
Can you upload your build. My laptop is crappy

---------- Post added at 06:00 AM ---------- Previous post was at 05:59 AM ----------

Can you upload your build that you add lot of block list . My laptop is crappy
[Android Apps and Games] 10goto10:
He already uploaded it, check the first post.
[Android Apps and Games] ainurrofiq:
From [MENTION=8032808]ArslanTheGreat[/MENTION] ?

---------- Post added at 06:43 AM ---------- Previous post was at 06:41 AM ----------

This build?
[Android Apps and Games] 10goto10:
I thought you meant mattnin's. Mattnin's latest M57 build already blocks Google ads, btw. It appears a split second before it gets blocked though.
[Android Apps and Games] ainurrofiq:
Yeah. But i like strict block
[Android Apps and Games] mattnin:
Not sure why it's doing that. I'll try some different host files this weekend. If anyone has any ideas or alternative host files for me to try, please post them here.
[Android Apps and Games] icemanjr.:
Hey Dev,

Can you please upload the source code for your APK file? Please?
[Android Apps and Games] mattnin:
Did you read the OP??
[Android Apps and Games] icemanjr.:
Yes i did, I mean source code for the browser APK not the CodeAurora.
[Android Apps and Games] ndarkside93:
That is the source code. He directly builds his apk from the code aurora forum source for swe browser. He doesn't change anything, except including hosts files which are readily available elsewhere.
[Android Apps and Games] icemanjr.:
I need source code for browser APK so badly but my internet speed sucks. Is there any way to get APK source code, please?
[Android Apps and Games] mattnin:
Download the source from Code Aurora, apply the patch I attached to the first post and you will have the same exact browser I'm offering.
[Android Apps and Games] mattnin:
Don't know what to tell you. The browser source is 40 GB.
[Android Apps and Games] icemanjr.:
Holy Moly sh*t 40GiB is so so so huge for me, i have stable 220KBPS connection... I tried to decompile your APK but failed to get source.
[Android Apps and Games] Primokorn:
It seems you don't really understand what's a source code is.

If we could get the original code with a simple APKTool decompilation, proprietary softwares would not exist. :)
[Android Apps and Games] Koloses:
Well, the source for M57 was around 16 GB and 28 after building for me as far as i remember. Anyway thanks for including a tutorial on how to build it since I needed to update system webview for my Lineage 13 on Galaxy J5. Funny how much you need to make 50 MB apk. At least I can see why custom ROM sources are using prebuilt webview :)
[Android Apps and Games] titetanium:
Is there any way you can patch in code to import/export bookmarks to/from sdcard? I'm thinking for non-rooted phones the bookmarks can be exported from data/data/swebroswer/bookmarks to /storage/sdcard/backups/bookmarks and vice versa or something like that. Is this doable without having to root my phone?
[Android Apps and Games] mattnin:
You're welcome! I'm glad to help out!

I wish I could do that, but I bet a patch like that would be extremely difficult to accomplish.
[Android Apps and Games] mattnin:
A new build is up today. I removed several host files and just left the adaway files I started with because the added host files slowed the browser down considerably and broke several websites. I realize I can't make everyone happy and I was not happy with the way the browser was performing on my phone. There are several individuals in this thread making alternate versions of the browser with several ad blocking host files baked in, maybe they will be glad to share their builds here.
[Android Apps and Games] ainurrofiq:
Yes . [MENTION=8032808]ArslanTheGreat[/MENTION] have it .I hope he will share it here
[Android Apps and Games] yoreek:
Thanks for your work! It's there a way to change incognito search engine? Now there is only one option - Google.
[Android Apps and Games] mattnin:
This is a bug that occurred after updating from m56 to m57. The only way to fix is to wipe the SWE Browser data and cache. I had to do the same thing and save my SWE bookmark file and restore it after updating.
[Android Apps and Games] yoreek:
Thanks! I have done that. Now I can change search engine for normal tabs, but when I try to change incognito tabs, the app keeps crashing.
[Android Apps and Games] mattnin:
Try clearing data and cache again maybe. There are bugs in m57. I am also getting strange behavior when selecting search provider for incognito tabs on this build. Let's hope Code Aurora fixes this soon.
[Android Apps and Games] yoreek:
I will rather leave it as is until it's fixed. It seems pointless to repeat the same actions hoping to cure the bug. But thanks anyway. Your project is great. :)
[Android Apps and Games] Panic84:
is there any way to be always on power saving mode? I activate it manually but if I close the browser and reopen again is deactivated. Thanks for the browser, is superfast
[Android Apps and Games] yoreek:
A little question about privacy. As is known, chromium, almost like chrome, still has privacy concerns, as it retains some services communicating with Google's servers in the background. See here, for example: https://github.com/Eloston/ungoogled-chromium

To your knowledge, is this browser clean in this regard?