yashsingh1/xdaforums huggingface dataset:
[G2 Q&A, Help & Troubleshooting] boxorandyos:
my ls980 thinks it is the d800 and I can't seem to flash it back to the ls980.

I flashed a custom ROM thru twrp and I got an error. I tried restoring the backup and the system partition would not mount. after poking around for quite some time I tried restoring the phone in download mode. apparently the computer thought it was the d800 and flashed the system for that phone. when it restarted I saw the at&t boot screen and when it started up it was not working correctly.

I put it back in download mode and tried flashing the phone again. the computer was sure it was the d800. then I tried flashing manually using the DLL intended to convert this and the tot file for the ls980. I get the error saying I can't convert from the d800 to the ls980.

I then tried flashing thru adb from both windows and linux. both say they cannot find the phone regardless how I try connecting.

since I flashed the factory files the phone will not start in recovery mode I have no clue why.

so now I have a phone that:

will not flash the ls980 tot file,

will not connect to adb,

and will not boot into recovery.

now what?

-boxorandyos

<sent from my nexus4>
[G2 Q&A, Help & Troubleshooting] agentfusion:
Dang dude. Harsh. I almost ended up in this same situation after downloading files for the wrong device and noticed literally at the last second and was able to pull the plug, literally, and save my device.

I've been looking for ways to fix it in case it happens again and I don't catch it in time, so if I find the answer I'll let you know. There has to be a way to trick the computer into thinking it's a LS980 like it's supposed to be the same way it thought the phone was a d800.
[G2 Q&A, Help & Troubleshooting] boxorandyos:
I was told that there was a DLL file that could be used when flashing it to trick it into thinking it's the ls980 but all I get is an error message I forget exactly what the message says but something to the extent that I don't have the right files for the phone that I have.

-boxorandyos

<sent from my nexus4>
[G2 Q&A, Help & Troubleshooting] vegito6:
yo

yo man have you tried using LGNPST, we're in the same boat, i'm waiting for my some downloads on firmwares to try, i'm using LS980 but it thinks it's a VS980 still working on figuring out from my end. i've also heard that the LG mobile support tools can be used to restore the firmware but you gotta do some funny hot swap lol
[G2 Q&A, Help & Troubleshooting] boxorandyos:
woops im a little slow here. what is LGNPST ? I solved the issue by manually editing the build.prop file and that tells the lg mobile support tool that it is a different phone. that was a whole different complicated story of its own but it worked.

sorry I didnt see your comment until now.
[G2 Q&A, Help & Troubleshooting] vegito6:
def sounds like you used the wrong dll or just the stock lg dll which works with some phones, but others need their specific dll to match the tot and such to make a proper bootloader flash over i believe.
[T-Mobile Samsung Galaxy Note 3] Lightyear25:
I recently using Odin to go to 4.4.2, using Philz recovery. I installed Goomanager and tried to install TWRP but it would not take. Can I just flash TWRP via Odin? or is there more to it than that.

T-Mobile Note 3 with 4.4.2 N900TUVUCNB4 Rooted Stock Rom with Philz recovery.

Thanks!
[T-Mobile Samsung Galaxy Note 3] thehothit:
I flashed TWRP using Philz Touch Recovery.
[T-Mobile Samsung Galaxy Note 3] Lightyear25:
Did you have the same setup I did?
[T-Mobile Samsung Galaxy Note 3] Lightyear25:
Worked for me, thank you!
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] andycandy6:
Hello everyone,

I'm relatively new at rooting and just so happen the note 10.1 2014 is my first guinea pig.

First off, I have successful rooted my note via Odin 3.09 with CF-autoroot with autorootp600mj4.tar.md5 and stockrecoverymj4.tar.md5. Rootchecker shows that it's rooted.

Next I installed Titanium backup and back up and then uninstall all 5 files of Knox securities.

Next I installed GooManager and installed TWRP from OpenSourceRecovery option and then rebooted with recovery.

So now is where the problem starts. Whenever I tried rebooting into recovery, I keep getting the Android recovery system (with red triangle sign and a laying down android picture).

Here's some method that I did to try and fix this.

1. Manually reboot recovery ( Did not work) goes into Android recovery system again.

2. I reinstalled TWRP again using GooManager, still doesn't work.

3. Downloaded the appropriate TWRP .tar files for Samsung galaxy note 10.1 2014 from TWRP main site and flash with Odin. I got a Pass!. Then when I do a reboot recovery, it goes into the Android recovery system again.

So far I don't know what I'm doing wrong. I've checked to make sure every step is correct, especially when I was rooting (E.g. making sure USB debugging is enabled, open source is enable, and so on)

I've tried to find my solution via google but to no avail. If you have any suggestions, it will be greatly appreciated. Thank you.:good:
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] sprintuser1977:
I had same issue. You have to install it with Odin.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] lsherif:
Simply flash via Odin, but untick " Auto Reboot " within odin before flashing.

Reboot manually into recovery , you will get a permanent TWRP
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] andycandy6:
Got it

Thank for reassuring me that it can be done.

I found out the problem. The tar files from TWRP that I donwloaded was the wrong version. TWRP version was openrecovery-twrp-2.6.3.3-lt03wifiue.img. And I used that to flash on Odin and it worked thereafter. I hope this will help other people who have similar issues.
[One (M8) Themes and Apps] budeone:
Thanks for this. How will this effect creating a 4x5 home screen?
[One (M8) Themes and Apps] nashshafrulrezza:
So it guide me to change the letter and it work.. the weather control by pngs or smali too? Looking at the same smali you gave to change the background and letter.. but didn't found any related to weather icon?
[One (M8) Themes and Apps] maurydes:
well done fisha21 this and really useful:D:good:

---------- Post added at 07:10 AM ---------- Previous post was at 07:09 AM ----------

yooo Nash i love your skins remember one x time:cool:
[One (M8) Themes and Apps] nashshafrulrezza:
I'm really hoping the new theme engine working as the skin back then. :( too bad HTC prefer it other way. I'm trying too port back my classy transparent skin. Hopefully sense 6 would be easier. :D thanks btw.
[One (M8) Themes and Apps] Mr Hofs:
Will help here where i can !!! Awesome
[One (M8) Themes and Apps] ViNOK16Bit:
another one to follow! :good:
[One (M8) Themes and Apps] vinman12:
Will add what i can, ty
[One (M8) Themes and Apps] dragonesdenano:
Thanks fisha!! Amazing:):thumbup:
[One (M8) Themes and Apps] 2WildFirE:
Great thread thanks a lot

Powered by SkyDragon ROM
[One (M8) Themes and Apps] vinman12:
Nice
[One (M8) Themes and Apps] nashshafrulrezza:
Have you deactivated the day/night color change? If yes how you do it.. can't find the solution yet.
[One (M8) Themes and Apps] 2WildFirE:
[MENTION=333347]nash[/MENTION] here http://xdaforums.com/showthread.php?p=51437526

And I using my common panel. 9png

Powered by SkyDragon ROM
[One (M8) Themes and Apps] nashshafrulrezza:
Thanks.. but I don't mean the background.. see my screen shot.. the weather icon.. what control it to change at night and day..
[One (M8) Themes and Apps] 2WildFirE:
Ah ok,sry i think we can change the same way with the icons if i remember editing this smali. I will look into the smali

I mean this here

.method protected getGraphicType(Z)Lcom/htc/weather/StateResources$GRAPHIC_TYPE;

.locals 1

if-eqz p1, :cond_0

sget-object v0, Lcom/htc/weather/StateResources$GRAPHIC_TYPE;->vectorgraphic_light_xl:Lcom/htc/weather/StateResources$GRAPHIC_TYPE;

:goto_0

return-object v0

:cond_0

sget-object v0, Lcom/htc/weather/StateResources$GRAPHIC_TYPE;->vectorgraphic_dark_xl:Lcom/htc/weather/StateResources$GRAPHIC_TYPE;

goto :goto_0

.end method

edit booth to light or dark, Nash has tryed, and it works.
[One (M8) Themes and Apps] nashshafrulrezza:
If you found it please let me know. That's the only thing I left for the clock.. thanks again.

[MENTION=704359]fisha21[/MENTION], you use vts for sense 6? I can't decompile any of sense 6 apk in vts.. any idea?
[One (M8) Themes and Apps] nashshafrulrezza:
I can't remember which small pngs it is. Will recheck it for you.
[One (M8) Themes and Apps] ineedone:
Nope, I still haven't found it , neither have found a solution for weathercities list if anyone knows ...

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Yes i just did it in 5 minutes, but the signal cluster is tied to both the wifi and the signal bar itself so it moves both you'd have to section it out in smali if you want to separate them. Oh and all notification txt will still overlay the icons. Try to add a weight value to it of 0 and see what happens but yeah that's an answer to your question can it be done yes it can be done but then making sure nothing clips overtop of anything else is a bit tricky and probably requires you use relative layouts for all of the id's for the parent left of that linear layout, and give them an android:layout_toRightOf="whatever-Id is next in the list" this will give each a relative space to display itself vs. Currently it uses all linear layouts which is basically stacking columns in a row it can be both vertical or horizontal but either way you are stacking and its hard to work with linear layouts in that fashion. You can also fix the problem by giving the notification update text id its own bg. Thus circumventing the problem by having a black bg show up whenever you get txt updates or whatever.We have used this solution in the past for centering the clock and not having the txt clip the clock. But yeah im not gonna do all that I'll let you figure out some of it.

I've never actually tried to do that before. I only have tried to force a notification icon to load on boot which is easy but not exactly sure how to insert the one ID into the other!

Would you like to see the code? Well gladly I attached it for you rename the file to .xml after downloading it.
[One (M8) Themes and Apps] 519ljh:
:good::good:

and how to move the signal to the left on wifi?
[One (M8) Themes and Apps] Pneuma1985:
Wait say that again you want to move the signal to the left of wifi? The icons area is actually the same area the 3g icon takes so moving them well im not exactly sure it would be smali for sure..Since the ids are intertwined. In signal_cluster.xml. not sure ...
[One (M8) Themes and Apps] vegetaleb:
It would be nice from HTC if they release a Theme editor!

I mean what's the purpose of putting a theme system if it's limited to 4 ugly ones?
[One (M8) Themes and Apps] nashshafrulrezza:
[MENTION=918378]Basil3[/MENTION] [MENTION=4904866]ineedone[/MENTION]

I'm so sorry for the wrong info. the tab is control by xml. In color.xml, tabfont color line 13.

Sorry again.
[One (M8) Themes and Apps] Basil3:
Thanks for that!
[One (M8) Themes and Apps] ineedone:
No need to say sorry, you found it, I didn't, because of "font" I didn't bother to look into it ? , thanks a lot!

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] nashshafrulrezza:
Just feel so wrong when I tell you guys to check the small png while the change is in xml.

Only left now is the weather. Anyone find solution yet?
[One (M8) Themes and Apps] Basil3:
Changing tabfont colour fixed the problem for me, but it also made the text dark in any box that had OK and Cancel selectors at the bottom.

In the end I had to change res/color/b_separator_primary.xml in com.htc.resources.apk

After an hour of searching the weather, I found the solution, and then [MENTION=4380624]Raymond Ebertt[/MENTION] told me had already found it!

You just need to replace public id for white in Weather/WeatherEntry$CityListAdapter.smali with another id. Raymond will put full instructions up later tonight I think.
[One (M8) Themes and Apps] schmeggy929:
Been out of theming for awhile and getting stumped. I just changed the color of a few icons (NavBar). Check, but now im going after the all apps drawer icon and htcLockscreen icons. I changed the colors, compiled and they don't change. All_apps_drawer icon in Prism.apk. And the lockscreen icons in HtcLockscreen.apk.
[One (M8) Themes and Apps] ineedone:
Thank you so much, thought it might be something like that, after reading raymonds turtial about the phone.apk.. Will try later when i'm home. Glad this one is solved, already wasted way to much time on this one ?

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Raymond Ebertt:
Sorry about that mate. With all the excitement in theming this wonderful Sense 6, I totally lost my thoughts and consideration for adding that lovely edit. Where's me gun? Thread post updated with details on that edit. I'm hoping to add a bit more.

NOTE:

If anyone has found the background for the Browser.apk (white main background behind the add tab panels) please pass that on. I know it's killing me and someone else. LOL
[One (M8) Themes and Apps] Pneuma1985:
The icons and where they are called from Is controlled by the manifest of the app itself... So not all icons in com.htc.resources are going to be your actual app drawer icon... Sometimes they are in the app itself other times the manifest uses com.htc.resources call for the icon IE:

<application android:label="@string/gallery_str_app_name3" android:icon="@drawable/icon_launcher_albums"

Thats calling the icon from the app itself..

If it said:

<application android:label="@string/gallery_str_app_name3" android:icon="@com.htc:drawable/icon_launcher_albums"

It would be calling it out of resources... a simple change of the manifest can put them in resources or you can internalize the icon and use it in the app itself!

There is a clause to this though if the app is considered a plugin its very hard to internalize the icon. I've run into this problem before when making every icon in settings.apk internal to the settings.apk. A few are considered plugins and have weird methods to them so it makes them hard to internalize. If you're not after that then your all good turn the manifest's to say com.htc.drawable for the icon calls and make sure the icon is in drawable-xxhdpi in resources.

Oh and other times htc has a knack for leaving images all over the place so ones you may think are the right images they have moved to somewhere else... Remember that htc's build is like a secondary google build so alot of left overs get left behind. This build seems to be the best though with not leaving images all over the place 5.5 was terrible with it. 5.0 was even worse!

I havent gotten down to actually doing the images yet we are still coming up with a design. ;)

We're still drawing stuff on paper for ideas before we set out on our great theming venture..

Go BIG or go Home!

---------- Post added at 01:12 PM ---------- Previous post was at 12:59 PM ----------

Yeah ray if you dont see it in the browser.apk, I'd guess htccommonctrl or one of those .jar's. I'd say commonctrl since they've used it for dividers and other drawables in the past. Your seem to be pretty good with smali so my guess is its not in the browser.apk? Just a guess though I will look for it tonight.
[One (M8) Themes and Apps] Raymond Ebertt:
I pretty much killed the Browser apk and did all the tricks that I thought would work. I'll give that jar a look through. I know in Sense 5.5, Blicnkfeed drew from that for the article background. Who knows. If you get a chance, that would be good as well. Thanks and cheers...
[One (M8) Themes and Apps] who MIKE D:
Hey guys, im having trouble getting "apktool if framework-res.apk" to work. (com.htc.resources.apk works fine)

And also i can't get some apks decompiled properly (com.htc.resources,SystemUi, and a few others)

Is there a certain apktool i need in order to get things working correctly?

Thanks in advance,

Mike D
[One (M8) Themes and Apps] nashshafrulrezza:
Update to apktool 2.0 beta 9.
[One (M8) Themes and Apps] who MIKE D:
Thats the one im currently using and im still not having any luck :(
[One (M8) Themes and Apps] Pneuma1985:
Thought apktool 2.0 can work for ifing stuff its not the solution.

Apktool 2.0 beta has almost nothing in it for htc according to their changelog and fisha so yeah I'll take his word for it.

Though

You should be using apktool 1.5.2

smali-2.0.3.jar and baksmali-2.0.3.jar

Certain apps like ime and mms require the 1.4.2 versions of smal/baksmali!
[One (M8) Themes and Apps] ineedone:
Some apks contain corrupt images , file size 0 , replace them in the apk with other images, (most can be found in com.htc.resources) before decompiling

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Stock m8 framework i have doesnt have any 0 value images and decompiled just fine?
[One (M8) Themes and Apps] ineedone:
I know, but he also had issues with decompiling some other apks... Which was his second question.

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Oh gotcha yeah your right should have read it again...DOH!:silly:
[One (M8) Themes and Apps] nashshafrulrezza:
For apktool 2.0 b9.. might want to check if there any corrupt image in the apk like [MENTION=4904866]ineedone[/MENTION] explain.

Most of the themer is using VTS for decompile and recompile and all working fine for us or me at least.
[One (M8) Themes and Apps] Mikanoshi:
VTS is not wroking with Sense 6 that good, it is discussed in VTS thread :)

What version of VTS do you have? 2.11.7.10502 gives the same error as apktool 2.0.0b9 plus this:

Exception in thread 'main' brut.androlib.err.UndefinedResObject: resource spec: 0x020402b4
[One (M8) Themes and Apps] nashshafrulrezza:
Same as yours and I've success decompile all the apk except gallery and IME that have broken image as [MENTION=4904866]ineedone[/MENTION] explain. Replace it and all working fine here. The only thing I did is replace vts smali and apktool to latest as Raymond suggest me to and all working fine till now.
[One (M8) Themes and Apps] Mikanoshi:
Can you please archive the whole VTS folder and share it? because even apoktool author said it is not working with VTS!

http://xdaforums.com/showpost.php?p=51711573&postcount=2061
[One (M8) Themes and Apps] ineedone:
Have you updated smali/backsmali to 2.0.3? this gave me issues with compiling apks untill I updated them, no issues since

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Mikanoshi:
Decompiling works for me just fine with smali/baksmali 1.4.2 (2.0.3 didn't work, but I didn't get into it).

So now I need resource extraction, not code.

---------- Post added at 06:37 PM ---------- Previous post was at 06:35 PM ----------

Yep, thanks. The problem was indeed in smali/baksmali, with 2.0.3 resource decompilation works now. No idea why smali is even needed for resources, still a mystery for me.
[One (M8) Themes and Apps] ineedone:
Well, actually, reading your original post. It just might be you just didn't select your framework tag before decompiling .... ?

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Mikanoshi:
I did) And all frameworks were imported without errors with apktool 1.5.2 or 2.0.0b9.

Standalone apktool extracts resources without the help of smali/baksmali, because it's obviously for code.

apktool 1.5.2 is not working for me even now, when then same 1.5.2 in VTS is working.

Need to find out how VTS handles apktool...
[One (M8) Themes and Apps] Pneuma1985:
Standalone apktool decompiles resources b/c resources has no classes.dex it uses a resources.arsc which is different then the .dex. Dex is compiled smali eseentially in a zip-like format... resources.arsc are values essentially within the res folder compiled. So apktool has the ability to decompile a resources.arsc using the apktool.jar I believe. I could be wrong but that's my general understanding of how apktool works. It uses smali baksmali on classes.dex files.

Vts handles apktool through the external folder in your C:\Program Files (x86)\Virtuous Ten Studio\External\ApkTool. But you should be choosing the 1.5.2 in your project settings menu. If you can't get classes.dex to decompile it means there is something wrong with your paths and how java is calling for smali/baksmali check the java settings in vts and hit auto-find it'll find the java.exe it wants make sure you choose the right one if you have multiple instances of java installed. It could also be the smali/baksmali versions in your vts external folder.

Dont think so I rarely select the frameworktag when decompiling and it always works..I dont even understand how that framework-tag stuff even works to tell you the truth: my framework-tag's are 1.apk 2.apk what so i just write 1 or 2 in there or do you really write the app that's if'd like framework-res.apk or com.htc.resources.apk and honestly how the hell are you supposed to know which app its actually calling stuff out of more. And since I never select it, it has nothing to do with the decompiling process since all my images and id's match yours. Makes no sense to me. Apktool utilizes up to three if's and if the app has i'ds with 0x1 or 0x2 it's going to load the resources for it otherwise it'll error out.

I'd actually like someone to explain what that does? I've asked others before what this does and always got a run around explanation so does anyone actually know what that does? Apps seem to run fine without any tag in settings for it. I was always an apktool user straight oldschool style until about a year ago i started using vts consistently...So what does it do?
[One (M8) Themes and Apps] Raymond Ebertt:
As I mentioned in the OP, you will need the most current versions o smali and baksmali.jar's. Make sure your java is up to date. As well, check the apktool website and make sure you have the most current version of apktool.

Another thing to check for. When you replace the smali and baksmali.jar's in the VTS folder (usually program files x86) be sure that you remove the older ones. If you replace the apktool, when you decompile, be sure to check (use latest) in the apktool selection.

A final note. Manually install the framework tags from your ROM. Open the zip and pull the framework.apk out and into a folder. From the VTS option, use manual (add multiple tags) and navigate to that folder. Try not to extract from the device.

This video tutorial should help you.

http://xdaforums.com/showpost.php?p=46258428&postcount=8

Cheers...
[One (M8) Themes and Apps] ineedone:
Alright, I'm still a noob when it comes to this, don't know much about coding and all that stuff, learning a lot here every day . So thanks for your explanation. But in his first post he had this:

value=0x0208003b
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

This made me think he might not used the right framework or didn't import it , because vts allows multiple support for different frameworks, for different roms Which you can give a different tag, maybe I should have explained better...

Verstuurd vanaf mijn HTC One met Tapatalk
[One (M8) Themes and Apps] Pneuma1985:
Oh gotcha so that's what it's for lol it's boggled me since I first started using vts. Thx for the explanation. Oh and yeah I didn't see that above I only saw his one post. Yeah he probably didn't if it right or the if he's using has errors in the apk that can cause that error.
[One (M8) Themes and Apps] Mikanoshi:
Guys, I know all of that already, I wrote that VTS is working fine now with smali/baksmali 2.0.3 + apktool 1.5.2 :)

I was just confused that with smali/baksmali 1.4.2 + apktool 1.5.2 code decompilcation was working, but resources decompilation was not. How updating baksmali to 2.0.3 made apktool work? No idea.

Current "problem" is that standalone apktools 1.5.2 and 2.0.0b9 cannot decompile resources. How is that

java -jar apktool_1.5.2.jar d -s --keep-broken-res "%1"

different from what VTS is doing? I wanna know :)