yashsingh1/xdaforums huggingface dataset:
[Moto E Q&A, Help & Troubleshooting] superazo:
Tried...:(

fastboot flash recovery twrp-3.0.2-0-condor.img
target reported max download size of 299892736 bytes
sending 'recovery' (6808 KB)...
OKAY [ 0.244s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.295s

If I reboot and go to "Recovery" voice:

failed to validate system image
Boot up failed
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] grumrick:
Has anyone disassembled, done a teardown of, an sm-p605 (or 600, 601)? If so, could you tell me if the internal storage, 16GB or 32GB, is removable and replaceable, or is it hard-wired? Thank you.
[Asus ZenFone 3 Ultra Guides, News, & Discussion] AWFRONT:
DPI Settings for ASUS ZenFone 3 Ultra [Android 6.0/Marshmallow]

I have just bought my new ZF3U and as with my previous Huawei P8 Max, which was of the same screen size, I went ahead to find the optimum DPI scaling for enabling Tablet Mode and wanted to share my findings with you. As always, use the following ADB commands to achieve the desired change [Remove brackets and simply replace the below number with your desired DPI and use the second code if you want to revert to your default factory DPI.] Rest assured I have tried all the possible DPI settings and depending on your taste and desired experience, the following DPI choices are the only ones worth trying UNLESS you don't like the Tablet Mode, which in that case don't try practicing any of the settings below or if you want objects bigger then simply increase the DPI until you are happy with your DPI scaling to make objects larger. Enjoy!

adb shell wm density [241] && adb reboot

adb shell wm density reset && adb reboot

DPI 217: Full Tablet Mode- Dual SIM Settings Menu inside Phone Settings and Stock Camera Functionality Lost

DPI 241: Medium Tablet Mode- Stock Camera Manual Mode Functionality Lost and Loss of Tablet Functionality for some Applications such as eBay.

DPI 264: Medium Tablet Mode- As DPI 241 but also shows full name of contacts on the ASUS Contacts application whereas other modes will not show complete Contact Name in Portrait mode.

DPI 289: Limited Tablet Mode-High/Near Stock Scaling of Items/Menus which may defeat the whole point of rescaling the UI DPI.

NOTE: On all the four DPI modes listed above, the Tablet mode is enabled on the ASUS Contacts application with the side menu as well as the tablet mode enabling on the phone settings menu.
[Asus ZenFone 3 Ultra Guides, News, & Discussion] xkip:
Hi there! Just a bit surprised, because I also just bough ZF3U to replace faulted P8 Max :)

Thanks for your observation... Honestly, I like that it have higher density by default and this time I decided to stay with default DPI for now...
[Asus ZenFone 3 Ultra Guides, News, & Discussion] DJ_ZX:
Question: what's exactly meant under "Stock Camera Functionality Lost"?

Does that mean it stopped working or something different?
[Asus ZenFone 3 Ultra Guides, News, & Discussion] AWFRONT:
Yes, it means at the lowest dpi the stock camera will not work at all and at 264 you lose the manual settings inside the camera app so the camera app will have limited functionality. I am hoping to revise these dpi tests when Android 7 is eventually released which I very much hope will be soon.
[Microsoft Lumia 950/950 XL] scottmac99:
I want to disable the stupid Windows feedback app, which is

always

popping up when I press the <on/off> and <down volume> keys by accident.

Any suggestions?
[Microsoft Lumia 950/950 XL] TeddySo:
As far as I know, that's not possible :(
[Microsoft Lumia 950/950 XL] scottmac99:
Thanks Teddy. I think I am going to have to find a way to root the phone. There's lots about it I like (e.g. the update to the camera app that means I now have a panorama option that actually works quite well), and lots about it I don't like (e.g. the fact that it seems not to be able learn the words I use regularly - every time I type "for" it insists on telling me I really meant to type "fir"; and the bluetooth is pretty bad - I can't connect to my Bose SL III reliably, but my ancient Samsung Galaxy II has no problems).
[Microsoft Lumia 950/950 XL] TeddySo:
Well, there are some tools available to root the phone. The way I can see that might work is to completely remove Win Feedback from the phone by accessing the OS FileSystem and deleting app's files.

You can very easily gain access to the filesystem: Create a shortcut to your C: drive on pc and upload it on the phone, from here open it with File Explorer and you're on the root of the device (this actually works :) ). From there try to find the Win Feedback app and delete its files. Be careful as doing something wrong, you might need to reset the device.
[Microsoft Lumia 950/950 XL] scottmac99:
Hmmm ... tried that but I must have stuffed it up. All I get on the phone is a link to the shortcut on my PC. I'll try emailing the shortcut to myself on my phone, then save it from there. Will let you know what happens.

LATER: Nope, that didn't work.
[Microsoft Lumia 950/950 XL] scottmac99:
I have the answer !!!

http://windowsphone.stackexchange.com/questions/13452/how-to-disable-windows-10-mobile-feedback
[MDA II, XDA II, 2060 ROM Development] coolmajid:
hi i have O2 xda2

with wm 2003WWE

radio version 1.17.00

ExtROM version 1.72.181

i want to upgrade it to wm5...

plz give me the link from were i can download wm5..
[MDA II, XDA II, 2060 ROM Development] Rudegar:
http://xdaforums.com/showthread.php?t=287941
[MDA II, XDA II, 2060 ROM Development] coolmajid:
@ Rudegar

thanks a lot.....
[MDA II, XDA II, 2060 ROM Development] stevoledevo:
i'd like to do the same, but the links for the upgrades seem to be dead. dows anyone have any up to date links?

cheers
[MDA II, XDA II, 2060 ROM Development] scousemartin:
WM6.1

http://rapidshare.com/files/125834862/Syed_Ather_WM_6.1_Dark_Edition.rar

http://rapidshare.com/files/54515266/TofClock_HIMA_WM6_AKU.0.7.rar

WM5

http://rapidshare.com/files/11582249/Windows_Mobile_5_for_PPC.zip.html

old version. If i were you i would just upgrade to wm6.1
[MDA II, XDA II, 2060 ROM Development] stevoledevo:
will there be any loss in performance with 6.1?
[MDA II, XDA II, 2060 ROM Development] scousemartin:
well try it and find out if there is? That is the point of flashing roms to see if you personally find that the rom is better or worse. What one person finds great in a rom another thinks it is bad. Its all personal taste in the end. But you will never find out unless you try
[MDA II, XDA II, 2060 ROM Development] stevoledevo:
yeh i suppose so. i'll give 6.1 a try though. is it easy enough to put it back to an earlier rom? total newb here as u might have guessed .;)
[MDA II, XDA II, 2060 ROM Development] Rudegar:
flashing works the same way if one up or downgrade
[MDA II, XDA II, 2060 ROM Development] hirashgeff:
thanks now how do i install this on my o2 XDA II ?
[MDA II, XDA II, 2060 ROM Development] Hakim Rahman:
Just follow the tutorial for the Upgrade ~ http://xdaforums.com/showpost.php?p=2671584&postcount=1
[Asus ZenFone 3 Ultra Questions & Answers] AWFRONT:
Hello everyone!

Can anyone please help me with the correct guide to activating Tethering on this phone with Windows 10 x64. It is very annoying that there is no one simple solution and/or set of drivers to initiate tethering. Each time I activate USB or Wifi tehering, the windows network bar states that it is connected but there is no internet. My data tariff does include tethering and I was able to tether on my previous Samsung phones and Huawei P8 Max with no issues but with this phone, it is either too complicated or there is a problem with the phone/set of drivers I have that is causing this issue. Before you ask, I have tried lots of workarounds on Google and Youtube including clearing cache and enabling driver signing on windows 10 advanced recovery in start up but so far none seem to work. I did manage to momentarily get tethering working but not sure why it does not work consistently and hassle-free. It really does not need to be that complicated or annoying to get such a simple feature enabled. I hope someone can upload the correct, hassle free method and USB/tethering drivers for this phone or I will have to wait until ASUS releases Android 7.0 for ZF3U to see if the problem is resolved. Thank you for you help or comments/findings in advance!
[Fire TV Q&A, Help & Troubleshooting] Modify_inc:
FireTV Box Gen 1

S/W: 51.1.6.3 Rooted

About a week ago, I noticed I only had about 1.56 GB of space left on my box. I assumed Kodi was the culprit, so I removed much of Kodi's data, thumbnails, addons, etc. I got Kodi down to around 600 MB, but realized the extra space gained wasn't much, putting the storage capacity at 1.63 GB. So I removed a couple of apps leaving only 4 or 5 that together may take up 50 MB. I don't use anything on the Firetv but Kodi, so I can't figure out what is eating up all my space, and it has gotten worse. It now shows I only have 873 MB of 5.49 GB, yet Kodi is only using about 750 MB.

Running ES File Explorer's SD Card Analyzer shows that under the heading: Others - 3.73 GB is used. The problem is it will not let me view what is in it or delete any of it. I would love to know what is consuming all of this space. I tried other apps like, CCleaner, and SD Maid but they didn't even recognize this 3.73 GB of unaccounted data.

Any suggestions as to how to identify where all my storage space is going, and mostly, free it back up? I realize the OS uses some of the storage space, but I don't recall it ever being this much.

Thank you
[Fire TV Q&A, Help & Troubleshooting] retyre:
I had a similar issue with my AFTV2 (see my post earlier in this forum). Clearly, the issue is in /data. Go to that directory and run the following as root in a shell: du -h -d 1

This will list the disk usage by directory. The biggest hogs will usually be: data, app, dalvik-cache, and media. Go to each of those directories and check the du. Rinse and repeat. In my case, it was the FTV Launcher (in particular, the file /data/data/com.amazon.tv.launcher/databases/mbcache.db). Yours could be different, but the disk usage will reveal the problem. If it's not obvious, compare the output of du -h -d 1 every 24 hours or so (you could cat it to a file) and you will find the culprit.
[Fire TV Q&A, Help & Troubleshooting] Modify_inc:
Thank you very much!

The mbcache.db was also my culprit, at 3.11 GB. I deleted it and I now have 3.96 GB of free space. That size just seems ridiculous for a database. Not sure what caused it to get so big, but it had to go.
[Fire TV Q&A, Help & Troubleshooting] JeffDC:
I'm not very familiar with FTV yet. Would you share just how to do that? I have an unrooted FTV2/5.2.1.1.

Thank you.

---------- Post added at 06:13 AM ---------- Previous post was at 06:11 AM ----------

Do you know what mbcache.db is created by?
[Fire TV Q&A, Help & Troubleshooting] notsed:
That's so weird. This just started happening to me about a week ago with the same box and software. I also thought it was Kodi so I removed it and started from scratch, but that didn't solve the problem. I usually start with around ~2 GB free, but after watching a movie or show for a while (or sometimes doing nothing at all) the little box would pop up telling me to remove apps because I'm running out of space. It would often take hours for my free space to go back to normal and rebooting the box didn't help.

Thanks for the command, retyre. I'll give it a try next time this happens.
[Fire TV Q&A, Help & Troubleshooting] lowbee:
This works. Thanks
[Fire TV Q&A, Help & Troubleshooting] bula1ca:
erased
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
Can someone please list step by step how to access and delete the mbcache.db file? Thanks
[Fire TV Q&A, Help & Troubleshooting] GenericAsianGuy:
This worked for me: https://www.andryou.com/2017/01/04/amazon-fire-tv-fix-low-storage-error/
[Fire TV Q&A, Help & Troubleshooting] cardboardbox:
thanks for asking this question and for the replies. Exactly what I came here looking for!
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
I successfully deleted the mbcache.db file, and now I can't get most of my apps to work on the Fire TV, even if I use Firestarter. I tried to put the mbcache.db file back, and even tried a factory reset to no avail. Can somebody tell me how to get the Fire TV back to it's previous state, where I can access apps like Amazon Prime Video?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
I upgraded to PreRooted FireOS 5 when I encountered the same problem after deleting some .dB files. Although my problem was only with YouTube.
[Fire TV Q&A, Help & Troubleshooting] Modify_inc:
I had locked my mscache.db back in January using the command chmod 0 mscache.db due to the massive space it was taking up. The Loading...Please wait message on the main page wasn't a big deal since I didn't use any of it.

Well, I finally got around to installing TWRP, which I then installed the pre-release 5.2.1.2_r1 update. It seemed to install without any issues, though I noticed I still had the Loading...Please Wait message, and the menu interface still looked the same as before. It doesn't look anything like the new interface as on the Gen 2 boxes (Isn't it suppose to?) Thinking it may have something to do with the mbcache.db still being locked, I checked the permissions on it and noticed it still had no permissions. Assuming the permissions should be the same as the other databases in the same folder, I typed chmod 660 mbcache.db. I verified it changed and confirmed the permissions matched with the other files in the database folder. I rebooted the box, and yet I still have the same continuous Loading... message, which always eventually says "We are currently unable to contact our servers."

Now that I have the mbcache.db unlocked, should I try reinstalling 5.2.1.2_r1 over itself or does someone have a better idea? Is it even safe to install the same version over itself?

Update: I confirmed the database files are being written to because the timestamps have changed from the previous date of 2017-01-03 to 2017-07-08 (current date).

Thank you
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
Thanks for the input. Do you know where I can find a guide to upgrade to PreRooted FireOS 5? I can't seem to find it on AFTVnews.
[Fire TV Q&A, Help & Troubleshooting] Y314K:
Everything I know is based on this guide:

http://www.aftvnews.com/how-to-install-twrp-custom-recovery-on-a-rooted-fire-tv-1/

But I expand about my experience on updating from FireOS 3 to FireOS 5 from the 4th post here:

https://xdaforums.com/fire-tv/help/help-to-unroot-fire-tv-to-original-t3612898

Read the whole guide tread. And don't get started until you know what you are doing. Everybody's starting point is different. So everybody needs to mod the Guide to their situation.
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
New issue, I've updated and downgraded many times. Now when I try to upgrade to 51.1.6.3 from 51.1.6.2 I get an error message when trying to push the zip file. Here is the log:

root@android:/ # adb push /Users/user1/update.zip /sdcard/

cannot stat '/Users/user1/update.zip': No such file or directory

I've searched similar problems, and tried every fix I can think of to no avail. Is it possible to get this zip file in the sdcard directory any other way??
[Fire TV Q&A, Help & Troubleshooting] Y314K:
I normally just use a Fat32 USB drive with all the files I'll need organized in separate clearly labeled folders.
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
Do you mean put the zip file on a USB drive, which I then plug into the Fire TV? If so, I do I then get to the boot loader screen if the USB drive is occupying where I would plug in the keyboard?
[Fire TV Q&A, Help & Troubleshooting] Y314K:
I use a powerless USB hub to connect both at the same time.
[Fire TV Q&A, Help & Troubleshooting] YOgun27:
thanks, I've made some progress and was able to use your program to update to 51.1.6.3. I also used the Downloader program to transfer TWRP 3.0.0-7.img. However now, i don't know how to install that without ADB. And when I put in the dd command, it says no such file or directory. Is there any other way to run this command?

Also, i can't seem to get out of root@android, even if I run "adb shell" command. Could that be the issue?
[XDA Assist] sawdoctor:
Greetings and welcome to assist. This is not really our field of expertise unfortunately. I know very little about Arduino but have used the raspberry Pi. We have a dedicated forum for the Pi here

http://xdaforums.com/raspberry-pi

I think the experts ther will be able to assist you bettert than us

Good Luck

Sawdoctor
[G4 Q&A, Help & Troubleshooting] Deleted member 5812728:
I wiped /data/misc/ to get out of a recovery bootloop. Turns out that doing so breaks the wifi mac address in CM. I'm able to temporarily set my address in /data/wifi/misc/config:

echo "cur_etheraddr=XX:XX:XX:XX:XX:XX" > /data/misc/wifi/config

The problem is that when I reboot, that file goes back to 00:00:00:00:00:00.

Digging around CM kernel source showed me what files are important.

CONFIG_BCMDHD_FW_PATH="/system/etc/firmware/fw_bcmdhd.bin"
CONFIG_BCMDHD_NVRAM_PATH="/system/etc/wifi/bcmdhd.cal"
CONFIG_BCMDHD_CONFIG_PATH="/data/misc/wifi/config"

/system/etc/wifi/bcmdhd.cal is showing a good mac address.

I KDZ'ed back to stock and everything worked great there. As soon as I flashed CM14.1 again it didn't work. It isn't a problem with the build, since it was working until I wiped /data/misc/.

Does anyone know how to fix this? I'm curious what config says on a working device, so could someone tell me what it says for them? I want to know 1) if /data/misc/wifi/config exists and 2) if it shows a real mac address or a bunch of zeros. I can't get CM file manager to open the file, so here's how to do it in adb:

adb shell "su 0 cat '/data/misc/wifi/config'"

What files are in /data/misc/wifi?

I'm not really looking for a workaround, since I could add that first script to a startup script or something. I want a permanent fix that won't go away next time I flash a rom.

Sorry for the long post. Any help would be appreciated. I've spend hours on this already.
[G4 Q&A, Help & Troubleshooting] bensono82:
Hi!

I also use your workaround now and i automated it, so thanks for ending my pain for the moment, but i would also like to see a permanent fix for this. I tried every available stock rom and all available methods to aply it to bring back what cm seams to be depending on for setting the mac - but no success. To me this looks like a bug - not a very common one, but still a bug because the stock roms do not have any problem at all, only cm does.

br, Martin
[G4 Q&A, Help & Troubleshooting] steadfasterX:
I am on RR ROM which is CM based

What I can say is yes this file exists and yes it contains my real MAC address

root@:/ # ls -la /data/misc/wifi

total 152

drwxrwx--- 4 wifi wifi 4096 2016-12-14 08:12 .

drwxrwx--t 32 system misc 4096 2016-12-04 19:44 ..

-rw-r--r-- 1 system wifi 32 2015-01-02 02:58 config

-rw-rw---- 1 system wifi 21 2015-01-22 07:44 entropy.bin

-rw-rw---- 1 system wifi 252 2016-11-17 15:05 hostapd.conf

-rw------- 1 system system 868 2016-11-14 08:33 ipconfig.txt

-rw------- 1 system system 29695 2016-12-13 11:04 networkHistory.txt

-rw-rw---- 1 wifi wifi 219 2015-01-22 07:44 p2p_supplicant.conf

drwxrwx--- 2 wifi wifi 4096 2015-01-22 07:44 sockets

-rw------- 1 system system 41 2016-11-17 14:54 softap.conf

drwxrwx--- 2 wifi wifi 4096 2015-01-02 02:58 wpa_supplicant

-rw-rw---- 1 wifi wifi 1647 2016-12-14 08:12 wpa_supplicant.conf

root@:/ #

My first thought was that the mac address is generated from the misc partition but as far as I can see it seems to be not. At least I can't find a string matching my current mac.

interesting is that I searched the misc partition (I love Linux and the tool strings) and found my imei written in there..

Well as you wrote you haven't the problem on stock:

Do you cleaned out the WiFi config file before when testing stock? Afaik it should be cleaned out automatically though but just to be sure.. What happens when you delete that file on stock and reboot? Will it get regenerated?

You identified it that the ROM sources are the reason good. But I don't think you should look at the kernel sources only. Check the CM sources as well I believe here you will get better findings.

.
[G4 Q&A, Help & Troubleshooting] Deleted member 5812728:
Here's mine. It seems practically the same just missing hostapd.conf. I think I've seen it here before though.

h811:/ # ls -la /data/misc/wifi

total 44

drwxrwx--- 4 wifi wifi 4096 2016-12-14 17:07 .

drwxrwx--t 39 system misc 4096 2014-12-31 19:21 ..

-rw-r--r-- 1 system wifi 32 2016-12-12 18:32 config

-rw-rw---- 1 system wifi 21 2016-12-13 03:15 entropy.bin

-rw------- 1 system system 166 2016-12-13 03:25 ipconfig.txt

-rw------- 1 system system 3814 2016-12-14 17:07 networkHistory.txt

-rw-rw---- 1 wifi wifi 237 2014-12-31 19:26 p2p_supplicant.conf

drwxrwx--- 2 wifi wifi 4096 2016-12-13 03:15 sockets

-rw------- 1 system system 49 2014-12-31 19:25 softap.conf

drwxrwx--- 2 wifi wifi 4096 2014-12-31 19:21 wpa_supplicant

-rw-rw---- 1 wifi wifi 949 2016-12-14 17:07 wpa_supplicant.conf

Maybe it matches the mac in /system/etc/wifi/bcmdhd.cal (macaddr=)? I found that I had a slightly different one there.

https://github.com/CyanogenMod/android_device_lge_g4-common/blob/cm-14.1/hwaddrs/getmac.c

I found this earlier and it shows CM mounting misc and doing something with /data/misc/wifi/config. I thought it was reading config, but it looks like it's actually writing it there after reading it from somewhere else in misc. That would explain why it gets reset. Do you understand where it's reading from? I'm having a hard time reading C.

Specifically this part:

int fd1, fd2;
char macbyte;
char macbuf[3];
int i;

fd1 = open("/dev/block/bootdevice/by-name/misc",O_RDONLY);
fd2 = open("/data/misc/wifi/config",O_WRONLY|O_CREAT|O_TRUNC,S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);

write(fd2,"cur_etheraddr=",14);

for (i = 0; i<6; i++) {
lseek(fd1,0x3000+i,SEEK_SET);
lseek(fd2,0,SEEK_END);
read(fd1,&macbyte,1);
sprintf(macbuf,"%02x",macbyte);
write(fd2,&macbuf,2);
if (i!=5) write(fd2,":",1);
}

It looks like our bluetooth mac is getting set in the same way later on.

I'm thinking about setting up a CM build environment again and playing with my own builds to try to see what's up.

Nice. I just looked at what CM is reporting my IMEI as, to see if it got reset, but it looks good. I know that cell data is still working, so I'd expect my IMEI to be right.

I didn't try that. I was in a hurry to get back to CM so I could set it up for daily use. I'll try doing stuff like that soon if we don't figure have anything else to go on. It's getting too late to do it here tonight.

Yesterday I tried to extract misc.img from the kdz but none of the tools I found were able to successfully do it. Something was corrupt. My plan was to look at it or flash it in fastboot and see if anything changes.
[G4 Q&A, Help & Troubleshooting] Deleted member 5812728:
GOT IT!

It's actually pretty simple, but I've never done anything quite like this before.

Overview:

Make an img of misc

Edit it in a hex editor

Overwrite misc with the img

Reboot

You could do this entirely on your phone, but I'll walk you through doing it using adb on your computer.

1. Make an img of misc and pull it to your computer.

adb shell "su -c 'dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img'"
adb pull /sdcard/misc.img

2. Edit misc.img in a hex editor (I used HexEdit on Windows)

Find the hex offset 3000. Now edit 3000-3005 with your wifi mac address. For example "00 90 3D F1 A2 31".

The bluetooth mac address appears to be stored at 4000, so you could set it there if you wanted/needed to.

3. Write the img

adb push misc.img /sdcard/misc_edited.img
adb shell "su -c 'dd if=/sdcard/misc_edited.img of=/dev/block/bootdevice/by-name/misc'"

4. Reboot

adb reboot

If it all works, it's okay to delete the img files we left in /sdcard

adb shell "rm /sdcard/misc*.img"