yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Questions & Answers] Veid71:
when i click advanced and adbsideload it gives me two options one is to wipe dalvik the other is to wipe cache then at the bottom it says swipe to start sideload ( i havent selected any files or ran a command for it to sideload anything)
[Google Pixel XL Questions & Answers] brewcrewwheels:
those steps are optional, just swipe to start then you can run the adb side load command.

an important thing I forgot to add is that in addition to having to re-flash a custom kernel is you'll also need to re-flash TWRP and likely re-root (I am not rooted so I can't be sure). I'd recommend waiting until after the first boot to do that just to make sure everything comes up OK.
[Google Pixel XL Questions & Answers] sliding_billy:
Not sure this saves as much time as it could. I had not updated from the x build yet, so after installing RC1 and SU 2.79 I figured why not try the TWRP sideload. It worked (though I originally tried the Q build which showed a file validation failure I used O), but sideload changes your slot. In my case, it cleared the slot of the recovery and got rid of root access. I had to temp fastboot the TWRP .img and then install the TWRP zip. I then reinstalled SuperSU as well. All's back to normal now.
[General Topics] hoankhang000:
is there any application which can play video ringtone for T-mobile MDA?
[General Topics] ppclike:
you can try it

you can find what you need at the site.

steelsoft.tech.officelive.com
[General Questions and Answers] reczinity:
i need help how to fix my android phone, it always boot loop after i install MIUI 8 ROM to it

i appreciate your help, :good:
[General Questions and Answers] Ashwinrg:
After flashing your rom did you wiped cache again.
[Verizon Galaxy S 5 Android Development] smokerbond:
Steps necessary to permanently enable user root?

Let's say I have remote root access to my CID 11 G900V phone on the stock android 6.0.

What do I need to do to allow user to have root and persist through reboots/checks?

No promises yet,

only have uid=0(root) gid=0(root) context=u:r:init:s0

on the remote side accessing the phone.

R&D:

5.0 post-root performs:

Set permissive for init

Set permissive for init_shell

Set permissive for s_init_shell

type s_init_shell does not exist

Set permissive for kernel

Set permissive for shell

Set permissive for toolbox

type toolbox does not exist

Set permissive for toolbox_exec

type toolbox_exec does not exist

TOY
[Verizon Galaxy S 5 Android Development] Hariiiii:
There are essentially two ways: one requires modification of the kernel and one requires modification of the /system partition. Neither can work for Android 6.0 with a locked bootloader. The reason we don't have root available for 6.0 ROMs on locked bootloader phones is not because we can't get root, but because there is no way to keep it. Your method may still be helpful though to accomplish small tasks with temporary root.

Edit:

If you can manage to disable dm-verity like has been done in the link below, the /system partition can be modified and superSU/permanent root can be theoretically installed.

http://xdaforums.com/lg-g5/how-to/guide-adb-root-rw-dm-verity-off-sprint-t3523499
[Verizon Galaxy S 5 Android Development] smokerbond:
Interesting, thanks for the info.

Still working on disabling SELinux right now.

I understand why the kernel cannot be modified (the bootloader checking for specific kernel) but why can I not change /system?
[Verizon Galaxy S 5 Android Development] Hariiiii:
Dm-Verity. I believe it works through the kernel checking several key directories including /system for any modifications on boot.
[LG V20 Questions & Answers] nikktrikk:
Does anybody know if we are able to flash any other versions of GApps on the rooted LG V20?

My V20 is from AT&T and since day one it has had terrible battery life. Where I was able to use my Note7 or Droid Turbo all day and still have battery left, the V20 eats the battery charge like Sally Struthers in a See's Candy warehouse. I mean, I have to charge this thing at least 2 times a day when I use it to search the web or any battery intensive purposes. I never had this problem on any other phone. I have been trying to find ways to improve my battery. I used Rom Toolbox Pro to disable all kinds of stuff, and it worked great, until my phone started Grand Mal seizing giving me the Google Play Services has to close notifications, which I then had to factory reset just to get my phone working properly again.

I would like to try flashing a minimal version of GApps that pretty much just has the play store and play store services. Are we able to do this on our V20's without having any issues? If you have any input at all I would really appreciate it.
[LG V20 Questions & Answers] tnick84:
IMHO it must be an app or two you have installed draining your battery like that. On a full charge I can a whole day and a little in to the next. I am a heavy user too. Are you blasting the brightness at 100% all the time? If so auto brightness will help a little. Go in to setting and see what is using that much drain
[LG V20 Questions & Answers] nikktrikk:
I was thinking it might be something I installed, as well. But I can't seem to pinpoint any apps that might be causing the battery drain. I keep the screen on auto brightness like you mentioned so it shouldn't be the screen. GSam almost always shows the Android System and Kernel (Android OS) at the top of the list of battery-draining apps. I love the phone, I just cannot figure out what is going on. I mean, I am not doing anything different than I have on my previous phones, and the V20 seems to be working fine. I thought maybe it is something with Nougat. I will gladly post some pics of app usage or data if it might help figure this problem out.
[LG V20 Questions & Answers] tnick84:
What rom are you on? Are you on stock white theme? I'm running a dark theme, which can help save a little juice. I'm also running as many team blackout apps as I can (many Google apps) to avoid all the whiteness. Just throwing out some ideas.
[LG V20 Questions & Answers] nikktrikk:
Interesting! I have never heard of Team Blackout Apps, they look pretty nice! Yes, I am on the stock ROM just the way it comes. I haven't changed anything at all. I have barely installed any apps just to see if I can find what is causing the battery to drain. Are there any other ROMs that work with the AT&T variant of the LG V20? It seems like they haven't made any yet for the AT&T V20. I am still waiting for Xposed to be released that is compatible with nougat so I can use Amplify.
[LG V20 Questions & Answers] tnick84:
I don't think there are any roms for AT&T variant atm. I did see an AT&T user flashed the stock deodexed rom by tilde88 in rom section. Not sure of all the details though. I'm assuming you would lose some functionality...would need to flash stock kernel as well.
[LG V20 Questions & Answers] Swizzle82:
What is your leading source of battery drain under system usage?
[LG V20 Questions & Answers] nikktrikk:
Yeah definitely, I think it is a little bit too early, for me at least, to expetiment with a deodexed ROM. But I know there will be some awesome developments coming out soon. I was so happy to see that a root was figured out for the V20 so quickly after it was released. Until then, I will keep experimenting with the stock ROM.

Hi Swizzle82, thank you for the reply. It is kind of difficult for me to pinpoint what the leading source of battery drain is because the apps seem to bunch all detected processes and wakelocks together. I know that Call Services & Android System show up on top a lot of the time, but since I factory reset the phone today, the stats are minimal compared to what I previously had. WeChat also uses resources, but I used that app all the time on my Note7 and previous phones, even more than I do now, and it never caused a problem. I attached some screenshots from GSam, BetterBatteryStats, Wakelock Detector, and CPU Spy Reloaded., I don't know if they will help, but just switching between those few apps and taking some screenshots over the span of 6 minutes, my battery percentage dropped from 79% to 76%.
[LG V20 Questions & Answers] Swizzle82:
I had android system for a while killing me.. I factory reset and setup every app one by one with no data transfer or anything. Installed every app like it's first install. I charged it til it reached 100 percent, with the phone plugged in, I went to data/system/batterystars.bin and deleted that file and rebooted. It was a long process but it hasn't been an issue since. This was when the phone first came out last month. Never knew which apps data it was but it is gone now.
[LG V20 Questions & Answers] nikktrikk:
That sounds like a good idea to try. I will do this today since I already factory reset it yesterday. I would rather do it now before I get further into using it again. I have not heard about this until you mentioned it so maybe there is an issue with app transfers with the V20 causing it. The battery does seem to drain less than before, but it seems like there are still some issues. Thank you for the suggestion! :)
[LG V20 Questions & Answers] twistedvip:
If you followed did the dirtysanta method, make sure you flash the Konverged kernel for the H918. Or Tilde88's 5.1 kernel for the H918. It worked wonders on improving battery life. Also make sure you disable Lookout - that drains a lot of battery it seemed to me at least. I usually get about a day and a half of battery life when I use my normal amount (which is honestly quite a bit).

Twisted
[LG V20 Questions & Answers] nikktrikk:
Okay, thanks for letting me know! I have not even looked at those kernels thinking they weren't cross compatible with H910. I am going to try it right now with the dirtysanta method. I will disable Lookout, as well. There are a ton of apps that I never use that drain the battery. I will let you know how it goes :good:
[LG V20 Questions & Answers] Swizzle82:
Did you own a V10 or other Lg phone prior?
[LG V20 Questions & Answers] nikktrikk:
No, I had the Note7 before getting the LG V20. Before that I had a Note 4 and a Droid Turbo. This is my first LG phone and I really do love it. I actually like it more than the Note7, the only problem I have is the battery. I do think that factory resetting and manually installing the apps instead of restoring them will help, and using the Konverged kernel seems promising, from what I am reading.
[LG V20 Questions & Answers] twistedvip:
Yup I always start fresh and install apps manually anytime I reset my phone. I think it's always nice to start fresh - even if it is sometimes a bit inconvenient to go through all the apps you've installed and choosing which ones to install. Hopefully you get it all sorted out!
[LG V20 Questions & Answers] nikktrikk:
Okay, I just factory reset the phone, rooted it with DirtySanta, and flashed the Konverged kernel and the phone is NOTICEABLY faster and smoother! This is great! Each time I reset the phone, it had noticeable lag. I just figured it would go away over time, which it did, and that it was because it had to load and download everything since it was fresh. But with the Konverged kernel, it has none of the lag and is silky smooth! Time to manually install the apps I want and disable some stuff I don't need. I will update you guys after I see how the battery is with the new setup:D Thanks a lot for your help, I really appreciate all the input!:good:
[LG V20 Questions & Answers] nikktrikk:
I need your help! I changed the screen cover sensor to off not realizing that I would not be able to turn off the static after rebooting my phone since the sensor is off. Would somebody please post a few screenshots showing how to navigate to the screen sensor settings so I can tap my way there and turn it back on? I am trying but there is no way to tell where to tap with all the static. Thank you!

Nevermind, I fixed it! I finally navigated to the second screen settings and turned it off when the screen is off and that got rid of the static after I turned the screen off then on again. Note to self, never do that again LOL.
[LG V20 Questions & Answers] twistedvip:
Wow I'm fairly impressed you managed to do all that with the static screen haha - glad to hear it worked out for you in the end.
[LG V20 Questions & Answers] Tilde88:
Get me your stock system.img and boot.img, and I'll make you a modded ROM with a custom kernel!
[LG V20 Questions & Answers] nikktrikk:
Haha yeah, I never knew something like that could cause such a huge problem. Now I can't seem to find what I did to cause that in the first place. I have been looking through all of the settings and can't seem to find anything that affects the proximity sensor. On top of that, the screen rotation stopped working, it will not rotate when I turn the phone to the side to type. I have toggled all of the motion and second screen settings, calibrated the motion sensor, and nothing is affecting it. When I turn the main screen off, the sensor does not shut off the second screen when I cover it with my finger, and the phone does not recognize when I rotate the screen. I am kind of at a loss on how to fix it.
[LG V20 Questions & Answers] nikktrikk:
Really?!? That would be AWESOME!! I'm sure this is not too hard to do, but since I have never done this, I need a little bit of guidance. If you just guide me in the right direction I will give what you need ;)

I did a little bit of reading about it and found a couple of youtube videos. I downloaded an app called Partitions Backup & Restore, I attached a pic of the two partitions I think are the right ones to backup. Are those what you need? If not, please let me know which ones and how to do it if this method is not sufficient. Thank you!
[LG V20 Questions & Answers] nikktrikk:
I found this and I am going to read through this thread, will this give me sufficient info on how to do this for you? http://xdaforums.com/showthread.php?t=443994

Also, do I need to do another factory reset in order to copy the correct stock system.img and boot.img files without them being affected by the root and kernel currently in the phone? Thank you again for your help!
[LG V20 Questions & Answers] Tilde88:
That thread is for a device with different partition tables, do not do those steps.

Yes, Factory Reset please. Remember, you can backup within TWRP, and restore after you are finished, so you dont have to reinstall all your apps and customize etc.

Please verify what model phone it is, and if it is converted.

Once you have Factory Reset, boot the phone up, and make sure it is working. You don't have to do the user setup where it asks you to enter email etc, just make sure the phone boots to that point.

Then, reboot into TWRP, tap Mount, and sure that System is mounted. You will need to have about 5-8GB free in your internal memory.

On your PC, do

adb shell

dd if=/dev/block/bootdevice/by-name/system of=/data/media/0/systemdump.img

dd if=/dev/block/bootdevice/by-name/boot of=/data/media/0/bootdump.img

It is absolutely imperative that you do not mix up the if= and the of=, so I HIGHLY recommend you copy and paste.

Those files will be in your Internal Memory.
[LG V20 Questions & Answers] nikktrikk:
Okay, great. Thank you for the instructions. I will work on this and let you know when I have the .img files.
[LG V20 Questions & Answers] nikktrikk:
I factory reset the phone, but when I reboot it, the red triangle with the exclamation point is still there, and there is still static when rebooting. Everything else is fine. If I cover the sensor when the screen is off, the static goes away and all of the content is the same as it was out of the box. Will this be okay for the boot.img and the system.img?

I attached a screenshot of the Software info for you to see if it looks correct. The Hardware info shows the model number as LG-H910.
[LG V20 Questions & Answers] Tilde88:
The static thing is due to the hack you used to root. Is h910 the model as it came? Like if you remove the battery, does the phone sticker say the same?

And yes you will always have the bootloader triangle as your BL will always be unlocked.

Go ahead and make those files in twrp. Still need you to answer the questions above.

Also, im not sure i have a source for 10c (your software build), but should be fine
[LG V20 Questions & Answers] nikktrikk:
Yes, the h910 is the same model as it was when I bought it from the store, the sticker underneath the battery says the same thing. I PM'ed you a link to the systemdump.img & bootdump.img files :good:
[LG V20 Questions & Answers] nikktrikk:
Now that we have your awesome custom ROM, is there any way to install GApps Pico into it? I use very few Google apps and services and I would love to be able to get Pico on the ROM. If we are able to do that, do you know which version is compatible?
[LG V20 Questions & Answers] Tilde88:
Um... I'm not sure what you mean.

gApps Pico isn't really a thing. Are you talking about the flashable ZIP that is called Pico? This is simply the 2nd smallest ZIP that includes some gApps. There are other packages than Pico, but I assume what you are looking for exists simply in the Pico package?

The best way would be to flash the file and see which apps load. These gApps are for AOSP ROMs, that do not include the Play Store, and/or some of the apps/services that are required by the Play Store.

http://opengapps.org/ --> ARM64 --> 7.0 --> Pico --> Profit??
[LG V20 Questions & Answers] nikktrikk:
Yeah exactly, the flashable Pico zip. I agree, they are usually used for ROMs lacking the functionality, but I wanted to actually reduce the amount of Google functions on my device by installing a more minimal app package. I use the Play Store and a few services, bht most of the Google functions I don't use and are just running in the background. Like I have the GPS randomly turn on multiple times a day not matter how I set the permissions. I just didn't want to do anything that would interfere with your ROM since I have read about people messing up their Google functions by not deleting the previous GApps package before flashing the new one. I will just backup the ROM first in TWRP and try your suggestion.
[LG V20 Questions & Answers] Tilde88:
For the Nexus 6, there is an init.d script called Fix Google Services v4. This was designed specifically for that reason on GPS you talk about. I used it in my ROM before, and while it worked fine for me, it gave others FCs. And after a while, I realized that I had an issue using some Google Services that use the federated Google login. I haven't looked into fixing it up for our devices but, it can be found here. Be sure to backup before applying, because even after removing the script, some services stay in a frozen state, and even after re-enabling won't work right until you reflash (dirty is fine)

http://xdaforums.com/nexus-6/general/script-reduce-google-play-services-t3171224
[LG V20 Questions & Answers] nikktrikk:
Okay, I will give it a try. It seems promising. I installed and ran the app called Gservicefix after flashing your ROM, and that seemed to fix the GPS issue on the stock ROM, but the GPS has been turning on even after using that app with your ROM, so I will try the init.d script. Thanks!
[LG V20 Questions & Answers] Tilde88:
You should know, that this ROM and kernel combo, on top of being tons smoother and faster than stock, also gives a good 10-15% more battery life.
[LG V20 Questions & Answers] nikktrikk:
I will tell you right now, your ROM is waaayyy better than stock. I mean, it is smooth, fast, and just like you said, I noticed a massive reduction in battery drain! Again, thank you for this. It is fantastic. I just like to customize things in certain ways, especially if I have the ability with a custom ROM. It is like opening presents on Christmas... Oh wait... Did I mention this is perfect timing to be the best Christmas present I will receive this year? Thank you!!! :D
[LG V20 Questions & Answers] Tilde88:
hahaha.

I love reading posts like this :D

Enjoy :)
[LG V20 Questions & Answers] nikktrikk:
Haha thank you, I will definitely enjoy. My wife keeps getting mad because I am glued to my phone ;) Have a happy holiday:)
[LG V20 Questions & Answers] nikktrikk:
I have one more question. How difficult and time consuming is it to remove Gapps from your ROM? I am just curious.

I went ahead and flashed the Arm64 Pico and it seems like it went smoothly. It said during installation that it was removing apps and replacing them. On reboot, it showed there were still apps installed that it should have got rid of, and it seems a bit more laggy. All of the google functionality is still intact as far as I can tell, but a couple of the ROM Toolbox Pro app functions now cause the app to need to close. I'm not sure why. I have a backup so it is not a big deal if I need to restore it if it proves to cause issues.
[LG V20 Questions & Answers] Tilde88:
Try force close, then clearing data and cache for that Rom Toolbox. If it still fails, uninstall and reinstall. ?
[LG V20 Questions & Answers] nikktrikk:
Those are the first things I tried and also rebooted. Still no luck.
[LG V20 Questions & Answers] nikktrikk:
I tried using Waze to navigate somewhere and it also lost its functionality after the Pico flash. I restored the TWRP backup of yours and it works perfectly now again :)
[LG V20 Questions & Answers] nikktrikk:
Alright, I'm finally breaking down and asking you... I have been trying to figure this out on my own since you mentioned it to me, but I keep getting errors saying that it is read only and that I can't put the .sh file into init.d. I have tried changing the permissions from r to rw but it always responds telling me that it is busy. I wanted to figure it out and do it myself, but I have restored my TWRP backup I don't even know how many times just because I have been trying so many things. Do you know how I can fix this problem and get the Fix Google Services v4 working?

Also, I absolutely love your ROM! The battery life is definitely better, but I am just one of those people that likes not having all the Google stuff and would rather add only what I need, rather than having to go in and disable and delete things through trial and error. I know that Google is deeply embedded into Android ROMs, but CM ROMs come stock with no Google apps installed. Is it difficult to remove Google from a custom ROM? I literally only need the Play Store, Contact Sync, Play Services, GPS, and voice recognition when I text so I can talk and it will turn what was said into text. I was able to completely disable every Activity, Receiver, and Service associated with Google App, except for 2. Those 2 still allow full GPS use, Play Store, Sync, and voice to text functionality.

There are tracking, ad services, battery draining receivers and services, etc that were all disabled. What is the point in having all of the extra stuff running or active when they contribute nothing to the ROM functionality? Please excuse my lack of understanding with this, I don't know anything about coding or programming and do this because I love having control over my phone. I work long, 12 hour shifts and heavily use my phone. I prefer to maximize my battery and functionality so I don't need to worry about charging my phone since I am on the go my entire shift.
[LG V20 Questions & Answers] Tilde88:
Use a root file explorer to put the file in etc/init.d, and give it full permissions. really only need r and x but meh

or

if you have to use ADB do

adb shell

su

mount -o remount,rw /system

cp /sdcard/file.sh /system/etc/init.d

chmod 777 /system/etc/init.d/file.sh
[LG V20 Questions & Answers] nikktrikk:
I attached a picture of the response I keep getting when I try to remount as rw. No matter what method I use, it says it is busy. I can't do it in any root file explorers either because of the same problem. All of them are having some issue with the file being read only and not allowing me to change the permissions. This has been happening before I altered any files, I have been trying since I first flashed your ROM. I know it is probably something so minor and easy to fix but I can't figure it out.