yashsingh1/xdaforums huggingface dataset:
[Android Software Development] dnnz:
Idk maybe you should try adb pull to extract the framework from the phone, also the last versión of baksmali is 2.1.1 you got them all here.

The folder i share has the lastest versión of both.

Note Im not a dev, i made this step by step guide because i dind't find in google something clear about it and took me a long time to make it work.
[Android Software Development] luismpc:
I followed this guide here and i was able to decompile my file, thanks
[Android Software Development] dnnz:
The guide worked on KitKat, now is updated to work on Marhsmallow, you can use the new method maybe also works on Lollipop...
[Android Software Development] shunsai:
This guide worked wonderfully for me. I was able to decompile and recompile a system apk for Marshmallow. Thank you!

Is there a way to convert the smali files to java for Marshmallow apks (dex2jar)?
[Android Software Development] Pain-N-Panic:
Everything worked great up until the compile part. I got an error saying "mismatched d input '' expecting END_METHOD_DIRECTIVE"

See photo attached. Anyone have any idea how to fix this so I can compile a classes.dex for my SystemUI?

Also, I just upgraded to Android N if that makes a difference...
[Android Software Development] neo4uo:
I tried for a Marshmallow file and get this error, also I did update smali and baksmali to the latest files;

C:\Baksmali>java -jar baksmali.jar -x -c boot.oat -d framework LGSystemUI.odex -o out
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -x
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at org.jf.baksmali.Main.main(Main.java:90)

Thanks
[Android Software Development] Manjot xda:
Good guide. Also working in 7.1.1
[Android Software Development] a.vandelay:
you don't need the "-x" for baksmail, just "x"

java -jar baksmali.jar x -c boot.oat -d framework LGSystemUI.odex -o out
[Android Software Development] San.Dip:
Thanks a lot, it worked for me. I am using version 2.2.0.

However, while executing "java -jar smali.jar -o classes.dex out" command I get following error. Please suggest the necessary correction.

C:\Users\Sandip\Desktop\New folder\Baksmali>java -jar smali.jar -o classes.dex out

Exception in thread "main" com.beust.jcommander.MissingCommandException: Expected a command, got -o

at com.beust.jcommander.JCommander.parseValues(JCommander.java:725)

at com.beust.jcommander.JCommander.parse(JCommander.java:304)

at com.beust.jcommander.JCommander.parse(JCommander.java:287)

at org.jf.smali.Main.main(Main.java:87)

C:\Users\Sandip\Desktop\New folder\Baksmali>
[Android Software Development] San.Dip:
Figured it out from here..... https://github.com/JesusFreke/smali/wiki/SmaliBaksmali2.2
[Android Software Development] oblyvision:
Ok. I did everything worked. However, when I try with my SystemUI, I notice additional file inside a folder (lib/arm/libNaturalEffect.so) which I assume system animation effect separated from the system (indication of modifiable).

So, do I need to keep the folder and place recompiled SystemUI.apk inside it, or else?
[Android Software Development] BobbyDev:
In case anyone has this same error...

I had this same error, and here is the solution I found that worked:

java -jar smali.jar assemble out -o classes.dex

I know that SanDip left the link on where he figured out how to fix it, but it wasn't immediately obvious to me what the fix was after I visited the link. Hope this helps someone!
[Android Software Development] Xperiarmus:
I try to use this guide for Lollipop 5.1.1. boot.oat created succesfully:

d:\Baksmali\framework>adb pull /system/framework/arm/boot.oat boot.oat
/system/framework/arm/boot.oat: 1 file pulled. 4.8 MB/s (54336860 bytes in 10.858s)

and everything is ok until following command:

d:\Baksmali>java -jar baksmali.jar -x -c boot.oat -d framework DownloadProviderUi.odex -o out
Exception in thread "main" com.beust.jcommander.MissingCommandException: Expected a command, got -x
at com.beust.jcommander.JCommander.parseValues(JCommander.java:725)
at com.beust.jcommander.JCommander.parse(JCommander.java:304)
at com.beust.jcommander.JCommander.parse(JCommander.java:287)
at org.jf.baksmali.Main.main(Main.java:90)

I can't find new files. I even can't find "out" folder. Where should it be? I'm newbie, this guide noob friendly - I hope you can help me. I have 2 apps: each have apk and odex files. I need to deodex this apps.
[Android Software Development] Fatmajk:
Try executing without the dash before the command, like this: java -jar baksmali.jar x -c boot.oat -d framework DownloadProviderUi.odex -o out

---------- Post added at 03:39 PM ---------- Previous post was at 03:32 PM ----------

I'm also trying to use baksmali (v2.2.2) to decode odex files, without success so far. I'm launching the command:

sudo java -jar baksmali.jar x -c framework/arm/boot.oat -d framework/ Messages.odex -o out/

and I get the error below:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1890058312
at org.jf.dexlib2.dexbacked.BaseDexBuffer.readSmallUint(BaseDexBuffer.java:53)
at org.jf.dexlib2.dexbacked.OatFile$DexEntryIterator.next(OatFile.java:579)
at org.jf.dexlib2.dexbacked.OatFile$DexEntryIterator.next(OatFile.java:570)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at org.jf.util.AbstractForwardSequentialList$1.next(AbstractForwardSequentialList.java:91)
at java.util.AbstractSequentialList.get(AbstractSequentialList.java:88)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:129)
at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:144)
at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:161)
at org.jf.baksmali.Main.main(Main.java:102)

Anyone having this issue as well? Adding -Xmx5000m option to the java command does not work.
[Android Software Development] gg9hot:
I have just reinstalled stk.apk into pixelized OS for SMT-23
[Android Software Development] diracsbracket:
To I tried to test it on the HiddenMenu.apk but am getting errors of missing "embedded dex file"

(I am on Android 8.0.0)

java -jar baksmali.jar x -c boot.oat -d framework HiddenMenu.odex -o out
Exception in thread "main" org.jf.dexlib2.DexFileFactory$DexFileNotFoundException: Could not locate the embedded dex file /system/app/HiddenMenu/HiddenMenu.apk. Is the vdex file missing?
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:586)
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:567)
at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:158)
at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:162)
at org.jf.baksmali.Main.main(Main.java:102)
Caused by: org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Not a valid dex magic value: 7f 45 4c 46 02 01 01 03
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:93)
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:583)
... 4 more

To try to solve the above problem, I tried to reconstruct the path structure as on the device (I adb pulled the complete \system\framework dir from the device), without success:

java -jar baksmali.jar x -c boot.oat -d framework .\system\app\HiddenMenu\oat\arm64\HiddenMenu.odex -o out
Error occurred while loading class path files. Aborting.
org.jf.dexlib2.DexFileFactory$DexFileNotFoundException: Could not locate the embedded dex file /system/framework/core-oj.jar. Is the vdex file missing?
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:586)
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:567)
at org.jf.dexlib2.analysis.PathEntryLoader.loadEntry(PathEntryLoader.java:62)
at org.jf.dexlib2.analysis.ClassPathResolver.loadLocalOrDeviceBootClassPathEntry(ClassPathResolver.java:197)
at org.jf.dexlib2.analysis.ClassPathResolver.<init>(ClassPathResolver.java:89)
at org.jf.dexlib2.analysis.ClassPathResolver.<init>(ClassPathResolver.java:154)
at org.jf.baksmali.AnalysisArguments.loadClassPathForDexFile(AnalysisArguments.java:134)
at org.jf.baksmali.AnalysisArguments.loadClassPathForDexFile(AnalysisArguments.java:89)
at org.jf.baksmali.DisassembleCommand.getOptions(DisassembleCommand.java:209)
at org.jf.baksmali.DeodexCommand.getOptions(DeodexCommand.java:71)
at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:183)
at org.jf.baksmali.Main.main(Main.java:102)
Caused by: org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Not a valid dex magic value: 7f 45 4c 46 01 01 01 03
at org.jf.dexlib2.util.DexUtil.verifyDexHeader(DexUtil.java:93)
at org.jf.dexlib2.dexbacked.OatFile$OatDexEntry.getDexFile(OatFile.java:583)
... 11 more
[Nexus 6P Q&A, Help & Troubleshooting] eggydrums:
So a lot of people and myself over on the Nexus 6P subreddit have been discussing about the possibility of some sort of battery drain with the arrival of the Feb patch. On any ROM/kernel combination (and even on stock at some point), my phone very easily reaches 4:45-5:00 of screen time throughout a day that is from 7am-10pm for me. Over the last month, it has progressively gotten worse, on some days reaching low levels with just 3:30 SoT. After using various ROMs, I decided to try out bone stock to see if I would get the same result (this was 3 days ago). And that has been the case... The phone barely reaches 4 hours of screen time.

Well you might suggest: "Disable services such as location and sync" or "What apps have you recently installed that could be causing drains?" And that's the thing. My usage patterns have not changed at all. I barely download new apps and always stick to using the same ones. Today my location was off for a very long time and I've still gotten the same battery. I've been keeping my eye on the awake bar on battery info, and the phone sleeps as it should, so I'm sure there aren't any rogue apps.
[Nexus 6P Q&A, Help & Troubleshooting] madroix:
I am seeing this as well. I actually went back to stock to see if it was the ROM I was using. Seeing the same battery degradation on stock. Running MMB29Q with Feb security patch as you can see from screen shot. Wonder if Google is aware of this. Cannot be a coincidence.
[Nexus 6P Q&A, Help & Troubleshooting] Dr-akbar:
Me 2
[Nexus 6P Q&A, Help & Troubleshooting] Heisenberg:
Haven't noticed this at all, I'm getting the exact same battery performance as I always have.
[Nexus 6P Q&A, Help & Troubleshooting] bouchigo:
I haven't noticed any extra battery drain either.
[Nexus 6P Q&A, Help & Troubleshooting] strra:
I definitely noticed this myself.

I did a factory reset and it seems to have helped, but I've only tested it for one day since.
[Nexus 6P Q&A, Help & Troubleshooting] GuestD0701:
I'm with you. Same battery as previous factory image.
[Nexus 6P Q&A, Help & Troubleshooting] VnnAmed:
I have bought this phone in the beginning of February and my battery experience is TERRIBLE. It drained 20% battery in 16h with 17 mins SOT. I'm extremely disappointed in this device. I tried Stock, chroma and Pure Nexus and even when 0 apps are installed my battery goes AWOL. Really this is a nightmare where I paid alot of money for this phone and it acts like a personal energy waste device.
[Nexus 6P Q&A, Help & Troubleshooting] Momotani-Hitoshi:
1.2%/hr drain isn't great, but not bad either depending on reception/installed-apps/notification/etc

I'm running 6.0.1 feb patch. Get about 0.6%/hr screenoff drain, but I'm mostly on good wifi connection. If running around town on LTE i'd get some where around 1% screen off drain.
[Nexus 6P Q&A, Help & Troubleshooting] slickromeo:
I've noticed that ever since the Feb security patch, the battery has drained a little faster than usual also, with no change in usage behavior.... Can someone please notify google about this?
[Nexus 6P Q&A, Help & Troubleshooting] tech_head:
I have not noticed anything different.

Running stock with ElementalX kernel.
[Nexus 6P Q&A, Help & Troubleshooting] asianrage:
I've been noticing the same thing. I used to be able to go for 4+hrs of screen on. Now, 3.5 is normal. I am on PureNexus, but I've not changed anything in the last month, after the update.
[Nexus 6P Q&A, Help & Troubleshooting] geekoo89:
I bought the phone on 28th February. 30 minutes after arrive at home, flashed Cyanogen, and draining about 1% each minute with screen on.

Yesterday I flashed PureNexus and now reaches 3.5 hours with screen on. Way better, but still terrible.
[Nexus 6P Q&A, Help & Troubleshooting] clonerep:
I've noticed the same increased battery drain. I've been investigating the issue for weeks and didn't know what caused the issue until hitting this thread.
[Nexus 6P Q&A, Help & Troubleshooting] mattkroeder:
The February update introduced the SystemUpdateService wakelock on my 6P. It kept the phone awake 95% of the time and I couldn't get rid of it. I updated via fastboot with the factory images at the time. I flashed back to the January build and the wakelock disappeared. Flashed the February update again and SystemUpdateService wakelock came right back.

I didn't try a clean install with the February factory images to see if it would fix it. Maybe it would have, maybe not. I decided to give Pure Nexus a try after I couldn't fix it. I'm considering doing a clean install once the March update is released.
[Nexus 6P Q&A, Help & Troubleshooting] Sivertsko:
Me 2

Same battery issues as described for me.
[Nexus 6P Q&A, Help & Troubleshooting] Katmeat:
I am glad to see that I am not the only one having a problem all of a sudden. I am running stock, but was about to root and run a custom ROM after becoming frustrated with the suddenly increased battery drain. I used to drop only three or 4% overnight, but now it is about 20%, with Google App being a prime user of battery even without OK Google being activated. Doze does not seem to be working as it did before. I am going to try shutting off Wi-Fi and Bluetooth at night to see if that makes a difference, but it never seemed to matter before leaving those on. Also, I do not see a way to automatically turn off push mail service at night or on a specific schedule as I could do with previous phones.
[Nexus 6P Q&A, Help & Troubleshooting] Slicc98:
I'm glad. I thought I was the only one experiencing this.
[Nexus 6P Q&A, Help & Troubleshooting] Azarin:
Interesting - I have noticed that the battery life has tanked on my 5X fairly recently (been using it for a few weeks - will try on the 6P next).

Presumed it was just a rogue app or something, although nothing seems to be causing excessive wake locks etc. It is hard to quantify though, so it could just be looking for a problem where there isn't one.

I'm doing a clean install on my Nexus 6P from the March security update factory images, should be able to see if the battery life I'm getting is similar to January as I have a fair idea of what percentage my phone was usually down to at the end of the day.
[Nexus 6P Q&A, Help & Troubleshooting] kboya:
A clean install of 6.0.1 with Feb patch and only stock apps. It's been sitting on my bed since a full charge 5 days ago. Looks like the Feb patch is not having much of an impact on battery life.
[Nexus 6P Q&A, Help & Troubleshooting] zjhehe:
That's very interesting. Android System has been keeping my device awake constantly. Doze doesn't even work omg.
[Nexus 6P Q&A, Help & Troubleshooting] slickromeo:
i think the feb patch had some server-side causing battery draining bugs. because near the end of february, i stopped having worse than usual battery drain issues.
[Asus Fonepad 7] Mirakuu:
I'm wanting to use a tablet/phone hybrid. I don't want to carry two devices. I've already got a note 4 and still want more. Are any of you able to use this in the United states for phone service? If so which carrier? I've asked around to all the major ones and can't get a definitive answer from anyone.
[Galaxy S6 Q&A, Help & Troubleshooting] MetalPhoenix45:
I tried to flash marshmallow bootloader on my phone to install android marshmallow, but I can't. It says "NAND write start. FAIL". Any ideas?
[Galaxy S6 Q&A, Help & Troubleshooting] irfannexus:
Can you post screenshot of eror ??

And in which varrient ??
[Galaxy S6 Q&A, Help & Troubleshooting] MetalPhoenix45:
It is the SM-G920T
[Galaxy S6 Q&A, Help & Troubleshooting] irfannexus:
Make sure you turn off reactivation lock in find my mobile section

---------- Post added at 03:49 AM ---------- Previous post was at 03:49 AM ----------

Are you Using Custom rom bro ?
[Galaxy S6 Q&A, Help & Troubleshooting] MetalPhoenix45:
Yup I did
[Galaxy S6 Q&A, Help & Troubleshooting] davidof:
Solved??
[Galaxy S6 Q&A, Help & Troubleshooting] MetalPhoenix45:
No its not solved unfortunately.
[Galaxy S6 Q&A, Help & Troubleshooting] davidof:
Start Odin and reboot phone in download mode and check status com port if come nr is OK and color

Start flash use different bootloader for s6 t-mobile version
[Galaxy S6 Q&A, Help & Troubleshooting] Aria.A97:
You can not flash 920F bootloader on 920T. That's why it fails. There is no mm bootloader for other variants than 920F.

You should wait until T-Mobile releases updates.
[Galaxy S6 Q&A, Help & Troubleshooting] MetalPhoenix45:
Aw that's a bummer
[Galaxy S6 Q&A, Help & Troubleshooting] Reppy07:
Sorry to hijack a thread. Having a similar issue with my g920w8. I can flash modem and TWRP but I'm also stuck on the bootloader. It's the only thing stopping me from rooting.

Xtrestolite Rom thread has an extensive detailed directions and all proper links. But that dang bootloader is just being... Ugh..

How do you turn off reactivation lock exactly? I'm looking through threads and trying various little details I find such as this.
[Galaxy S6 Q&A, Help & Troubleshooting] DarryDoo:
There are two Bell mm ROMs available via Updato, have you tried those via Odin?

You have to disable reactivation lock while booted into a (near) stock ROM.
[Galaxy S6 Q&A, Help & Troubleshooting] Reppy07:
Hey thanks for replying!

My issues was actually just an isolated one. I was trying to flash a bootloader older than mine and SuperSU was being pain not wanting to flash.

So went back completely to stock, used chainfire root and finally the process was easy from. Somewhere, something was just being ignorant =)
[Galaxy S6 Q&A, Help & Troubleshooting] DarryDoo:
You can only go back to later Lollipop bootloaders after flashing MM.
[Galaxy S6 Q&A, Help & Troubleshooting] Reppy07:
I didn't flash Marshmallow. It was the actual OTA =). Problem was resolved though. Just the phone having a hiccup.
[Honor 5X Questions & Answers] dincdoes.me:
Is anyone else having problems with fb loading it just loads to a white screen..

I'm not rooted yet fully stock and have deleted the app a few times..
[Honor 5X Questions & Answers] Soufiansky:
Working good here , go to app manager , force stop it , clear cache and delete data. Then retry.
[Honor 5X Questions & Answers] cyrusalmighty:
Anytime I have the white loading screen with any app I check the Cache . Sure enough it's almost always fixed by clearing cache. Either clear the app in settings as suggested above or Clear all apps cache in Phone manager, or TWRP recovery. I also use Clean Master sometimes.
[Honor 5X Questions & Answers] dincdoes.me:
Cleared cache in settings worked thanks guys
[Honor 5X Questions & Answers] Soufiansky:
Good news :good:
[Honor 5X Questions & Answers] Mohit Mishra:
Clearing cache and data will solve this problem.

Go to settings->apps->click on the app->storage->clear cache and clear data.
[Honor 5X Questions & Answers] Jain Shreyash:
The settings->storage->clearing cache will clear for a particular app only.

If want to clear for the whole system,then go to phone accelerator->system optimisation->clean.
[Galaxy Grand 2 General] sumitgupta06:
The True Theme Store For TouchWiz 5.1.1 ROMS Coming Soon.....

THEMES Collection , Theme for the Samsung Galaxy S 4/5 all devices with THEME STORE (porting included) S6/EDGE/EDGE+NOTE-3/4/5
​

Description

Would like to inform to you this guys - the actual theme store have been ported for many devices such as S4 and Note 5 and soon possible that would be available for our device

I and many other people have done previous attempts to get the actual theme store working on TouchWiz 5.1.1 ROM but it have failed - Earlier gave a Not available in country error and after Removing that my some means and installing a theme from the official theme store gave a Bootloop

Update - Now Guys as I am free for some time, I am looking after this project and have started to work on it again.

Let's See That Can We Make It Work

ScreenShots

Some screenshots of the theme store and a sample example of the theme are provided in attachment:p

Contributors/Team-mates(The Guys who are helping) of the theme store

[MENTION=6925694]Ufo71[/MENTION]
[MENTION=7206156]sumitgupta06[/MENTION]
[MENTION=7001219]Anxdafan[/MENTION]

Version Information of this one

Status: Stable(Current Attempt Bootloop)

Current Stable Version: 0.2

ROM OS Version: Lollipop

Based On: TouchWiz

Created 2016-02-14

Last Updated 2016-03-26

Request

So At last I would request to all of the TouchWiz 5.1.1 Lollipop users to LIKE, COMMENT, SHARE, HELP for this awesome Mode

If you find this information and project seems to br good, useful and satisfying, Please give a thank and share this:)
[Galaxy Grand 2 General] Ufo71:
[MENTION=7206156]sumitgupta06[/MENTION] i Not asked nothing to anyone. However i'm happy if you follow in the footsteps of those who seek to dour good.
[Galaxy Grand 2 General] beardedbaby666:
Thank bro i am waiting

SM-G903F cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy Grand 2 General] sumitgupta06:
Guys sorry to say that the project i m doing is posponed for a month

i will resume this project after 27 march as i have board exams

Xda doesnt supports place holders or etas so i provide non:);) if anyone else makes it out i have no problem with it instead i would love to thank him n appreciate him

for not i hav made official store stanle enough that it doesnt giv force close and able to install theme offline again

but clock icon shutters-that is icon is not completely live
[Galaxy Grand 2 General] Yuen.Jason22:
It is March 30 today, any news? Theme Store will be cool
[Galaxy Grand 2 General] sumitgupta06:
Bro i have ported the theme store on motion rom v16.8 on 26th march

without changing any sort of model on it

but still installing the theme gav me bootloop

I would be trying to port some theme but would hav to wait as i need to make arrangement for a spare phone...
[Galaxy Grand 2 General] Ali Asgar:
I'm try motion 16.8 version S3 neo Duos sim gt-i9300i

not working After install theme mobile bootloop plzz fix this ??? [MENTION=7206156]sumitgupta06[/MENTION]
[Galaxy Grand 2 General] sumitgupta06:
Ya bro thats the problem going on right on

if u guys can wait i hav mentioned that i will try to port themes for motion rom after 3rd april

if it work i will share
[Galaxy Grand 2 General] beardedbaby666:
Any news?

SM-G800H cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy Grand 2 General] Culds steve:
That step worked or will i give u the theme store from stock n5 firmware ?

Come in pm
[Galaxy Grand 2 General] sumitgupta06:
Hi, I have updated the thread

I am currently working again on this project - I have updated about the most previous tries

I am going to try 2 methods right now - 1. Given by Anxdafan

2. Porting of themes
[Galaxy Grand 2 General] adityaupreti:
[MENTION=7206156]sumitgupta06[/MENTION] jst porting apk or installing apk of theme store will not work i know what to do to get themes work

Contact me
[Galaxy Grand 2 General] Yuen.Jason22:
Theme Store on Touchwiz rom will be really a great idea :)

Any news btw?
[Galaxy Grand 2 General] JavixKGD:
[MENTION=7206156]sumitgupta06[/MENTION] I am currently running Maximum OvrDrIVE on my tmo N4 which does not offer theme store, however through some headache and time spent moving files and changing lines in some xmls, build.prop among other things I am able to get the theme store to turn on and be recpgnized by the system. My issue lies in the framework-res.apk, porting this is something easier said than done, any help you can give on this?