yashsingh1/xdaforums huggingface dataset:
[LG V10 Android Development] greekunit690:
I actually wasn't trying to be a troll or spam. I'm on an AT&T V10 so I'm obviously running stock Rom rooted (as there's no unlocked bootloader yet). Only other thing I have from xposed is gravity box only for visual changes. I copied and pasted directly to the ETC folder as you stated was allowable later in the thread. I only asked to see because, like you said, it's hard to mess something up. Don't really appreciate being called a troll for asking a simple question....

Edit: only other thing I can think of is I changed batteries on a daily basis because I'm away from outlets for most of the day and have nowhere to recharge. I think I read something that the phone takes up battery on start up. But without this mod I would usually get 5-6 hours SOT and about 14 hours on a full charge
[LG V10 Android Development] warBeard_actual:
Your screen shot included nothing but a battery graph. No app usage, no explanation of what you are running / doing. And your saying "I'm rooted running xposed and all stock" is not you running stock. It is you running xposed rooted and probably with other small modifications here and there.

Just would be useful to not just come up here and make it look like this script magically destroyed your battery life somehow when it is literally nothing but basic shell scripts to modify very high level parameters of device operation. Like I said, you are literally the only person to ever have an issue. Post something useful other than "hey this is terrible here's a one off screen shot and no other information about what makes me unique from everyone else."

I didn't respond to your original question in the other thread because it was uninformative as to what you might have done wrong while installing the file. You posted a graph, then asked what you did wrong.

Good question. I have no idea. But obviously something because I've been using this for weeks now, and many other people as well and nobody has experienced this mystery battery sucking you are seeing.

It is important to note that your device will boot with all CPU governors set to "performance" which taps your frequency to max. This file changes it post boot, so if you didn't copy the file, or more importantly didn't set it's permissions properly afterwards, your device will be stuck running performance, possibly reboot, and certainly will suck your battery dry very quick.

You need to give me more if you want my help, otherwise I will ignore you. I do this stuff for a living and it isn't my job to be a test engineer for your device as well as my own.
[LG V10 Android Development] greekunit690:
Sorry for the confusion. Yes I meant stock Rom as in no custom Rom. And as stated all I have xposed wise is gravity box with visual only.

I'm going to try a factory reset as someone else stated and copy only your file and see what happens after a few days.

I'm no noob when it comes to flashing and changing parameters which is why I was confused about why this had such a detrimental effect.

Again I thank you for your hard work and all the positive things you've given xda on your own time. I'm sure it's just something to do with only upgrading from root and not starting fresh
[LG V10 Android Development] WillyPillow:
I think it would be good if you post the command output of

ls -l /etc/init.qcom.post_boot.sh

and also a screenshot with the app usage stats.
[LG V10 Android Development] greekunit690:
Seems to be doing a bit better today but again not much difference from without the change.

Here is the output in from terminal emulator

And here's screen time

And the app usage
[LG V10 Android Development] Dryvlyne:
[MENTION=3597206]greekunit690[/MENTION] it might just be coincidence, but under your display settings try unchecking & rechecking the Auto option under Brightness. I've found that for whatever reason the brightness setting will get stuck at the highest level even though I have Auto selected. This has led to rapid battery drain for me when it happens.
[LG V10 Android Development] greekunit690:
I change my brightness throughout the day so I'm sure that wouldn't be the case..thanks for the input though
[LG V10 Android Development] in99flames:
Just saying...im running your mod and its great :) I love it!
[LG V10 Android Development] rowihel2012:
i cant use it

how did you install it ?
[LG V10 Android Development] in99flames:
Its not hard. Just follow the instructions and use terminal emulator to input the commands. After you do it once from the commands you can simply copy and paste the file in the appropriate folder and correct the permissions when an update is posted.
[LG V10 Android Development] demkantor:
If you're having issues you can try this

http://xdaforums.com/showthread.php?t=3388850
[LG V10 Android Development] limueld:
another holy mother of earth issue with our v10 mine with zerolemon charged for 12 hours getting 6hours SOT , drains 20% overnight. WTH
[LG V10 Android Development] demoncamber:
Having a little trouble in that thread determining which one is the latest version to download, could you link me to the latest dangerously version and regular version please? Ty
[LG V10 Android Development] brenas25:
Can i use it on H960A?
[LG V10 Android Development] klemen241:
yes
[General Questions and Answers] morgannoobman:
I have a Samsung Galaxy Grand Prime and I wanted to install the official 5.0.2 firmware using odin, but odin won't detect my phone, once i go to download mode and plug it in, it says "Installing device driver software", then eventually fails to install "Samsung Mobile USB CDC Composite Device" and in device manager, it says "Windows cannot initialize the device driver for this hardware. (Code 37)" Help?
[General Questions and Answers] sohamsen:
Hi there

You need to install drivers of your specific phone model on your pc only then u can use odin

Go to google and search for usb drivers for grand prime it will be better if u search with device number(eg samsung galaxy ace gt s5830 that gt s5830 is the device number)

Download and install it in ur pc

U will be able to flash via odin
[Remix OS for PC] ndg_2000:
Hi got this installed to my laptop all working great my only question is using es file explorer I can see that only aprox 4--5gb of hdd is used for the install; is there any way of accessing the rest of the hdd..... ps Remix is the only installed os on the laptop
[Remix OS for PC] remixtester:
With a "real" (linux like) installation you can use your whole disk for Remix OS - see http://xdaforums.com/remix/remix-os/how-to-install-remix-os-virtualbox-to-t3301160
[Remix OS for PC] ndg_2000:
Thank you I will have a go at this when I can set aside some time
[General Questions and Answers] rohit6699:
Hi All,

I was windering if samsung galaxy grand duos i9082 supports 5ghz wireless networks.

I am not jelly bean stock rom

Thanks !
[General Questions and Answers] mashrur009:
Hi, I am using a device symphony h60 ,is version 5.1.1 . when I try to mirror my clash f clans gameplay to PC , my screen mirroring app just closes and thus the mirroring gets stopped . I have tried all kind of mirroring apps, please can anyone solve my problem? thanks in advance
[JAMin, XDA Neo, S200 ROM Development] fauner:
Hello people,

what do you think about Touch v2 (juneyong):

http://www.pocketmax.net/phoneAlarm.html
[JAMin, XDA Neo, S200 ROM Development] melih43:
this is a skin for phone alarm :(
[LG Optimus L90] drybonesification:
need help,fastboot wont wipe the phone and recovery also wont. the phone wont boot up either kind of out of ideas at this point; i have tried all in my power but i cant wipe to put a new rom on, began wipe once then failed and now wont boot

:eek:

:mad::(:crying:
[LG Optimus L90] lfom:
What phone model? Can you put it in download mode? If yes then reflash stock ROM using LG Flash Tool and kdz file for your model.
[LG Optimus L90] drybonesification:
cannot reach download mode
[LG Optimus L90] lfom:
Did the phone lose download mode? If you can get fastboot then you can flash TWRP and use it to flash a ROM.

And there is a thread about fixing and bard brick that may help you.
[Sony Xperia M] kirmada:
hi guys back to XDA afta a long time, well can someone pass on Sony music apk which I can use on my other phone devices a modded apk maybe. I have downloaded a couple of em but it says can't install?
[Sony Xperia M] Zakaria.R:
You should check "Sony cross device development themes and apps" forum, you'll find many ports there.
[Sony Xperia M] kirmada:
yea thanks mate, got a couple of em but still missing out on creating playlists directly though a complete folder, on the org music I could either choose single one of em or the complete folder as a playlist , but none of these apks have that
[Redmi Note Q&A, Help & Troubleshooting] MarKo9:
Hello,

I've a question about TWRP for Redmi Note 3 Snapdragon - Kenzo. If I flash it and don't install modified boot.img I'll go into bootloop? Or it's happening only on older official ROM's?

But for example if I need that modified boot.img and I flash it for my currently using ROM and everything is working ok... But if later update comes to my official ROM I need to re-flash boot.img again for that new version of ROM to boot into TWRP again or it's permanent?

Thank you for the answer.

SOLVED: Yup, I need to re-flash new boot.img
[Galaxy Note5 Q&A, Help & Troubleshooting] luissc:
I have a locked network telcel N920G and i want MM but here in mexico we dont have it , can i install another stock N920G MM firmewere whit odin? Thanks
[Android Q&A, Help & Troubleshooting] AverageAndroidGuy:
I am new to this site and also just joined here awhile ago, I rooted my white J2 (Android 5.1.1) and when I rebooted it pops up as the Kernel is not SEandroid Enforcing and the Custom Binary Code has been blocked by the FRP Lock. And right now my laptop is under repair, so I can't fix this with Odin, so how do I fix this problem, I have already tried factory reset, It does not work, so how?
[G3 Q&A, Help & Troubleshooting] anotherbozo:
Hello folks!

I've been trying this guide: http://xdaforums.com/showthread.php?t=2785089 (TOT method)

I'm in a bit of a trouble. While trying to return to stock firmware, did everything right, however, the LG FlashTool will fail at 6% and this is what I see: http://i.imgur.com/KF1WKEk.png

Now, my phone won't even boot either, goes straight into firmware update. Any help will be highly appreciated. My phone is useless at the moment.

PS: I tried searching but found no solution for this error.

Thanks!
[G3 Q&A, Help & Troubleshooting] anotherbozo:
I used this file: http://xdaforums.com/att-lg-g3/help/hard-bricked-to-edit-tot-file-t2827381/page2 and the above error got fixed but now I am stuck in a bootloop.

What should I do?
[G3 Q&A, Help & Troubleshooting] majorak:
Man to downgrade you just need to flash tot with LGUP!

http://xdaforums.com/lg-g3/development/stock-d855-30b-images-kdz-flashables-t3282012

this thread show you how to downgrade/revert:

if you have boot loop, just Do a hard reset by: volume down +Power , when logo shown release power and push it again till you got message of reset.
[G3 Q&A, Help & Troubleshooting] anotherbozo:
I have tried that, but the problem is hard reset is also not working.

LGUP successfully completes the process (or at least it says so) but phone goes back to bootloop.

Volume down + power method does take me to factory reset screen, but after selecting Yes to both confirmations, I get sent back into the bootloop. I think my recovery is also messed up, is there any way to fix that now?

I am desperate and any help will be greatly appreciated!
[G3 Q&A, Help & Troubleshooting] majorak:
you need to reflash with jtag method
[LG Optimus G Pro] Exehumed:
Ok, I ****ed it up, trying to get back to my old AOS I ended up installing by mistake an "E989" firmware. To my disgrace I can't find the "E989 .dll" I need to flash through LGflashtools, so I'm stuck.

My question now is what can I do to install my native firmware, is there another way to force it? A simpler solution would be to get the .dll from somewhere, but trust me, I've look anywhere without luck.

Edit: Fixed, was a hard task but now It's done :)
[Xiaomi Mi 5 Questions & Answers] SavageDamage:
Hi there, I was looking to buy a Mi5 device soon but I wanted to know if the power input is good for international travel, if it's multi-voltage and supports between 110 to 220/240.

Thank you.
[Xiaomi Mi 5 Questions & Answers] Dadaism:
The stock chinese charger is fine within 110-240V. But you still need a travel adapter ;)
[Nexus 5X Q&A, Help & Troubleshooting] Beakfire:
I'm curious if anyone has been able to re-lock their bootloader or if there is a way to do so once a custom ROM has been loaded onto the Nexus 5X. I know that locking the bootloader on this phone once the system partition has been altered can brick the phone as the locking implementation of the bootloader is more secure from older phones as the option inside of the ROM to unlock the bootloader must be enabled in developer options in order to use the fastboot command to unlock the bootloader.

I'm interested in this as having an unlocked bootloader leaves the system partition exposed for people to bypass android's implementation of disk encryption.

With the bootloader unlocked the system partition is capable of being modified, which leaves a door open for someone to use an exploit on the system partition to steal the encryption key for the data partition and thus unlock the android phone and bypass the encryption feature.

In order to secure the encryption feature the bootloader needs to be locked, so the system partition can not be modified to allow an attacker to utilize an exploit and steal the encyption key for the data partition, however with the implementation of the newer bootloader this isn't possible on a custom ROM and can result in a brick if the bootloader is re-locked.

Just curious if there is a way to accomplish this without bricking the phone. So I would be able to run say Cyanogenmod with on a rooted phone with a custom recovery and lock the bootloader to ensure the security of the encryption that is used on the data partition. Additionally getting the bootloader to verify the validity of the system partition could be beneficial from a security perspective as well, so it can be ensured that it hasn't been modified.

Is this possible with a custom ROM?
[Nexus 5X Q&A, Help & Troubleshooting] hopesrequiem:
No. Unless you want a paperweight
[Nexus 5X Q&A, Help & Troubleshooting] ccrobin:
In short, doing so could brick your device and leave you without any method of recovery. You need to be stock to re-lock the bootloader. There are several threads about how to accomplish this (I would recommend Heisenberg's guide here under section 10: http://xdaforums.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930).

If this seems too daunting, you could also use the nexus toolkit, you can find info about that here: http://xdaforums.com/nexus-5x/development/toolkit-wugs-nexus-root-toolkit-v2-1-0-t3258492.
[Nexus 5X Q&A, Help & Troubleshooting] Beakfire:
I get it, reverting to stock isn't a problem for me I can do everything from fastboot without the toolkits.

I'd just like to be able to use the security features of the locked bootloader and the phone's encryption on a custom ROM, which at this point doesn't seem possible and wanted to see if anyone had been able to accomplish this somehow or if there were any progress in that direction.

In another note along these lines can the phone be de-googled (removal of GAPPS, google framework, etc... e.g. modify the system partition, root, etc.) and then re-locked? Or will the bootloader see that the system partition has been altered from the factory condition and error out? I could try.. just hesitant to as I don't want to brick it which is why I wanted to see if anyone had done something like this before.
[Nexus 5X Q&A, Help & Troubleshooting] hopesrequiem:
This has never been possible since the origin of android. I wouldn't hold your breath
[Nexus 5X Q&A, Help & Troubleshooting] Beakfire:
Actually it is.

I have a 1st generation nexus 7 that I use in an in-car install that is running TWRP recovery, a kernel from SGT Meow that supports OTG host-mode charging and CM13 that I locked the bootloader on after I was done installing everything. It also has the data partition encrypted on it and everything on it works perfectly fine.
[Nexus 5X Q&A, Help & Troubleshooting] hopesrequiem:
I stand corrected I guess. That makes no sense to do in my opinion. The whole reason to unlock it initially is to be free to modify it. You modify it and give back that power? Makes no sense
[Nexus 5X Q&A, Help & Troubleshooting] jisoo:
Just curious, why does the OP think the encryption key could be stolen using the system partition?
[Nexus 5X Q&A, Help & Troubleshooting] wkwkwk:
I also had nexus 4 and 5 running cyanogenmod or omnirom with a custom kernel and locked bootloader.

Of course, they did not have the idiotic 'allow oem unlocking' so there was no danger (and there was the bootunlocker app anyway).

Then again, if you use full disk encryption I'm not sure if there is a benefit to a locked bootloader from the encryption key perspective as that's in the ram memory, not on the system partition. Cold boot attack? Yes, probably, but the ordinary thief won't be able to spell cold.

My 5x is unlocked and at each reboot the bootloader says my device is corrupted, scary initially but I don't want the gapps cancer on my phone.
[Nexus 5X Q&A, Help & Troubleshooting] Beakfire:
I read a few papers on the weak points to android's encryption scheme.

The classic evil maid attack works against android using something called EvilDroid and there is also a forensic tool out there called FROST that can also accomplish the task of bypassing android's encryption.

Frost would be easier to use, since it only needs to be flashed to the recovery partition of an unlocked device. I was just reading up on it some, if someone could find the FROST image it would actually be very easy for someone with very little skill to implement a cold boot attack against an android device and gain access to the data on the encrypted partition of the phone.

The evil droid attack would be more difficult and someone would have to specifically target your phone. FROST could be used on any unlocked phone with an encrypted data partition and unlocked bootloader.

Here's a few links to the articles I was reading on the exploits:

http://isyou.info/jowua/papers/jowua-v5n1-4.pdf

https://www1.cs.fau.de/filepool/projects/frost/frost.pdf

There's also a kernel patch out there called ARMORED that is essentially TRESOR (TRESOR runs encryption securely outside RAM) for android driven ARM devices that would prevent FROST from working on a device with an unlocked bootloader. The evilmaid attack would still work though, but is really impractical for the average person to use such an attack on a smartphone.

ARMORED patch is available here:

https://www1.cs.fau.de/tresor/

I was reading on the android boot process here:

https://source.android.com/security/verifiedboot/verified-boot.html

The Nexus 5X supports the unlocked state so must be a class B implementation based up on that read, which means if a signed key is added to a ROM that is flashed it should boot with the yellow boot prompt indicating that the system was verified against an embedded certificate and not the OEM key.

The bootloader checks the /boot and /recovery partitions during the verification process from that article.

Currently mine boots with an orange screen, since it's unlocked.

I know most people aren't concerned with it, just with a modded device if I were to want to use the encryption feature if that FROST app were easily found on the web (I don't know if it is available somewhere) anyone that knows how to stick a phone in a freezer and use a single fastboot command would be able to decrypt the encrypted data partition on an unlocked phone.

haha and here's actually the attack with all the tools to use it available here:

https://www1.cs.fau.de/frost

It's obviously an older implementation of frost from 2012/2013 for the Galaxy Nexus that is up on that site though.
[Nexus 5X Q&A, Help & Troubleshooting] user822:
Honestly just steal the finger together with the phone instead of freezing stuff and messing around.

It is quickly done and and 95% of people will have the finger print sensor configured to bypass the lockscreen.
[Nexus 5X Q&A, Help & Troubleshooting] jisoo:
Look, I'm not expert I'm this, but I fail to see (even after reading on the FROST attack) how this attack would work.

The encryption key is itself encrypted by your password. If you use a strong enough password, this can't be bruteforced. It doesn't matter that someone retrieves the encryption key if they can't read it.

The FROST attack seems to be a method to retrieve the encryption key from a bootloader locked device (but you'd still need to bruteforce the password). So it's actually an attack which demonstrates how little unlocking the bootloader impacts encryption security in this case.

What's more, Nexus 5x uses HW storage for the encryption key, which makes it practically impossible to retrieve the key, locked or unlocked bootloader doesn't matter.

So apart from an evil maid attack (where someone changes your system so that it will record and transmit your password), I don't see how an unlocked bootloader would compromise the encryption itself.

---------- Post added at 01:26 PM ---------- Previous post was at 01:25 PM ----------

Fingerprint won't provide the password needed for decryption, so it only works if the device is already fully booted and partitions mounted.
[Nexus 5X Q&A, Help & Troubleshooting] user822:
That is absolutely true, but normally you steal phones that are switched on ;)

And the "freezer" attack also needs a phone that was turned on before it seems
[Nexus 5X Q&A, Help & Troubleshooting] Beakfire:
The critical paragraph from the article describes the vulnerability in dm-crypt which is the encryption subsystem android uses. Once it's booted and decrypted traces are left in RAM that expose the key and are not removed until power cut. The unlocked bootloader simply allows the FROST application to be installed without wiping the data partition. It can still be used to expose the key on a phone with a locked bootloader, however it's pointless as installation of FROST requires the data partition to be wiped as a result of unlocking the bootloader during the process. Below is from the paragraph about the dm-crypt vulnerability from the article from the people that used FROST to do a cold boot attack on an android phone.

However, it has not been reported yet if cold boot attacks are applicable against ARM-based devices such as smartphones and tablets, or against Android devices in particular. We conjecture such devices

are vulnerable, because Android's underlying encryption solution dm-crypt is already known to be vulnerable. Technically, it makes no difference if dm-crypt is running on ARM or an x86 architecture, because the vulnerability relies in the AES key schedule that is stored inside RAM. AES key schedules can be identified by recovery tools like aeskeyfind that search for suspicious patterns of a schedule in RAM. Dm-crypt is vulnerable to such tools, because it creates the AES key schedule initially inside RAM during boot and it gets lost only if power is cut.
[Nexus 5X Q&A, Help & Troubleshooting] C3C076:
Many devices allow you to boot external image even with bootloader locked. Using "fastboot boot" command which means, you can boot FROST on a device with bootloader locked, which makes things even worse.