yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Q&A, Help & Troubleshooting] Satorikn:
In the US?

Not compatible with the US Bands of any GSM Carrier for 4g LTE Yet, At&T is rumoured to get 1800MHz LTE band but it is not confirmed, and won't happen right away since we're speaking about implementing different frequencies which might mean different hardware and towers.
[Galaxy Tab S Q&A, Help & Troubleshooting] Orphee:
In France, LTE is working great on my SM-T805.
[Galaxy Tab S Q&A, Help & Troubleshooting] xpqter:
Sorry, forgot to mention, live in Norway and we do have the 2600MHz band available.
[Galaxy Tab S Q&A, Help & Troubleshooting] pibach:
According to spec, tab s should support all: Hexa-Band 800, 850, 900, 1800, 2100, 2600 MHz
[Galaxy Tab S Q&A, Help & Troubleshooting] Orphee:
Samsung France told me it should work all over the world.

But your provider can or cannot activate LTE for your device.

I know some providers not always enable LTE' you must contact them...
[Galaxy Tab S Q&A, Help & Troubleshooting] xpqter:
My provider had to restart some of their services to make it work..
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] sitdownpro:
I have perfect battery life on my S5. I convinced my coworker to get an S5, but their battery life has been total crap. Their Android OS is at a whopping 40%! Mine runs at maybe 20, but more like less than 15% (I am rooted, but before I was I noticed it at maybe 20%). Thoughts? I heared of the deepsleep bug, but I think that is for old android version. All help appreciated!
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] BigBot96:
I've noticed the issue with GPS location services and Google Play Services.

For GPS, try this:

Turn location OFF (if it's already off, turn it ON then back off after a few minutes).

Reboot

Turn location ON

Reboot

This fixed one instance of battery drain I had... Don't know why or how, but it did.

For Google Play Services, I cleared cache/data for this in Application Management, uninstalled updates, rebooted, and let it update again. This fixed the instance of this battery drain.
[Sprint LG G3] kevinrocksman:
This thread will expand but for now this is a call out to any and all that want custom boot anis. Hopefully the devs will figure out how to make .zip anis work like they did previously (I would but I don't have a G3 yet). I have been designing and making custom boot animations for years now and was even honored to develop the OMIrom boot animation. This is a callout to devs also, I would be honored to make the boot animation for the roms you are well off by now developing. I'f youd like to see some of my custom work it will be up shortly.
[Sprint LG G3] benny3:
Nice to see you its been a while. i just ordered the G3 and i hope we see root at the least.. soon. You see Evan much? I hit him once in a while on hangouts.
[Sprint LG G3] E.T.Heil:
My, my...everyone bailing for the G3...tsk tsk. You all know how to find me lol. Who knows, I could bust out some animations, splash screens, wallpapers..general visual awesomeness.

Sent from my HTC M8
[Sprint LG G3] sinisin:
Mad props to anyone who can tell me how to get rid of the ugly ass Sprint Boot Ani and shutdown ani. Because I deleted them in /system/media but they are still present on shut down and boot. Rooted access. So yeah. The files are gone.
[Sprint LG G3] menissalt:
Glad to have you on board man, you make the best animations!
[Sprint LG G3] dannyboyex:
Do the other variants have custom bootanis working already? It would be good to know because on one of my previous phones (either the S2 or evo3D) if it was over a certain file size or dimensions, you could soft brick.
[Sprint LG G3] sinisin:
/carrier/cust/poweron and /poweroff. No more ugly ass sprint spark anis!

---------- Post added at 11:23 AM ---------- Previous post was at 11:21 AM ----------

There is a G3 boot ani thread in the General G3 section in Themes and Apps.
[Sprint LG G3] thznutz87:
Could you do a spinning vw/rabbit emblem. Like a coin vw logo on one side rabbit emblem on the other?
[Sprint LG G3] I-IoLLoW:
The bootanimation I made today was almost 60mb and it works great. So I don't think so. ;)
[Sprint LG G3] I-IoLLoW:
Thank you for this buddy!
[Sprint LG G3] sinisin:
I was hoping people might read that in here but they didnt. So I just made a little handy easy to find guide to hopefully save a million questions later.

You did a good write up on it in your thread too but they aren't seeing that one either apparently. Dang lazy bums.
[Sprint LG G3] Droid2drummer:
Im one of the lucky ones that never had sprint boot. Lol. It failed out of box.

Sent from rotary technology Phone
[Sprint LG G3] bruiserman:
I didn't have the sprint boot but that also meant I didn't get the wifi calling app either. So when I reset the phone using the msl code to get wifi calling I got the sprint boot. You can just add new boot and shutdown ani to System/media and delete the sprint ones and your golden. Pretty easy.
[Sprint LG G3] Droid2drummer:
Trust me. Lol. I am happy and am missing nothing. I don't have any call issues. Wi-Fi calling it says "attempting HD voice " but whether it works or not is no problem. I like my phone sprintless. Lmao. Thanks brother.

Sent from rotary technology Phone

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

I do need or would like to grab my msl. So I'll call Sprint and keep it for ****'s and giggles later.

Sent from rotary technology Phone
[Sprint LG G3] bruiserman:
Yeah, I needed the WIFI calling. My home is a vortex for Sprint signals, all around me is full strength and once I'm home there's nothing. Sprint has no idea why :confused:. Had to have an Air Rave which they supplied at no charge, but the wifi calling actually works better.

The CdmaDevTermV.2 method got my MSL without having to call sprint. The method is in here somewhere and was pretty simple. :good:
[Miscellaneous Android Development] cybojenix:
What is DeltaJen?

Why should I use it?

But what if I use CWM instead of TWRP?

The Geeky parts

How do I use this?

I want to include this in the build steps of a custom rom

Requirements

It does NOT fully support windows yet, due imgdiff not supporting it. You can still run it, but it will only use bsdiff

More detailed instructions will be included soon, and the docs will be improved.

If you want direct help/to contribute/generally chat, come on down to the freenode channel #CyboLabs

last but not leased.

The source

XDA:DevDB Information

DeltaJen, Tool/Utility for all devices (see above for details)

Contributors

cybojenix, [mention=4775688]GermainZ[/mention]

Version Information

Status: Alpha

Created 2014-08-06

Last Updated 2014-08-09
[Miscellaneous Android Development] cybojenix:
Reserved

Dependencies

Linux

Python

bsdiff or bsdiff4

imgdiff

DeltaJen

Windows

Python

bsdiff or bsdiff4

imgdiff

DeltaJen

System Requirements

A supported OS

Enough ram to hold both zips (two 100mb zips would need 200+mb ram)

Enough storage to hold both zips
[Miscellaneous Android Development] dvm84:
Amazing work mate!

I guess that ROM is SlimRoms. Would be glad to see this kinda awesomeness in Slim. :)
[Miscellaneous Android Development] g33kparineeti:
OMG, another [MENTION=4584140]cybojenix[/MENTION] project!!! :victory:

Have become your fan lately... ;)
[Miscellaneous Android Development] cybojenix:
updates

automatic system and boot info detection has been added, the script is less verbose, and you can execute it directly now.

Documentation still to come
[Miscellaneous Android Development] Black_Eyes:
Superb Work Cybojenix :)

You Rock sir
[Miscellaneous Android Development] cybojenix:
kudos to [MENTION=4775688]GermainZ[/MENTION] for the massive help with cleaning up documentation.

wiki on github is in progress to aid you all.
[Miscellaneous Android Development] Calin:
Woow, nice work man :)
[Miscellaneous Android Development] kl3:
Any chance this project can be combined with CyanDelta for CM or OpenDelta in OmniROM?

It would be really nice if Cyan/OpenDelta downloads the differential update but creates a small update.zip only containing changed files instead of creating the latest complete ROM zip file.
[Miscellaneous Android Development] cybojenix:
CyanDelta: I can't comment on because I've seen no documentation from them, nor can I get access to one of their final delta's.

OpenDelta: basically, DeltaJen and OpenDelta have two entirely different methods of working. Omni is wanting a system that will ensure the output is exactly the same every time, and not fail if the system has been modified (a zip is built and the system is flattened before applying)
[Miscellaneous Android Development] kantjer:
This looks great.

I did a quick test using my windows system, running the script gave me the following output.

C:\Download\DeltaJen>python DeltaJen.py -b SlimSaberKat-jflte-4.4.4-2
-i SlimSaberKat-jflte-4.4.4-20140807.zip -o update_zip
WARNING: boot information not supplied.
MTD boot info found
patching system/priv-app/BackupRestoreConfirmation.apk: 1 of 95
Traceback (most recent call last):
File "DeltaJen.py", line 716, in <module>
cli()
File "DeltaJen.py", line 702, in cli
dj.generate()
File "DeltaJen.py", line 469, in generate
self.create_patches(to_diff)
File "DeltaJen.py", line 378, in create_patches
p_data = self.compute_diff(b_file, n_file)
File "DeltaJen.py", line 584, in compute_diff
if not bs_diff:
NameError: global name 'bs_diff' is not defined

Any tips on what I did wrong
[Miscellaneous Android Development] cybojenix:
Ah, line 44 should be 'bs_diff = None'

On windows, you must have the python bsdiff4 installed btw
[Miscellaneous Android Development] kantjer:
I have bsdiff4-1.1.4.tar.gz extracted to the folder containing the script and python but that clearly isn't the way to go.

ERROR: python bsdiff4 is required for windows
[Miscellaneous Android Development] cybojenix:
you need to compile it as it has c parts.

try this http://www.lfd.uci.edu/~gohlke/pythonlibs/#bsdiff4
[Miscellaneous Android Development] SkandaH:
[MENTION=4584140]cybojenix[/MENTION]

A good piece of code & nice idea! Just one suggestion - can you please try xdelta (based on VCDIFF) instead of bsdiff?? In MDL, we have a very good result by using it, both in terms of memory & speed. AFAIK, CyanDelta also uses it. If you want a Python wrapper, then see here.

Best of luck!!
[Miscellaneous Android Development] cybojenix:
the issue with xdelta is it won't support recovery out the box. I've considered running a script to apply them manually (obviously only to replace bsdiff for now), but I won't be doing it at this stage.
[Miscellaneous Android Development] kantjer:
Thanks, but the installer is complaining python 3.4.1 needs to be installed but can't be found in the registry.

I have reinstalled python 3.4.1 using the.msi but still the same error.
[Miscellaneous Android Development] cybojenix:
what can I say, windows sucks ;)
[Miscellaneous Android Development] kantjer:
I will try it tomorrow on my linux build machine.

That's where I want to have it running eventually.
[Miscellaneous Android Development] DJNoXD:
Great work :good:

Congratulations my friend.
[Miscellaneous Android Development] poo706:
This is really great [MENTION=4584140]cybojenix[/MENTION], I hope to start using this on my ROM releases. A few comments and questions. Using linux, I had to edit line 44 of the py to get it to work right, just so you know. Also, looking at the updater-script of the 4 mb zip (wow!), there's no wiping/formatting going on right? I don't even see any mounting of /system. Is it going to matter that I've changed my updater-script from the usual methods of mounting and formatting in order for my ROMs to be universal to both EXT4 and F2FS?

[poo]
[Miscellaneous Android Development] mirhl:
May I suggest jojodiff?

In my testing it blows away both xdelta and bsdiff
[Miscellaneous Android Development] cybojenix:
can you send me your stock updater-script please?

and no wiping/formatting. that's the beauty of it ;)
[Miscellaneous Android Development] poo706:
http://pastebin.com/QUmfSs2N

[poo]
[Miscellaneous Android Development] cybojenix:
bsdiff gives better compression on libs, and no differ will match imgdiff due to the way it works
[Miscellaneous Android Development] cybojenix:
ok so what you'd need to do is create an edify command called run_program, and subclass the Edify class.

class CustomEdify(Edify):
def run_program(self, commands):
"""execute a program

Args:
commands (list of str): command and args to run
"""
cmd = 'run_program('
cmd += ', '.join(['"%s"' % i for i in commands])
cmd += ');'
return cmd

you'd then need to overwrite the mount_system and unmount methods in the DeltaJen class

class DeltaJenWrapper(DeltaJen, edify=CustomEdify):
def mount_system(self):
"""Custom method for mounting system to add support for f2fs/ext4"""

return [self.edify.ui_print("Mounting system..."),
self.edify.run_program(["/sbin/busybox", "mount", "/system"])

def unmount(self):
return [self.edify.ui_print("Unmounting system..."),
self.edify.unmount("/system")]

and hey presto, you now have a custom mount command.

http://hastebin.com/apuxekenad.py

I'm adding run_program mainline now, so you won't need to subclass Edify
[Miscellaneous Android Development] poo706:
I'm really excited to try to understand this and put it in action, but I can't get to it for a few days.

In the meantime, what happens if someone changes, adds or removes files on system?

[poo]
[Miscellaneous Android Development] cybojenix:
Adding a file to the system is fine.

Removing or changing files, if they affect any file that's included in the delta, then the patch will fail
[Miscellaneous Android Development] poo706:
The patch will fail for a particular file, and then what? The entire process will stop or that one file will essentially be ignored?

[poo]
[Miscellaneous Android Development] cybojenix:
The whole process will stop
[Miscellaneous Android Development] poo706:
Well that's not good. Is that just temporary?

[poo]
[Miscellaneous Android Development] cybojenix:
No that's the way it will remain.

However, (as I said on the github issue about it) it is easy enough to change the Edify class to change the commands.

I'll be posting examples of how to do different things with the script in the coming days.
[Miscellaneous Android Development] blueether:
neat little tool, I may well just start to use it on the couple of devices I support unofficial ROMs on
[Miscellaneous Android Development] blueether:
Just tested and the install script fails on this check

apply_patch_check("/system/lib/libjni_latinime.so", "1de620d1adf5fc8e96a40db9c16765d41c530a6d", "831e76b101f04ea4057d309b8fa7c2ec78bf29df") || abort("\"/system/lib/libjni_latinime.so\" has unexpected contents.");

This was on a clean install of the 20/7/14 build trying to patch to the 9/8/14 build

the files can be found here http://xdaforums.com/devdb/project/?id=3188#downloads

diff_update_20140720-20140809.zip

base: CARBON-KK-UNOFFICIAL-20140720-1312-togari.zip

target: CARBON-KK-UNOFFICIAL-20140809-1316-togari.zip
[Miscellaneous Android Development] jumoog:
We need something like this (just for us)

apply_patch_check()&& apply_patch() || ui_print ("file is different, skip it")

read there:

https://github.com/CyboLabs/DeltaJen/issues/2

---------- Post added at 10:02 AM ---------- Previous post was at 09:37 AM ----------

maybe you inverted -i -b (like i did) ^^
[Miscellaneous Android Development] cybojenix:
I had an issue with gapps, since it may overwrite some files.

I could add an option where it loops through the files in gapps, and ignores the files there
[Miscellaneous Android Development] cybojenix:
bsdiff.exe for windows is now in the 2nd post. script updated to support it

ftp://cybolabs.co.uk/DeltaJen/winblows/bsdiff.exe
[Miscellaneous Android Development] kantjer:
Is there any special w need tot do with bsdiff.exe?

I placed it in the folder with the script and getting the following output.

C:\Download\DeltaJen>python DeltaJen.py -b SlimSaberKat-jflte-4.4.4-20140806.zip
-i SlimSaberKat-jflte-4.4.4-20140807.zip -o update_zip
WARNING: boot information not supplied.
MTD boot info found
patching system/app/Music.apk: 1 of 95
C:\Users\kantjer\AppData\Local\Temp\tmpn6grjjq_: Permission denieWARNING: failure
running ['bsdiff', 'C:\\Users\\kantjer\\AppData\\Local\\Temp\\tmpn6grjjq_', 'C:\\U
sers\\kantjer\\AppData\\Local\\Temp\\tmpxiu_2g2y', 'C:\\Users\\kantjer\\AppData\\Loc
al\\Temp\\tmp_w81gqwq']
Traceback (most recent call last):
File "DeltaJen.py", line 825, in <module>
cli()
File "DeltaJen.py", line 811, in cli
dj.generate()
File "DeltaJen.py", line 579, in generate
self.create_patches(to_diff)
File "DeltaJen.py", line 475, in create_patches
p_file = self.file_object(patch_path, p_data, localtime(time()))
File "DeltaJen.py", line 746, in file_object
'size': len(data),
TypeError: object of type 'NoneType' has no len()
[Miscellaneous Android Development] cybojenix:
run the script as admin. I'll look into how python handles temp files later on windows. iirc it's entirely different to unix handling.
[Miscellaneous Android Development] kantjer:
I tried as admin, same error.
[Miscellaneous Android Development] cybojenix:
ok both bsdiff and imgdiff have been ported to windows now.

sources can be found in the main DeltaJen repo https://github.com/CyboLabs/DeltaJen

check the 2nd post for the executables.

as has been said earlier, there seems to be an issue with Named temp files in python on windows are iffy.

It is explained quite well here
[Miscellaneous Android Development] ayysir:
Yeap, PA gapps modular and above uses stock google calender and not source as i read back a few pages, some else is having a gapps issues. Maybe blacklisting gapps items with script maybe the solution? or another param for dev to apply blacklist
[Miscellaneous Android Development] cybojenix:
I'll look into it tomorrow
[Miscellaneous Android Development] ayysir:
alright, very close to using this for legacy builds for PA Rom. Starting tomorrow. Thanks for the great script/tool though
[Miscellaneous Android Development] poo706:
The thread on the github link you provided mentioned an example that was posted here, but I'm not seeing it.

[poo]
[Miscellaneous Android Development] grgsiocl:
i keep on getting following error on windows:

C:\Python34>python DeltaJen.py -b 6.zip -i 7.zip -o output.zip
WARNING: boot information not supplied.
BML boot info found
patching system/app/BasicDreams.apk: 1 of 534
Traceback (most recent call last):
File "DeltaJen.py", line 822, in <module>
cli()
File "DeltaJen.py", line 808, in cli
dj.generate()
File "DeltaJen.py", line 579, in generate
self.create_patches(to_diff)
File "DeltaJen.py", line 472, in create_patches
p_data = self.compute_diff(b_file, n_file)
File "DeltaJen.py", line 715, in compute_diff
p = Popen(cmd, stdout=out)
File "C:\Python34\lib\subprocess.py", line 858, in __init__
restore_signals, start_new_session)
File "C:\Python34\lib\subprocess.py", line 1111, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

C:\Users\kishore\Desktop\Python34>python DeltaJen.py -b 6.zip -i 7.zip -o output
.zip
WARNING: boot information not supplied.
BML boot info found
patching system/lib/libmdnssd.so: 1 of 534
C:\Users\kishore\AppData\Local\Temp\tmp94xht0s7: Permission denieWARNING: failur
e running ['bsdiff', 'C:\\Users\\kishore\\AppData\\Local\\Temp\\tmp94xht0s7', 'C
:\\Users\\kishore\\AppData\\Local\\Temp\\tmp0t9ulpy6', 'C:\\Users\\kishore\\AppD
ata\\Local\\Temp\\tmpzawuaejs']
Traceback (most recent call last):
File "DeltaJen.py", line 822, in <module>
cli()
File "DeltaJen.py", line 808, in cli
dj.generate()
File "DeltaJen.py", line 579, in generate
self.create_patches(to_diff)
File "DeltaJen.py", line 475, in create_patches
p_file = self.file_object(patch_path, p_data, localtime(time()))
File "DeltaJen.py", line 743, in file_object
'size': len(data),
TypeError: object of type 'NoneType' has no len()
[Miscellaneous Android Development] cybojenix:
Please look back in the thread, and you will understand why this happens.
[Miscellaneous Android Development] kantjer:
I can get the script to work on Linux either. No idea what I'm doing wrong here :confused:

android@builduntu:~/DeltaJen$ python DeltaJen.py -b SlimSaberKat-jflte-4.4.4-20140806.zip -i SlimSaberKat-jflte-4.4.4-20140807.zip -o SSK_update.zip
WARNING: boot information not supplied.
MTD boot info found
patching system/priv-app/BackupRestoreConfirmation.apk: 1 of 95
Traceback (most recent call last):
File "DeltaJen.py", line 822, in <module>
cli()
File "DeltaJen.py", line 808, in cli
dj.generate()
File "DeltaJen.py", line 579, in generate
self.create_patches(to_diff)
File "DeltaJen.py", line 472, in create_patches
p_data = self.compute_diff(b_file, n_file)
File "DeltaJen.py", line 715, in compute_diff
p = Popen(cmd, stdout=out)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[Miscellaneous Android Development] cybojenix:
Can you go on freenode channel #cybolabs please
[Miscellaneous Android Development] kantjer:
I'm in
[Miscellaneous Android Development] cybojenix:
tmp file handling updated to work on windows and linux vm's (which solves the above errors).

Thank you [MENTION=3306843]kantjer[/MENTION] for bringing up the linux vm issue.

also fixed verbose mode in windows and vm's.

for reference to other people working with tmp files and python, check this commit

https://github.com/CyboLabs/DeltaJen/commit/be4b5b53712fc5648160dbcbf3de6e3d6f0916c0
[Miscellaneous Android Development] cybojenix:
aannnddd gapps survivable updates incoming ;)

it's only a rough list, so please if you find any files that I missed, let me know

https://github.com/CyboLabs/DeltaJen/commit/6e985feaa4ffff21e2f0c2c2f922a7dd45b73802
[Miscellaneous Android Development] poo706:
Seems as though I've gotten the patcher to ignore removed and changed files by changing "True" to "False" on lines 272 and 310. Would that be the correct way of pulling that off?

[poo]
[Miscellaneous Android Development] cybojenix:
No.

Set gapps_files to ["*"] as a quick hack for it, then look up how fnmatch works ;)
[Miscellaneous Android Development] jumoog:
LiveWallpaperPicker.apk gives a error now :confused:

I build this apk for my own
[Miscellaneous Android Development] cybojenix:
Which error
[Miscellaneous Android Development] jumoog:
status 7 apply_patch_check failed i used your prebuild bins
[Miscellaneous Android Development] cybojenix:
That's pretty much of no use. Please send your /tmp/recovery.log
[Miscellaneous Android Development] kantjer:
Here is a complete overview of the Slim full gapps package

http://pastebin.com/wZLSTEym
[Miscellaneous Android Development] cybojenix:
Yeah, I know about the extra libs in slims gapps. I've been considering whether to support the extra ones as they shouldn't even be there..
[Miscellaneous Android Development] kantjer:
They are there to support TRDS I guess.
[Miscellaneous Android Development] cybojenix:
I meant certain libs that shouldn't be there.

I'll add them later but remove them when the new gapps are out for slim
[Miscellaneous Android Development] poo706:
So, I maintain 3 ROMs and yesterday I put out a test DeltaJen for all 3 of them. Several people tested for me and we've determined that all is well on both dalvik ext4 and dalvik f2fs. But if someone is on ART, they get a boot loop at the boot animation. Any ideas why that may be?

[poo]
[Miscellaneous Android Development] cybojenix:
No..

Can you send logs? I've not added symlinks yet, so that could cause an issue, but I don't know..
[Miscellaneous Android Development] poo706:
/tmp/recovery.log?

[poo]
[Miscellaneous Android Development] cybojenix:
If it's for a bootloop in the animation, then it would be a logcat I need