yashsingh1/xdaforums huggingface dataset:
[Fire TV Q&A, Help & Troubleshooting] AFTVnews.com:
Sounds like you installed 51.1.4.0 AFTER installing the bootmenu. You're supposed to install 51.1.4.0 first, then the boot menu, then the latest ROM. It's a simple enough fix. Just follow the "Resetting with Recovery Mode" portion of my guide here: http://www.aftvnews.com/how-to-unbrick-and-prevent-bricking-an-amazon-fire-tv/#toc3.2
[Fire TV Q&A, Help & Troubleshooting] stutunaru:
[MENTION=5957312]AFTVnews.com[/MENTION] here are two separate issues im trying to find explanation:

1. why after installing rooted 51.1.5.0 i got brisked even i was following the same guide as for 51.1.4.0. i think i haven’t missed anything in there.

2. during the recovery the only missed step was nr.2 (missed to wipe cash partition). the question is why as a result of flashing the rooted 51.1.4.0 i got the stock one? (51.1.4.0_user_514006420)?

and the bootmenu i have installed only after applied 51.1.4.0->BusyBox->bootloader.

all works as should except the towelroot and partially supersu. why partially supersu because it still does what should, grants permissions to application but i cant open it, cant remove it, cant update it.

should i go ahead and apply the last rooted release (51.1.5.0_515030720)?
[Fire TV Q&A, Help & Troubleshooting] stutunaru:
according to AFTVnews.com the verification of unlocked bootloader was the adb shell. right after it i get root@android:/ #

http://www.aftvnews.com/how-to-check-if-your-fire-tvs-bootloader-is-unlocked/
[Fire TV Q&A, Help & Troubleshooting] stutunaru:
and i did flash the bootmenu after 51.1.4.0. the question is why after rooted 51.1.4.0 i got 51.1.4.0_user_514006420 which is stock ROM. also why if i have all tools mentioned for root on my aftv the towelroot says not supported?

is there anyway of starting allover again beeing on 51.1.4.0? :)

it's probably easier to do that then to troubleshoot why all these happened :p
[Fire TV Q&A, Help & Troubleshooting] KLit75:
The rbox ROMs and the stock ROMs are named identically, as far as I know. As far as I know

Towel root probably sees the preroot fw as unsupported because the same version of stock is most definetly unsupported. I never tried because I am rooted so there was never a need.

You are rooted

You have unlocked the bootloader

Supersu is working

You have cwm

When I said you lost me there...I meant from reading your op I can't see anything that indicates you screwed up. In fact, I accidentally tried to flash a stock ROM when I was going through that long process but it won't flash. Rbox designed it to fail so we won't brick. So as far as I know there is no way to be running stock with a custom recovery and to have custom recovery you must be rooted. I could be missing something but I don't see what?

Have you tried flashing a more recent update?

***but don't just try it without ensuring prerequisites are met. Like many others I do things like root and unlocknjust once. There's a definite order to this that can't be overlooked.
[Fire TV Q&A, Help & Troubleshooting] retroben:
Just grab the seeder.apk and try to enable it.

If it enables successfully,then you have root access.
[Fire TV Q&A, Help & Troubleshooting] AFTVnews.com:
The pre-rooted ROM and the stock software update report the exact same software version number when you look in the Fire TV's about section. Saying "i got 51.1.4.0_user_514006420 which is stock ROM" is silly since the pre-rooted ROM will also say 51.1.4.0_user_514006420. Also, SuperUser not launching is a known issue. It is that way for everyone using the SuperUser app that is included in the pre-rooted ROMs.

You bricked because you either did not install the boot menu or you messed up the boot menu installation. Simple as that.

If you're running 51.1.4.0 right now, then:

Install BusyBox

CAREFULLY install the boot menu

Test that the boot menu is working by restarting your Fire TV and using the boot menu to enter recovery

Then finally, install the latest pre-rooted ROM
[Fire TV Q&A, Help & Troubleshooting] stutunaru:
Might be. i might've overlooked something during the process.

last night have applied the latest pre-rooted ROM and so far so good.

appreciate all your help folks.

:good::good::good:
[Samsung Galaxy Nexus] hemantv:
So I saw a new CM12 build and as usual I downloaded it and flashed it. Sometimes while setting up the device, data is turned on automatically so to save a few bucks I removed the sim card while the device was on and after that the sim card is just not being detected.

The sim card is fine as I've checked it in other device. I tried another sim card on my maguro and it won't even read that. Is there anything I can do or am I f**ked up?

Need help.
[Samsung Galaxy Nexus] hemantv:
Seems it was not a hardware issue as it started working on its own now. Quite happy as it is still my primary device.
[Samsung Galaxy Nexus] comk4ver:
That hardware is wearing down...
[Samsung Galaxy Nexus] TSF14:
Same Problem!

Same problem here. How does flashing a different ROM just stop the hardware from reaading a SIM card? Like turning off a light switch! :confused:
[Samsung Galaxy Nexus] hemantv:
Well flashing different ROMs didn't help. I just inserted my SIM card after a month or two and it was easily detected. Don't know what the issue was.

Not even 24 hours after writing this post, my Galaxy Nexus got stuck in the same issue. What a f***ing coincidence. :rolleyes:
[Samsung Galaxy Nexus] hemantv:
The issue still persists on my maguro, not sure if it's an hardware or software issue. It shows the IMEI correctly as displayed on the back of my device.

I tried collecting radio log using adb logcat -b radio > log.txt and have attached the same. Can someone please have a look and tell me if it's solvable or not.

[MENTION=2633638]Ziyan[/MENTION] [MENTION=4544860]osm0sis[/MENTION] [MENTION=1048318]zzpianoman[/MENTION] [MENTION=6140342]Fenix46[/MENTION] [MENTION=4608636]bsmitty83[/MENTION]

Thank you.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
These are just notes for myself, also to share to others what I've learned. I'll bring updates when I learn more. This can work if you want to port things.

YOU WILL ALSO NEED TO HAVE SOME KNOWLEDGE OF APKS OR THEMING!

Please also credit me if you used some of the things such as inverting the settings apk!

This thread will have different posts containing guides and extra links. It's too much to fit it under this post and will be confusing. Gimme time and yeah.

Just remember, the key to this is Layers. What is layers you ask? Well lollipop contains some internal code in which uses overlays. These are apks in which are used in phones, and many themes have used in lollipop. They are who made theming possible. They made everything 100% easier. Well, you can find layers on xda. Look in the s4 section and you'll see a few. In those layers apks, they tell you everything you need or what to change or even cherry pick. They contain changes that others how made, so even you can use. To sum this up, overlays that you can decompile and learn and see what you need to change in your apk to replicate it.

So, we all know touchwiz is the same on each device. This should work on many touchwiz devices running 5.0 and also a solution to your problems. I'm not an expert since I'm still in middle school but I have learned alot. There may be errors, you need to figure that out.

Let's get started

Tools you need

--------------------------

-Apk tool for touchwiz lollipop

-Notepad++

- A brain

- paint.net or anything like that

-Flashable zip so you can flash

-your systemui.apk or secsettings apk

Below will be links and a separate guide for each apk.

Credits:

-reggie cheeks for teaching me lots of things when kitkat was out.

-layers team/creators for making things a lot easy.

-ykkfive for expert knowledge on layouts xml. (Just a Boss at modding ?)

-names I forget

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Links

---------------------------------------

Apk tool I use: http://xdaforums.com/showthread.php?p=58139464 Simply drag your apks to in folder and decompile with program. You start editing stuff in the out folder.

---------------------------------------

FLASHABLE ZIP

Simply just use the advanced apk tool, decompile the apk, recompile with your changes, then add the apk in the zip flashable in the folder. There will be two folders, one framework and one systemui..

Heres the zip download that someone made and I just added the sub folders:https://www.androidfilehost.com/?fid=95916177934546640

That will make things easyier in lollipop :P

------------------------------------------------

COLOR CODES

When you need to change something likes #ff0000000 or somesort. This website should help you find the right colors. Make sure you LOWERCASE the letters. https://closedxml.codeplex.com/wikipage?title=Excel Indexed Colors

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
How to theme systemui apk

---------------------------------------

Now all credits go to this dude. I'll just link the thread since I don't want to copy any of his work. Everything you need is there [emoji14]

http://xdaforums.com/showthread.php?p=59725314

Usefull link to understand Material Design

https://developer.xamarin.com/guides/android/user_interface/material_theme/

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
How to theme settings.apk

-------------------------------------------

Took me weeks to figure out until I found layers.. *facepalm*. Simply decompile your secsettings apk and follow along!

Theming Settings APK Version 2.0

Now this is a revised version of theming settings apk. In styles xml changing a few things to Theme.Material inverts the whole apk to black. This was introduced in material design by default in which is prethemed. Android M allows you to change between light and dark instead of decompiling now lol.

Now to theme each aspect of the part of the apk to a certain color (like background=black and the Tabs to a blue color etc each element basically) is what I am trying to acheive here instead of usiing what google has already done. This is called custom theme in material design.

Ok

Under

and/ or

you can add these right under it (to both settings theme and theme.settings)

#ff333333

#ff333333

#ff3366ff

#ff0a0a0a [MENTION=5711379]ANDROID[/MENTION]:color/black

#ffffffff

#ffffffff

Now your wondering.. what does this do? Well this tells what color to be what in the settings apk! Ok so heres what each one means.

You can change the color code to what ever you want. Right now i am trying to figure out which is the text color and such since theres still alot more to go.

Now your probably wondering what color do i use for [MENTION=5711379]ANDROID[/MENTION]:color/black

That is the background color of the settings apk. It doesnt use hex color so you have to make a custom color in colors.xml since it reads the color in color.xml. By default, you can use black, cyan, yellow,red , white , blue. Say you want the background to be white. It will look like this [MENTION=5711379]ANDROID[/MENTION]:color/white

see just change the to the color name you want in the default list.

BUT WAIT! I WANT TO USE MY OWN CUSTOM COLOR THATS NOT ON THE LIST! Well if you want you to use your own custom color just put in the color you want in colors xml. Please NOTE THIS MAY NOT BE WORKING ATM!

For example in colors.xml add (you can use this in your to)

#3498DB

#77D065

#B455B6

#ffffffff

Change the name to whatever color yours is like my_orange etc. Then input your color code in your custom color. Then now save your color.xml

Now go back to [MENTION=5711379]ANDROID[/MENTION]:color/black

and change it to the color you named your color.

[MENTION=5711379]ANDROID[/MENTION]:color/my_orange

QUICK NOTE!

<item name="android:colorAccent">#ff800000</item>

That is the color of the battery graph, swiftches and a few more.

-----

res/layout/battery_history_chart.xml

Changes Battery Graph Text

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
How to port themes (systemui only)

---------------------------------

I have ported many Note 4 and also S4 themes. It's as simple of copy and paste.

Now, download any lollipop theme from the Note 4 or S4 themes and apps section. It must be a themed systemui.apk.

Now right click on the apk you downloaded and open with winrar or 7zip. Now go into res -> drawable-sw800dp-xhdpi or something like that. Somtimes it may look like drawable-sw600dp-xhdpi or something. Find the folder that has something like drawble-sw ....... something. Each device is different soo yeah. Now inside the drawable-sw (something) folder look for pictures named something like tw_quick_panel_ bla bla bla. Highlight all those tw_quick_panel pngs and drag them into (decompiled systemui from your device) your drawble-sw (something) folder. DO NOT COPY THE .9pngs. You will face errors.

Now after copying and pasting those pictures, its time to modify the colors.xml to match the colors of the systemui. Simply just follow this guide http://xdaforums.com/galaxy-s4/themes-apps/guide-how-to-theme-tw-systemui-t3065965/post59725314 and change the color codes to whatever the color the theme your trying to port. Then hit save and recompile. Done!

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Using layers to full advantage and to help you!

---------------------------------------------------------------------------

Alright alright, we know that layers is really helpful. This thread is an example of one http://xdaforums.com/galaxy-s4/themes-apps/layers-overlay-rro-dark-settings-5-0-tw-t3073939. You can use that, but ask for permission first! Once you got permission to modify or use theme simply, download one and extract the apk to your apk tool. Now just decompile and yeah. After its decompiled, when you go in res folder, then vaules folder, you will see a few xmls like styles.xml and colors.xml. Those are the changes that are made/overlay changes in which you can use! They tell you exactly where to put what and what has changed to get those colors/ theme.

So so, now go into your decompiled apk (secsettings or systemui from your device) and compare the stuff in your values folder. Lets say you wanted to have a black themed settings you downloaded a black layers/overlay theme with permission. And you want you want to make your settings apk from your device themed black also useing that overlay. So in colors.xml of your settings apk from your device, fill in the stuff/change the color code to match the layers settings apk. MAtch those colors! Now in the styles.xml, all you need to do is find the same things and add stuff or change things like theme.light to theme.material. What Im saying is to try and see if you can match eachother and add things in order to get it themed. Those layers contain whats modded, so all you need to do is fill in the blanks/change yours slightly to match and get it themed.

Heres and example on what im talking about. Lets say your styles.xml has something like this below settings.base <item name="android:colorBackground">#ff181818</item>. and the layers apk has something like <item name="android:colorBackground">#ff000000</item>. So all you would need to do is change the #ff stuff in your settings apk to what ever the themed layers apk has. Somethings you may need to copy and add another line of text below it if your settings apk doesnt have what the layers apk has. Again fill in the blanks, compare eachother, and add them (school taught me this).

Hopefully you get what I mean

-DUHA
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Notes to myself

Settings apk

Background of settings apk is <style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">

Change to Theme.Material For Darker color.

ActionBar/ Right below status bar color of settings apk

FInd

in values/styles.xml

<style name="Theme.Settings" parent="@style/Theme.SettingsBase">

now add this below it (color code can be waht ever)

<item name="android:colorPrimary">#ff687074</item>

<item name="android:colorPrimaryDark">#ff687074</item>

Now do the same thing for

<style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">

<style name="TabTheme" parent="@android:style/Theme.DeviceDefault.Light">

DEMATERILIZE and Get Lollipop Settings Apk to look Holo aka Kitkat

Find or something similrar

<style name="SettingsTheme" parent="@android:style/Theme.DeviceDefault.Light">

Replace With

<style name="SettingsTheme" parent="@android:style/Theme.Holo">

Find

<style name="GridTabTheme" parent="@android:style/Theme.Somethingidk" />

<style name="TabTheme" parent="@android:style/Theme.Somethingidk">

Replace with

<style name="GridTabTheme" parent="@android:style/Theme.Holo" />

<style name="TabTheme" parent="@android:style/Theme.Holo">

You may need to change the text color for popup/dialogs but hopefully this should do it if i remember correctly.

SYSTEMUI

SystemUI Brightness slider Tablets

Slider for both auto and off brightness

<color name="tw_progress_color_control_activated_thumb">#ffffffff</color>

<color name="tw_progress_color_control_activated">#ffffffff</color>

<color name="tw_progress_color_control_disabled">#ffffffff</color>

Slider background

<color name="tw_progress_color_control_normal">#ff6c7174</color>

SYSTEMUI HOLO Volume and swtich on Lollipop

FInd

<style name="systemui_theme" parent="@android:style/Theme.DeviceDefault">

and change to

<style name="systemui_theme" parent="@android:style/Theme.Holo">
[Galaxy Tab S Themes and Apps] Richcar:
Nice thanks you. ..
[Galaxy Tab S Themes and Apps] Xenomorph:
Nice Thanks for your Work [emoji6] [emoji6]
[Galaxy Tab S Themes and Apps] jazzespresso:
Hi [MENTION=5978945]DUHAsianSKILLZ[/MENTION],

if I ask you to theme Note 8's systemUI, you would probably going to say "NO", but asking won't hurt :D
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Is it lollipop or kitkat? I've been busy with projects in school ? I've got 4 projects due by the end of this month ? I usually don't say no to things but I may say "wait".
[Galaxy Tab S Themes and Apps] jazzespresso:
KitKat 4.4.2 :), no rush i will wait :)
[Galaxy Tab S Themes and Apps] bobfrantic:
In SecSettings there are sometimes two lines of text. A main line and a secondary smaller line with descriptions usually. How to change the color of the text in those lines is what I am trying to do. Any ideas please? :D
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
I have no idea. Some of the text for me just magicly turned white. The only thing I can suggest is looking over an layers settings apk that has what you want. That's how I learned how to invert secsettings.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Been a while since I was on Kitkat. I have no idea what to theme what anymore. I've been on lollipop to much in which I forgot. Sorry.
[Galaxy Tab S Themes and Apps] bobfrantic:
Found it. framework-res go to res/colors/primary and secondary text dark xmls :)
[Galaxy Tab S Themes and Apps] MrHomebrew:
Galaxy Tab S 8.4 Lollipop update demonstration: https://youtu.be/8Hw9QLOEgOM
[Galaxy Tab S Themes and Apps] BongOfWar:
I think i may have found a reason for some of the recompile errors people may be having,

in the section here

search for

style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" />

you are missing the first < so when people are copying and searching it highlights that exact text ( if using notepad++ like me ) so when you then copy and paste the text to replace it you are ending up with a line like ( <<style name="SettingsTheme.Panel" parent="@android:style/Theme.DeviceDefault.Light.Panel" /> ) and due to the double << this will cause compile errors, i had this same issue until i looked through all changes carefully and my notepad++ had highlighted the error text

Hope this help

BongOfWar

---------- Post added at 04:03 PM ---------- Previous post was at 03:26 PM ----------

this is my theme im working for my custom rom, with help of your guide, tyvm
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Your pictures don't load. But thanks for the tip!
[Galaxy Tab S Themes and Apps] BongOfWar:
hopefully they will show this time bud
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Looks good so far!
[Galaxy Tab S Themes and Apps] BongOfWar:
yea its getting there slowly, just having probs with the main Settings page,

The main settings page wont change theme, all pages within the main settings tabs change but not the main page itself its weird
[Galaxy Tab S Themes and Apps] Richcar:
[MENTION=1549766]DUHAsainSKILLZ[/MENTION] what method do you used to center the systemUI after decompiling it
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Ykkfive had a fix for me in which I use. I also slightly modified it to work on Tab 4s too. My laptop has an dead display so it might be a while before I can give you the fix.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Here you go https://www.androidfilehost.com/?fid=24052804347759940

Just drag those two xmls to layouts folder and replace then recompile
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
-Added guide on how to get KitKat settings apk on lollipop

Thanks!
[Galaxy Tab S Themes and Apps] 3DSammy:
Sorry for such a noob question but I've searched both XDA and Google but still cannot find a definitive answer. Can you use RRO/Layers on the Samsung Stock 5.0.2 ROM? I'm OK to go through the effort of theming apks but I saw Layers themes on the Playstore and on XDA including TW ones for other Samsung devices (not a Tab S). I have rooted without tripping KNOX so have SuperSu full functioning.

I'm very interested in the Google apps that were also themed beyond just settings. Right now I avoid some Google apps like GMail and YouTube using alternatives like K9 and ViralPro just because of the "White out" effect of material design's overuse of white backgrounds. I'd switch back to the Google apps if they had a dark theme option.

Your guide leaves me the impression that Stock 5.0.2 cannot directly use Layers or Layers Manager, especially post #6.

Thanks for this excellent guide.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
Layers works for certain devices. I don't even know if its in all LP builds since some devices like Note 4 and such doesn't have layers. I believe layers only works on certain devices with an certain resolution. It sucks but really, its just an overlay that contains xmls and pngs that you can include in systemui.

Basically, you have to include some sort of thing into a ROM which I haven't figured out yet to support layers. Meanwhile, for CM roms, devs would need to add an commit in their builds I'm not sure

Sucks :(
[Galaxy Tab S Themes and Apps] 3DSammy:
Thanks for the quick reply. It does suck especially as I'm having a devil of a time decompiled both SystemUI and SecSettings. I get the same "...UndefinedResObject" Java exception on a Ubuntu 14.04 and a Win7 / Java 8.4 install, both with apktool v2.0.0.

Right now I'm at a standstill. I'll keep trying but it aborts before decompiled the framework directory. On Win7 I also tried the Advanced Apk tool you gave a link to as well as the commandline apktool.bat. I even tried that web site which decompiled apks for you. It seemed to work for SystemUI but the results were less files/directories then the apktool abort gave me.

Well back to the salt mine ... hacking is such sweet sorrow.
[Galaxy Tab S Themes and Apps] DUHAsianSKILLZ:
That advanced apktool has worked fine for decompiling and recompilling apks except the minor layouts bug. I could perhaps decompile apks for you.
[Galaxy Tab S Themes and Apps] 3DSammy:
Thanks for your kind offer but when other people don't have the issues that I'm having its time to point a finger into a mirror to find the culprit. Besides when it comes time to recompile I'd likely be stuck in some other way. Hacking is supposed to be a challenge, I'm retired so have the time ;) Need to sign-off now as its time for the nurse to give me my sponge bath ;)