yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Q&A, Help & Troubleshooting] Beakhole:
I created two flashable zips that I'd like to use after every rom flash:

One is all my Layers overlay apks and the other is all the font files I want to use.

Here is my updater-script that I use in both zips, the only difference being the ui_print and file names, of course:

ui_print(" Installing Layers overlays... ");
ui_print(" ");
show_progress(0.99, 30);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0644, "/system/vendor/overlay");
show_progress(1.0, 1);
unmount("/system");
ui_print("----------------------------------------------");
ui_print("| Done!!! |");
ui_print("----------------------------------------------");
ui_print(" ");

And here is the error I get in recovery when I flash either zip:

set_perm_recursive() expects 5+ args, got 4
E:Error executing updater binary in zip '/sdcard/Mods/Zips/Layers-Themes-signed.zip'
Error flashing zip '/sdcard/Mods/Zips/Layers-Themes-signed.zip'

Obviously, I did set

set_perm_recursive(0, 0, 0644, "/system/vendor/overlay");

to be the right permissions. I know that the contents of that directory, /system/vendor/overlay need to be 644 but I don't know the proper edify script syntax for

set_perm_recursive(0, 0, 0644, "/system/vendor/overlay");

Does anyone know what I need to do differently to make these zips flash properly?

EDIT: I found this post that said that the correct syntax should be: set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/overlay"); instead. Problem solved!!
[Nexus 6 Q&A, Help & Troubleshooting] imnuts:
I know you figured it out, but the set_perm_recursive needs 5 arguments (as stated in the error message you received). It would be for group:user ownership and then permissions for directories & files (in that order) followed by the directory that you're setting permissions in.
[Nexus 6 Q&A, Help & Troubleshooting] Beakhole:
[MENTION=552429]imnuts[/MENTION], would it be this?

set_perm_recursive(0, 0, 0, 0755, 0644, "/system/vendor/overlay");
[Android Q&A, Help & Troubleshooting] bannerh.:
Can anyone direct me King root route app
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
http://xdaforums.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461

http://www.kingroot.net/

Not sure if something is wrong with your Google, but this literally took me 5 seconds.
[One (M8) Q&A, Help & Troubleshooting] Tim0theus:
Hey,

I currently plan to upgrade to Android HD 45 and then looked for kernel updates.

On htcdev I found some kernels.

And there is one saying: One M8 Google Play Edition, with Android 6.0, with Region WWE and Google Carrier.

What's the meaning of this? I thought the Android Version is part of the ROM?

Can I use this kernel on my HTC? How do I know if I can use it?

Thank you.

Greetings.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Those aren't kernels. They are kernel

source

. If you don't know what that means, don't bother downloading it, or going any further. Its not something you install on the phone.
[One (M8) Q&A, Help & Troubleshooting] Tim0theus:
Ah ok.

So I now updated the Firmware and then flashed the new custom Rom. Everything working fine currently.

What exactly is a kernel then? I thought there is a kernel I install on my phone?

Or is a kernel part of a custom Rom?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Yes, the kernel (contained in boot.img) is part of the custom ROM (and is installed along with the ROM).

Some folks like to use custom (modified) kernels which allow different governors, overclocking, undervolting, etc. But they are not mandatory by any means. Those are typically flashed separately, over-writing the "stock" kernel that comes with the ROM. You can find such kernels in the Development forum section.

The downloads on the HTCDev website are the kernel

source code

. HTC is obligated to provide the source code as a part of the Android license, and it may be useful for developers. They are of no use to you, if you are not a developer.
[Nexus 6P Q&A, Help & Troubleshooting] Simer03:
I have a weird question that I've tried to search on here and on google but maybe I'm just wording it wrong!? But basically I need a longer cable. I would like to get a Type A to Type C cable and take advantage of the many fast/regular charging ports I have at home. However I'm worried about ruining the device's battery in the long run. I know nothing about chargers and all that so I could just be paranoid? Let me know what u guys think

Basically to sum it up, I'm wondering can i use the fast charging block I got from the nexus 6? I know what cables work but I'm wondering mostly about the charging block end of it
[Nexus 6P Q&A, Help & Troubleshooting] Zerqz:
I don't know if USB A/3.1 cables are rated for 3+ amps. I've used a 2 amp charger with a usb A/3.1 cable to USB C and it worked fine, but don't have a 3 amp USB A wallwort or USB C to A extender to try with the one that comes with the nexus.
[Nexus 6P Q&A, Help & Troubleshooting] Simer03:
Wouldn't the 3 amp be pointless as the phone only has charging 2.0? I could be way off with that statement by the way lol
[Nexus 6P Q&A, Help & Troubleshooting] WYO1016:
I've got this A to C cable, and I love it: http://www.amazon.com/Charger-iOrange-E-Reversible-Connector-ChromeBook/dp/B010VFFRCE

2m is a good length for me, and it works really well with my turbo charger from my Droid Turbo.

As far as a C to C that you can use with the charging brick that came with the 6P, this one would probably do the trick: http://www.amazon.com/TouchTonic-US...qid=1449102918&sr=8-1&keywords=usb+c+cable+2m
[Nexus 6P Q&A, Help & Troubleshooting] Simer03:
Thanks! The iOrange one is the same exact one I bought just now! I'm gonna use that cable with one of my Motorola fast chargers for the Nexus 6! Obviously it won't fast charge but it's good to know it won't harm my device!
[Nexus 6P Q&A, Help & Troubleshooting] Zerqz:
Well the wall charger that comes with your nexus 6P outputs 3 amps.

And it does charge the phone a bit faster in my experience, than a 2 amp one does. I assume if the AtoC cable you got passes the tests and actually meets usb C spec it'll work fine with 3 amps though.
[Nexus 6P Q&A, Help & Troubleshooting] dontbeweakvato:
The 6p stock charger is rated 5 volts at 3 amps. So yea the phone was designed to utilize 3 amp current.

Source: I'm an electrical engineer.
[Nexus 6P Q&A, Help & Troubleshooting] mcfar45:
Just to check, if I needed to a very long cord to charge with (I am happy to sacrifice fast charging for a longer cable) would using a regular charger (http://www.amazon.com/Cygnett-CY0355POGUS-Groove-Charger-Smartphones/dp/B00DMJ9U66/) with a USB-A Extension cable (http://www.amazon.com/Belkin-Pro-USB-Extension-Cable/dp/B0002Y6CYM/) and then a USB A-C cable (http://www.amazon.com/dp/B00WJSPFOW/) be good or would that harm things?

Basically the Extension would plug into the wall charger and then the USB A-C cable goes from the Extension cable to the phone.
[Nexus 6P Q&A, Help & Troubleshooting] Simer03:
Ah good to know! Well at home I don't need fast charging so I'm gonna use the stock charger at work and the longer one at home! Thanks for the info guys
[Nexus 6P Q&A, Help & Troubleshooting] xfullmetal17:
It has USB 2.0, which refers to data transfer speeds, which is a separate thing from the 3A charging. :)
[Fire General] t3chwizard:
I picked mine up last week for the $35 Black Friday sale and it is the best 7-inch (although it isn't exactly that large) tablet I have ever owned in my opinion.
[Fire General] cleeezzz:
I would think the same thing if I could just get music apps to work on it :(
[Fire General] blueberry.sky:
At $35 I think it's fracking fabulous!

I got a 2nd one that I might give to an older friend of my family. Just set up as little more than a media player (movies, tv shows, music loaded onto the sd card). Using SlimLP or CM & set up to be as easy to use as possible. At $35, why not?

A 3rd one for a friends child (moderated use / screen time).

And I almost feel like I should have got yet another one. Just to keep on hand in case I think of someone I'd like to give it to. If it had built-in gps I probably would have got one to set up & give as a car gps. You can grab gps off a phone over BT but it's just not as nice as built-in.

Are you on the stock amazon OS, SlimLP or CM12.1? What music apps aren't working for you?
[Fire General] Ace42:
Its better than the original Fire, which I have owned for a few years & had it on LP before it died. The experience here has improved noticeably, especially when installing apps in the background or using PDFs (both would really lag the OG KF).

General performance for reading is excellent, I open PDFs mostly that are ~20-50pgs usually and I can read them lag-free. The Kindle app seems alright too, didn't have issues with storing books, so will move onto comics/manga at some point.

Screen? Looks acceptable to me, but the min brightness is too bright for me. It's much brighter than other LCD/IPS based devices I've used.

Overall the experience so far has been better than with my Encore Mini, which randomly stopped charging not long after the return window.
[Fire General] cleeezzz:
It happens on all 3, spotify, pandora and even local music players like apollo crash the system when the screen is off.

Oh and the screen is a fingerprint magnet that is a bit difficult to clean.
[Fire General] blueberry.sky:
A night filter app? How much lower are you looking to go?

---------- Post added at 08:09 PM ---------- Previous post was at 07:59 PM ----------

Haven't tried any streaming yet but just tried an mp3 on VLC, no problem with screen off. I'm on the most recent slimLP.

---------- Post added at 08:40 PM ---------- Previous post was at 08:09 PM ----------

Ok, tried pandora . . . no problem at all. Tried screen off via power button, auto timeout & double tab status bar to sleep.

Your Fire just don't like you! Or you could try the latest slimLP.
[Fire General] cleeezzz:
I am on slimLP, have you tried keeping it for at least 30 minutes with screen off? It usually crashes mine within 15 minutes.
[Fire General] tomalak007:
For$35 this thing is great! Thanks to the devs we can install Google play and basically make this a normal Android tablet and hide all the Amazon crapware. It's pretty responsive if you ask me. The screen isn't the best, but it's not a breaker by any means.
[Fire General] duanim:
Best at all 7 inch using it as remote control with droimote app for my shield tv that is the reason,because I was using my phone,with CM12 pretty fast.
[Fire General] goodhur:
For the $35 I spent it is definitely worth it. My biggest gripe is the screen. They don't appear to have compensated for the pixel shape. It is slightly condensed in portrait and slightly wider in landscape. This is noticeable with text and icons. Since this is a kindle device I am kind of surprised. That said, the resolution is not as bad as I expected. Also amazon really needs more functionality to interact with with the Firetv. The other downer is there is not even a basic integration of Alexa or dictation.
[Fire General] blueberry.sky:
No I didn't test over 15min originally, thought it was crashing right away on you.

Today, I'm currently over 30 min on pandora. Screen was turned off via power button. When I hit over 1 hour I'll test screen off via auto timeout. I know it really shouldn't make a difference at all but I'll try it anyway.

---------- Post added at 03:02 PM ---------- Previous post was at 02:33 PM ----------

Hit 1 hour 13 min, no problem.

---------- Post added at 04:05 PM ---------- Previous post was at 03:02 PM ----------

Screen off via auto timeout, over 1 hr no problem with pandora.

Did you post your bug in either of the rom threads?
[Fire General] blueberry.sky:
double post
[Fire General] YellowGTO:
These things are the BOMB with CM on them. Kinda suck with the Amazon modified OS. I had all sorts of trouble getting some apps to work, even after root/market.
[Fire General] t3chwizard:
I beg to differ. SlimLP FTW (although it is still CM based) FIGHT ME BRO lol ?

(To any moderators, this was intended to be sarcastic)
[Fire General] cleeezzz:
I only posted in the FAQ, I may post on LP thread later I guess.

I think the kernel is crashing and I have no idea why.
[Fire General] tonyt3rry:
Best tablet I've ever owned I paid £50 for mine would have gotten another if I had the money black friday

Sent from my Amazon Fire 2015
[Fire General] InunoTaishou:
I bought the tablet for my mom on ebay about a week before it even went on sale (Stupid me, forgot all about black friday/cyber monday and couldn't return) and this thing is pretty slick. I actually went ahead and bought one for myself for the $35 and it'll be here next week. I spent a lot of time looking at different tablets, specs (screen size, ppi, resolution, processor brand/speed/technology, RAM/size/ddr2/ddr3, and a few other things) and this thing is well worth it.

Some might say 7" is small but once you've got it in your hand it feels really good, might not be a 720p resolution for those HD movies but 7" or 10" your eyes are not going to notice a difference.

I don't think I'll keep the Fire OS on mine, wanting to just install android but I'm keeping the Fire OS on my moms. It's got a lot of bloatware it needs hidden but she's going to use it primarily for book reading, so a lot of the Fire OS stuff will work well for her.
[Fire General] itzimeow:
This tablet is a steal. I bought two during the Black Friday sale.

I hid all the bloat and installed PlayStore for my mom. After letting my brother and mom use it for a few hours, they really like it. Especially since it is small. When my second one comes in, hopefully tomorrow, I'm going to try one of the custom ROMs available. After messing with it for a bit, I'll give it to my sister and see how she likes it.

My main tablet is an 8" Windows 10 tablet. There are times when I miss using an Android based tablet. So I will definitely borrow this from my sister frequently.
[Fire General] Pond-life:
Just to say you aren't alone. Only used the stock rom with some of the stuff trimmed and didn't actually realise that was why it was stopping until checking after reading this yesterday. I just thought I'd reached the end of album/playlist as I wasn't paying enough attention. Playback stopped quite quickly on poweramp even though it was supposed to be looping an album.
[Fire General] QUEW1134:
I think its great. And it is already seeing a bit of development which I am excited about. Mine is currently rocking cm 12.1 and running like a dream. A quad core processor with a decent panel for $50-35$ is nuts.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redneckmatt:
32GB UHS-1. I can't get mine to work, whether formatted fat32 or ntfs via PC. Tablet 8.4 simply doesn't recognize it.

My older sandisk 32GB class 4 disk works just fine.

Anyone else have issues with the UHS rated cards?
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] otyg:
According to SanDisk it should be supported fine

http://pct1.sandisk.com/ProductList.aspx?DeviceID=21309

I would check if it's a counterfeit / fake card usually these are sold on eBay, Aliexpress or even some marketplace sellers on Amazon/wherever, some even leak into the retail sites, they look identical packagewise and design wise (sometimes it might have blury paint job, or typos on the packaging) ...

To check if it's fake there is various software for the pc (like H2TESTW or chkflsh ) that will write all the blocks on the card and tell you if it's fake..

btw I have a Sandisk UHS-1 64GB card and it works fine. so chances are you got either a counterfeit or a dud.

Though you could just have a card that went bad, I have had several SanDisk micro sdcards fail (one just went poof, nothing-dead, the other went to read only mode), my card had a lifetime warranty and SanDisk has been great with sending replacements. (you will need a camera to take a close up, (so you can read the serial number on the back of the card)-if you choose to RMA and it's legit)
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redpoint73:
My Sandisk UHS-1 MicroSD that works fine on my Tab Pro 8.4.

NTFS, while a Windows favorite, can be problematic with Android devices. exFAT is pretty much standard nowadays (especially now that larger capacity cards are common - not supported by FAT32), although the old reliable FAT32 should work fine for 32GB.

Try formatting exFAT on your PC, or formatting on the tablet.

Otherwise you may have a counterfeit (tons of them on eBay as mentioned in the previous response) or simply a defective card.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redneckmatt:
Android never even had it listed as a device, so even kicking a format via CLI wasn't an option.

Everything tests ok on the PC, but something clearly isn't right. Back it goes. :(
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redneckmatt:
Found the SDSDQX-032G-A46A for $20 at BestBuy, as well as the SDSDQX-064G-A46A for $40.

I print them both out from the website and drive to the store - where we pull up the website and the pricing has changed back to $80 & $150.. They wouldn't honor the printouts. What a great company. Google cache still has the original price, but the site changed in the time it took me to drive to the store.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] otyg:
try the formatter located here

https://www.sdcard.org/downloads/formatter_4/

are you running an official firmware on the tab pro?

But you are right, even with a bad filesystem it should prompt you to format it - strange, if you have root access you can check dmesg or logcat in terminal to see what's happening when you insert the card.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redneckmatt:
I did try that formatting utility.

dmesg shows nothing applicable, and logcat does absolutely nothing when that SD is inserted. When putting in my old SD card I get the typical flurry of activity of detecting, mounting, etc.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] redneckmatt:
I bought a Samsung Pro+ 32GB card and that didn't work either. Clean flashed the final CM12 snapshot, still doesn't like either card. Old card (Sandisk class 4) continues to work fine.

Absolutely nothing in logcat for either of the U3 cards. It is as if nothing is being inserted into the tablet at all.

I'm ssh'd into the tablet. No new devices show @ /dev/block with the new cards. Old one has the expected mmcblk1 and mmcblk1p1.
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] DarkLTU:
I have Samsung Evo+ 64GB(for model not sure, but Samsung) and it has 95MB/s reading and 90MB/s writing speed and my 8.4 WiFi detected it. But it doesn't fully use those limits(what i want to say is that my SD card has very fast writing speed but when I uploaded 100MB file to the card, it took about 5 seconds to do that) and I don't know is that SD card broken or tablet is bad.,
[Galaxy Tab Pro 12.2, 10.1, 8.4 Q&A, Help & Trouble] Ichijoe:
I had this happen to me, unfortunately the only way you can fix this, is to give it back to Sandisk (RMA), for replacement. Since your current Card is as they say, pining for the fjords. The good news is that SanDisk support their Cards for up to 10 Years. Which meant more (to me.), when I had spent over 60€'s for it. Today however, you can replace this Card for nearly a Tenner. If anything I can only praise SanDisk's RMA Dept. for being both courteous, and prompt. I think I had to wait a day (or so), to get the confirmation oder. And, likely Six weeks or so for the Return. It was like two years ago now. Thankfully this New Card hasn't died on me in that time. That first Card, though dies on me like six months, after I bought it. The Representative I spoke with, mentioned that a bad batch of Cards had managed to get though, at the time, and that it wouldn't be an issue to just send the dead card back for a new Retail Package. MicroSD + FullSD Adapter.

First of I doubt, those Tools would be of very much help, if the Card is in fact now dead. When my card died that was it Windows, Linux Phone, or Phablet the Card was non-existant! However the Card should have a Serial Number printed on the Back. (So break out the magnifying glass!), perhaps the tracking was what took the most time before I finally got confirmation.

Just outta interest has anyone tried to shove a 128GB into the Tab-Pro 8.4 to see if it goes?
[Android Q&A, Help & Troubleshooting] oy-ster:
already page 4? up
[Android Q&A, Help & Troubleshooting] xenreon:
Just ignore those, the apk should decompile normally
[Android Q&A, Help & Troubleshooting] zelendel:
You will have to fix all those omg errors and then recompile and decompile the new apk. The errors generally happen when someone doesn't understand icon creation and theming.
[Android Q&A, Help & Troubleshooting] xenreon:
Yes but these can be ignored as they won't ultimately create a problem after recompiling
[Android Q&A, Help & Troubleshooting] oy-ster:
Thank you very much guys.

I'll try to ignore the errors and see how the revised apk runs on my device later today.

Just for curiosity/educational purposes though, how does one fix those img errors?
[Android Q&A, Help & Troubleshooting] xenreon:
Those are because the pngs are named .9.png but aren't .9.png actually....
[Android Q&A, Help & Troubleshooting] zelendel:
They will when it is used. Images will not stretch properly and some may cause it not to compile if it is looking for a . 9 and it doesn't have the proper marked pixels.
[Android Q&A, Help & Troubleshooting] xenreon:
But in my experience 9patch png errors never really created a problem if the errors are while decompiling
[Android Q&A, Help & Troubleshooting] zelendel:
If they get botched while decompile g then it will cause huge issues when compiled. Mainly when xml call for the .9 and when decompiled it removes the extention.

There was a huge thread made for it a while ago calling out new themes on how not to make this common mistake which when used causes rom issues. Because it doesn't work right. Sometimes the app won't even recompile. This is when many so called themers stopped doing it because they were being called out
[G3 Q&A, Help & Troubleshooting] loubot99:
Hi, my problem is basically this thread (http://xdaforums.com/lg-g3/help/lg-g3-boot-loop-charger-t3062476)

I went into my local providers shop, tried a different battery, and was doing exactly the same thing... He tells me its a software issue and I can only fix it by getting help from the LG Support. Only problem is, is that I'm not home until 6:10 tomorrow, and the phone lines shut off at 6PM. Is there a fix instead of having to carry around a charger all day?

Thanks.
[G3 Q&A, Help & Troubleshooting] myclarity:
Factory reset..
[G3 Q&A, Help & Troubleshooting] loubot99:
Done it, I still have the problem
[G3 Q&A, Help & Troubleshooting] TheMadScientist:
Comeplete retstore usin kdz or tot method and flashto

---------- Post added at 07:58 PM ---------- Previous post was at 07:58 PM ----------

Flashtool
[G3 Q&A, Help & Troubleshooting] gabuser:
Any luck ? I have the same issue, only a newer LG battery is working for me. Others have reported other 3rd parties batteries working for them.
[G3 Q&A, Help & Troubleshooting] TheMadScientist:
Some of the 3rd party batz are total crap low qual i would only use a offic lg batt
[Tilt, TyTN II, MDA Vario III General] chiman:
I've seen some pictures of the Kaiser and I'm very impressed!

Now I'm wondering if the Kaiser has the same paint like the Trinity. From the pictures, I can see the same shinny paint as the Trinity.

Can someone confirm this?
[Tilt, TyTN II, MDA Vario III General] ep3:
I don't believe it's the same paint. Even if it is there is nothing to worry about because the paint is only on the buttons and not surrounding the device like the trinity. I don't believe one can scratch the paint off when it's on the buttons on the top of the device. I have the kaiser already and seen it for myself.
[Tilt, TyTN II, MDA Vario III General] Nadavi:
Hi,

The paint is different.

Nadavi