yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Nerva:
I have a Sprint Galaxy S4 and my girlfriend has a Verizon Galaxy S4, and over the last year or more we have noticed there is always a huge difference in battery life -- mine lasts somewhere between 2X and 4X longer than hers.

I know of two differences between our phones, but I'm not sure which one accounts for the discrepancy.

The first is, of course, that she's on Verizon and I'm on Sprint. I have noticed that she gets 4G LTE about 95% of the time, while I get 4G LTE probably 25% of the time. If 4G uses more power, that might explain it. I also know Verizon and Sprint use very different spectrum bands, so perhaps Sprint's uses less power.

The second difference is, I have always run custom ROM's that have Caller IQ removed, while she has always left her phone stock (getting over-the-air updates). I have heard it claimed that the Caller IQ and other carrier nonsense slows down your phone and hurts battery life, but I wouldn't have imagined the effect on battery life would be so dramatic.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
It's most likely the fact that you're ROM'd and rooted. Custom ROMs have a ton of benefits. LTE usually uses about the same amount of power as 3G, I can't speak for the different bands, but many other people that I know that have Verizon S4 have said the same thing. They can barely get 8 hours out of it. I get around 20 on average (unless I'm in a gaming binge).
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] KennyG123:
You cannot compare how long your battery lasts against hers unless you are comparing screen on time, actual usage. If she spends 2 hours on Facebook or something, has brightness all the way up, has screen timeout set twice as long than yours....all these things affect battery life.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Nerva:
Actually, the overwhelming amount of usage is "Android System" or "Android OS" or something like that, I forget which. That's what jumped out at me -- my phone almost always has "screen" as the top power user, but "screen" is never at the top of her list. I always suspected it was Caller IQ or something like that, but I don't know if CIQ is used by Verizon.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] john.mcglaughlin:
But I can say

I have had it with missed calls and texts on Sprint and moved to Verizon last month. Over 2 years on Sprint I never had a problem making it through the day even with heavy usage. Since moving to Verizon e.g. this morning, in 2 hours I am down 25 %. I turned off my phone last night, and restarted it before bed.

Also Charge time on a Verizon phone is very long especially not using a samsung charger. I can swap batteries with my spring phone and charge on any charger much faster.

I have attempted to kill ANY programs I can find that are not used, When I go back to app manager at the end of the day all kinds of things are restarted, but pulling virtually no cpu or screen time.

Granted since all units were forced to 5.0.1 even the Sprint phone lost some battery life, but not as much as switching to Verizon.

(USAGE HABITS HAVE NOT CHANGED BETWEEN PROVIDERS)
[Android Q&A, Help & Troubleshooting] dani_alves:
i want to add a new fuction into cm_bacon_rom for oneplus phone.

the fuction is to encrypt content transmited by tcp/udp protocols in the enviroment of mobile internet or wifi.

where can i fullfil this new fuction in source code? kernel? framework?

can anybody give some instructions? or suggestions?

THX!
[Android Q&A, Help & Troubleshooting] _that:
Search the web for "Android VPN".
[G3 Q&A, Help & Troubleshooting] nazandrake:
I have D858HK with rooted android 5.0.1(stock) and I'm trying to hex fix /system/lib/hw/bluetooth.default.so because of the bluetooth A2DP bitpool low value. (since implemented fix is nowhere to be found for this model).

The problem is that this file is missing. I tried searching everywhere for it but it is missing. Does anyone know if it was renamed or something for the D858 version...

Everything works fine except for the low quality. I have the /system/lib/hw/audio.a2dp.default.so file but bluetooth.default.so is nowhere to be found and the actual DEFAULT_SBC_BITRATE value is compiled in it.

Any ideas.... :confused:

Thanks.
[G3 Q&A, Help & Troubleshooting] rk2612:
There is a version located at:

https://github.com/mysteryjeans/and...-12.1/proprietary/lib/hw/bluetooth.default.so

Cyanogenmod 12.1 compiled from this source worked on my D858HK and the bluetooth devices which were not working fine with the stock ROM worked well with this custom ROM.

Do you think that simply copying this file into the folder /system/lib/hw/ will make the stock ROM work properly with bluetooth devices which do not work well currently?
[Shield Android TV General] Steel01:
I was going to wait for this device to be added to devdb to make a release thread, but that's being delayed, if it'll ever happen. So, I'm making this thread as a placeholder. No big fancy text, just a known problem list and the release. If you're looking for this, you probably know what to do with it. Everything should work from flashing to backup and restore from all external media. If it doesn't, please report it.

KNOWN PROBLEMS:

1. This is a multirom edition of twrp, but there's no multirom support yet.

2. My wireless keyboard / mouse combo (an old Logitech MX something or another) fails to initialize the mouse on boot. I have to unplug and replug the USB receiver for the mouse to work. My wired mouse doesn't do this. I'm curious if anyone else sees a similar problem or if there's something weird with my hardware.

SOURCE:

device (branch cm-12.1-mrom)

kernel

vendor

CURRENT RELEASE:

For Android M:

twrp-20160222-UNOFFICIAL-foster.img

Known Issue: This release does not work on 4K displays. It boots to a black screen. Please use a 1080p display for TWRP until this is fixed.

For Android L:

twrp-multirom-20151112-UNOFFICIAL-foster.img

OLD RELEASES:

twrp-multirom-20150630-UNOFFICIAL-foster.img

twrp-multirom-20150624-UNOFFICIAL-foster.img

twrp-multirom-20150613-UNOFFICIAL-foster.img
[Shield Android TV General] zulu99:
MultiRom will be a must have on this device.

I really appreciate your work, and reading the various thread on xda I found out that you're one of the best developers for Nvidia Shield devices.

Without people like you we would all be locked in a large digital cage.

Compliments
[Shield Android TV General] aznmode:
Thanks Steel01!
[Shield Android TV General] Steel01:
I'm starting to slowly look at what I can disable in the kernel to shrink it down enough to fit in the recovery partition. Unfortunately, my first two ideas, network and sound, can't be unilaterally removed due to the android USB gadget (used for adb) depending on them. I've got it down to 26 MB, but iI dont know if it still boots. I'll try a few more things and hopefully have something working in the next couple days. I'm also hoping Tasssadar merges the 2.8.7.0 changes soon, the resize functionality will be useful (in testing I somehow shrunk my user data partition to 11 GB and had to reformat it get the full 4?? GB back).
[Shield Android TV General] Steel01:
Or it could be quicker than I thought. Todays test was successful. It's small enough to barely fit in the partition and appears to work correct. The link is in the OP. The next update to the multirom TWRP will probably make it too big again and I'll have to rip some more stuff out...
[Shield Android TV General] JohnHenryIron:
I want to install twrp recovery on my 16gb Shield, but i have no need for multirom. Is there an option to bypass the boot option or should I wait for a standard TWRP?

You didn't take much of a break before going back at it again. Thanks for your dedication!
[Shield Android TV General] Steel01:
Well, I'm not going back at it fully yet. Next week and a half will likely be pretty busy. I'm just doing a piece here and there.

This TWRP has multirom support, but does not require it or even set it up by default. In fact, to enable multirom, you have to install a separate zip (which I haven't released because it doesn't work). So no, you won't see any extra boot screens with this.

A standard TWRP build should be simple to make with the sources I've linked in the OP. I haven't released one here (or on any device I support) because I don't want to support it directly (basically, I'm supporting what I use myself). If no one else makes one, I might make a one time build for those that want it.
[Shield Android TV General] cdsn99:
Hi Steel01, thanks for your efforts. I am a rookie at best at this, however, I managed to get this installed to my 16 gb shield tv, all appears to work fine, except I am unable to pair the shield remote, the shield game controller paired fine, but not the remote, just curious is this is expected, or maybe something wrong on my end. Also, If I wanted to load another rom at some point, is it as simple as booting to the twrp screen and selecting install? Hope that doesn't sound like a dumb question, I'm just a little unsure of that exact process. thanks
[Shield Android TV General] Josti-Band:
Remote controller fix

Do not worry and follow these simple steps to fix your remote controller problem:

This is quite normal after a system reset or wipe.

If the remote did not connect:

If the microphone symbol is not flashing, hold down the back and home buttons at the same time until it flashes (3 seconds).

If the microphone symbol does not flash after holding for 3 seconds, charge the remote and try again.

To charge the remote, connect it to one of the USB ports on the back of your SHIELD with the included USB cable or connect it to another USB power source.

---------- Post added at 06:08 AM ---------- Previous post was at 06:01 AM ----------

Yes with TWRP it is very easy to flash a new rom, it is also recommended to use the recovery roms for updating your system.

Instead of running the OTO updates because this will undo your Root modification and reinstall the original recovery partition.

Download the correct firmware from this forum from the nvidia developers network, place it on a SD card boot to recovery and flash.

As a final suggestion have a look at the Flashify utllity (not compatible yet) or similar from the appstore, that a simple front end for flashing & backing up boot and recovery partitions. And it will enable you to boot to recovery in one click.

I have TWRP running on my Shield Portable / Shield Tablet without any problems.

Enjoy
[Shield Android TV General] cdsn99:
Thanks Josti-Band , that fixed my remote, I appreciate it greatly. Thanks also for the info on flashing, I'm still have one more question, when I flashed the img file from this thread TWRP, did I change the rom or just the recovery? It seems like the rom is the original that was on the shield tv, If rom was not changed do you or anyone else have a recommendation. Thanks again for the assistance.
[Shield Android TV General] Josti-Band:
No Problem, Your Shield TV has basically 3 partitions (to keep it simple)

1) Boot

2) Recovery

3) OS/Data (Rom)

With the steps you have followed

a) you unlocked your 1) bootloader, to enable the installation of unsigned packages to make this possible your personal data was erased/wiped from the 3) OS/Data partition.

b) Then you applied a new TWRP image to the recovery partition an replacing the old one.

So your 3) OS/Data (Rom) is still the original one you only wiped the personal data clean when unlocking the bootloader, this also the partition you will write your updated recovery images to. And stay updated.
[Shield Android TV General] cdsn99:
I have TWRP running on my Shield Portable / Shield Tablet without any problems.

Enjoy[/QUOTE]

Thank you, that makes better sense, I will try and load a rom and gapps and see how it goes. thanks again for the assistance
[Shield Android TV General] cdsn99:
I have edited and deleted the orginal text from this post,and moved it to it's own thread. I realized I was beginning to hijack steels thread, I couldn't find a way to just delete the whole post, sorry.
[Shield Android TV General] Steel01:
Tassadar merged TWRP 2.8.7.0 into his multirom twrp fork today. So I ran new builds for everything I support. Unfortunately, I have not been able to test this device (TV's been busy all night), so YMMV. The other builds came off fine, so I don't see why this one should have any problems the last build didn't. Of interest in this build is the partition resize feature. So if someone does something weird like I did and ends up with an 11 GB data partition on the pro, it'll be *much* easier and quicker to fix now. Build is in the OP.
[Shield Android TV General] zulu99:
What about the kexec-hardboot patch ? Do you have already tried it ?

The others binary for multirom execution are the same for all arm64 devices like the nexus 9 or we need a specific build for shield ? I never played with multirom stuff. There are specific problems to solve ? In case i can help you with experiments if you don't have much time.

P.S.

I tried your patch for the framework and all others new Nvidia binary + resigned private apk like blakepairing and others. But this year Nvidia added many others things to the framework. You can see by yourself with dex2jar.

It's a shame that for a stupid controller there are all this bloatware inside the firmware. Very bad behaviour, that a so big company not publish drivers for an hardware that we have bought. Fortunately we can use also better wireless controllers. But this fact really remove 10000 points from Nvidia as good company.
[Shield Android TV General] Steel01:
I've worked very little on the multirom side of things. The kernel repo has a mrom branch with a kexec patch, which still boots to stock. However, there's something getting triggered in the multirom init program that is skipping the boot screen. I haven't tried to track that down yet.

The controller part is off-topic, but there isn't really anywhere else to discuss it yet. Maybe I'll open a CM thread for discussion and put not working in bold at the top. Anyways, the framework patches work with the blakepairing shipped with the Shield TV, that's what I ship with my portable and tablet builds. But you have to deodex and stuff the class file back in the apk. Or easier, use the one in my vendor repo and just resign it. That should at least run. On a side note, the underlying technologies are all open source. WiFi Direct, wps, hid, etc. It just a standard USB hid controller with a WiFi chip and USB sound card. It's driven by an xmega (iirc) as well, those are all pretty open. It's obfuscation atm that stops me from completely reimplementing the pairing open source.
[Shield Android TV General] zulu99:
Already tried all. deodexed and resigned stock stuff, also used your framework patch and your (resigned) apks . not work in shield console. as i write above in shield console there are others proprietary things in the framework. Tested also with your wpa_supplicant and hostapd but the result does not change.

In any way i will retry

We can discuss in a separate thread. sorry for off-topic. can be useful also for others developers
[Shield Android TV General] reflog@gmail.com:
This is very interesting, please continue with this work! Would be great to get the remote working on other ROMs.

Thanks!
[Shield Android TV General] baileyjr:
I have a logitech K830 keyboard with trackpad and have exactly the same issue as you. I have to unplug and replug the usb receiver before it will work with the recovery.

The recovery itself is working great for me. I can access my external usb hd from the file manager, and I did a TWRP backup to the external usb drive last night :good: Ive sideloaded this app to boot straight into the recovery from the TV.. https://play.google.com/store/apps/details?id=gt.reboot.utility
[ZenFone 2 Q&A, Help & Troubleshooting] ractar28:
Problem: We can download the firmware from Asus in the form of a zip file. We can use adb sideload <firmware>.zip to sideload the firmware.

Request: How can I flash that firmware using fastboot? It looks like I need to use a .img file. How do I convert that .zip file to a .img file?

Reason: I found a situation where using the sideload method didn't seem to work correctly. I ended up having to get a pre-rooted .img and flashed that, but I want a "virgin" img file. Thanks.
[ZenFone 2 Q&A, Help & Troubleshooting] sorg:
If you install zip from ASUS download site (not OTA!) then you will get virgin stock ROM after update.

This kind of update (around 1GB) erases system partition before install, so it doesn't matter how hard you've modified previous firmware. SU, Xposed, etc - everything will be automatically wiped before install.
[ZenFone 2 Q&A, Help & Troubleshooting] damian5000:
The question is how do you convert .zip to .img?
[ZenFone 2 Q&A, Help & Troubleshooting] sorg:
tools to build img from zip (only full ROM, not OTA) published there: http://xdaforums.com/zenfone2/orig-development/rom-pre-root-img-t3079590

But keep in mind, it's for advanced users. I would say, for developers.
[ZenFone 2 Q&A, Help & Troubleshooting] ractar28:
Thanks. I asked that nice feller if he was able to do such a thing as I'm not a dev or even well-versed in Linux.
[ZenFone 2 Q&A, Help & Troubleshooting] Harfainx:
What firmware zip are you looking to flash?
[ZenFone 2 Q&A, Help & Troubleshooting] sorg:
flashing system.img was just temporary solution, as the only way to root or modify firmware before bootloader unlock.

With unlocked bootloader and custom recovery you can modify update.zip as much as you want and then install it.

Even if you don't want to unlock the bootloader, then you can use temporary custom recovery and install any modified zip.

So, in general you don't need to create system.img anymore. Just use zip to install whatever you want.
[ZenFone 2 Q&A, Help & Troubleshooting] Harfainx:
^ That's exactly why I was asking. I can put together whatever zip if they know what they want flashed. :good:
[ZenFone 2 Q&A, Help & Troubleshooting] BOSSPDA:
Hi,

can you make system.img, pre-rooted or not, like [MENTION=1813976]shakalaca[/MENTION]?

I tried but I haven't enough knowledge to do, though I tried to install a ghitub, etc, etc.

I would like to download the system.img fro last firmware, Z00A-WW.2.19.40.22.

Thanks
[One (M9+) General] xiaolongzi:
.htcdev.com/devcenter/downloads

Let the games begin!
[One (M9+) General] tbalden:
Yes, it's already out since a week or so. :)

I'm working on my kernel since then.

[MENTION=6701598]xiaolongzi[/MENTION] Do you have experience with tweaking MTK kernels? Are you planning on your own custom kernel?
[One (M9+) General] xiaolongzi:
this is my first time tweaking my own custom kernel。:D I'm looking for some guide now！:eek:
[One (M9+) General] tbalden:
i've started to look at the sources, MTK has a strange method of adding their part to a kernel tree :) Instead of using the normal parts of the directory structure, I found most drivers in /drivers/misc/mediatek/

Even the Machine part with its MTK specific frequency and voltage setting is there. The part where voltage and freqs are tweaked is not easy to follow :) but that's where freq tweaking could be done... https://github.com/tbalden/android_...ers/misc/mediatek/mach/mt6795/mt_cpufreq_64.c
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] tooandrew:
how can i boot a kernel from ram, or otherwise run a kernel without flashing it. I need to integrate some drivers into the kernel but i am petrified of bricking my phone.

Yes, yes, Odin or heimdall for flashing, I get Odin covers fastboot flash, but is there a fastboot boot function?
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] xxSTARBUCKSxx:
Kdevelop + linux plugins
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] tooandrew:
Thank you, I'll Google that.

Edit: it's not clear what I'm supposed to do with this software in order to fastboot a kernel
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] tooandrew:
A bit more info would be quite helpful and much

Appreciated. Thanks for your help.
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] xxSTARBUCKSxx:
I apologize for the lack of info. Id first read up on fastboot and even see if the command lines even exist for what you want to do (searching any and all pertaining to kernels) That will tell you if you can proceed in the direction you want to go whether it be from positive or negative results in searching your desired criteria.
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] tooandrew:
Fastboot commands work just fine for what I need to do, but from what I understand fastboot is not integrated into samsung's download mode. Fastboot boot is the command I need, is there at least an emulator for the note 4 that I can use to test a kernel without flashing?
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] xxSTARBUCKSxx:
Can you not test kernels on Android Emulator?
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] tooandrew:
from what I've been able to figure out, no. You mean the one built into android studio?
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] xxSTARBUCKSxx:
http://xdaforums.com/note-4/unified-development/kernel-tutorial-custom-kernel-101-t2938813
[JASJAR, XDA Exec, MDA Pro Software Upgrading] gervasius:
Hi,

I found two different (in KB size) ROMUpgradeUt.exe files:

one is 28 K and second is 78 K

does anybody knows something about it??
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
Hello Xda ..

Unfortunately Background defocus doesnt work for xperia sp :/

Even if i installed it when i toke any picture it says Couldnt blur the background

So .. Any one can port the app and the other sony camera apps to work at the device well ..

Like flashing it by recovery mode or any thing else ..

Pls .. I realy need this app ://
[Xperia SP Q&A, Help & Troubleshooting] Oblox:
How about adding the effect afterwards with something like snapseed?

https://play.google.com/store/apps/details?id=com.niksoftware.snapseed
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
Ofc iam using snapseed since long time .. But i want this app specifically

Or ...

Do u know any good rom including the Xperia Zs camera apps ?!
[Xperia SP Q&A, Help & Troubleshooting] Oblox:
Sony's background defocus app when I last used it was godawful and failed 90% of the time, Google Cameras version works much better and more of the time.

But to be honest when you can simply take a photo and snapseed the defocus then why bother faffing with defocus at all when taking the picture?

Have you asked if this includes it?

http://xdaforums.com/xperia-sp/development/rom-z3-experiencesp-t3039228

Doesnt state it but includes everything else not sure why Camera app and add ons wouldnt be there.
[Xperia SP Q&A, Help & Troubleshooting] flash-:
what android version are you using ?

if you are on 4.1 or 4.3 or 4.4 then flash this :)
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
How i can flash it .. ?!

Its not a .zip file !!!
[Xperia SP Q&A, Help & Troubleshooting] flash-:
my bad>>flash this then install the apk

this flash for cm11 (it is a port) but i think it will work for sure on your ROM...so flash it at your on risk ....make a backup before flashing it :)
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
Im on stock not custome rom .. Will it work ?!
[Xperia SP Q&A, Help & Troubleshooting] flash-:
i was on stock(4.3) and i remember i flashed it successfully ...but i'm telling you do a backup before ...and do it on your own risk :)
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
Fine .. Thank you :)
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
i flashed it but doesnt work and the camera app doesnt work too :(

the other apps working expect background defocus !!!
[Xperia SP Q&A, Help & Troubleshooting] flash-:
did you install the apk from the first link i gave you :)
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
when i tried to install it

it says "app not installed "
[Xperia SP Q&A, Help & Troubleshooting] flash-:
ok sorry for that cuz i moved from 4.3 since a long time.....so you did flash the camera port via recovery then tried to install the apk but it didn't install right ? :confused:
[Xperia SP Q&A, Help & Troubleshooting] Mohamed Shawky99:
exactly :(