ROM Questions. PLEASE answer - Android Q&A, Help & Troubleshooting

Hey guys, I'm building a ICS themed ROM that is themed to look like JB (with some JB apps included and such)
For some reason I can not decompile/recompile my Framework-res apk as it will neve rwork. With APKTool, decompiling gives FALSE values and recompiling always exceptions. Ninjamorph editing sent me into a bootloop, obv. the Jellybean Framework sent a bootloop also on the first boot. That, or I wasn't patient enough to get to the Start.
Second, I donloaded a Jelly Bean UI/Theme and used that Framework, but the lockscreen buttons are too small and I do not need the Nav bar on the bottom, as the device has 4 hard buttons. (Settings, Home, Back, Search) and the ICS Rom im basing it off lacks these buttons also. The screen is small and feels really cramped with these buttons there. Also, how do I generate a normal build.prop without having to manually put in random information into the file via Notepad++?
I'm extremely new to Android Development though it appears so far that this ROM is looking okay for what it's supposed to be. Generally smooth running and pretty aside from these few things which are holding me back from any release or w/e
Thanks in advance to anyone who answers.

Related

[Q] framework-res.apk & dianxinos-res.apk

Hey there everyone, I am wanting to edit my framework to get a better looking notification bar. I have an android phone called SH7218U, I am rooted with all Gapps.
If you look this up phone on Google, you will see that the notification bar and icons are very similar to stock Android 2.2 ( I am running 2.2.1). The only difference is that the signal bar is located to the left of the bar as well as some icons getting set there as well. You can really see this here: http://www.itechnews.net/wp-content/uploads/2011/03/Sharp-SH7218U-Clamshell-Android-Phone.jpg
When going into root explorer and checking out system/framework I am see the familiar framework-res.apk file, but I also see an apk file called dianxinos-res.apk. It seesm to be able to mess with framework and change the UI and other things, both of these files need to be edited. This is just a guess though since I have been able to find a post on a Chinese forum that gives a new notification bar (the only difference being the battery icon replaced with a numerical battery representation and the (when bar is pulled down) shortcut to the useless built-in task killer is gone. Inside of the package to this new framework I get both framework and dianxinos files so it seems I would have to replace both of the old files with the new ones.
As you can see in the above image there are virtual android buttons on the bottom of the screen as well, for when you want to use the phone normally. I do not think that the dianxinos-res.apk is linked to the virtual buttons as exploring system/media/pics contain.bmp images of the virtual buttons and I have confirmation by another SH7218U user that editing these images will directly effect how they are displayed.
I was just wondering anyone know how to edit the framework when there are two files corresponding to this. I don't know much about editing the framework but even so I am quick to learn but figured I would just ask around before I do anything. Worst comes to worst, like a bootloop for instance, I have a system.img for my phone so flashing that with fastboot will get my phone working again.
Anyway, Ive uploaded both files in case anyone would like to look at them. I am trying to go for a gingerbread-esque notification bar with blue instead of green possibly.
If anyone thinks this thread would get better hits elsewhere I would appreciate any input.

[Q] Modifying a ROM....HELP

I love froyo. It's the only android version that is fully supported. A new rom came out called frankentab. I love everything about it except the icons used for home, back, and menu. The icons officially used are honeycomb icons, but I personally think they do not look nice with it...
So I would like to try to change the icons from Honeycomb to ICS myself.
Does anyone know how one may do this?
Any help appreciated
*EDIT*
Due to my unresponsive upper right corner touchscreen,
I changed back to my favorite rom, Beasty's Froyo Ultimate i think its called, and I still would like to try to change those wifi and battery icons I assume its the same framework situation.
From what i could think its in framework could start looking in there in the rom zip
thanks I started looking in there but haven't made any real progress...
I actually kind of abandoned this rom because my touchscreen is unsensitive in the top right corner so the home button was useless. I changed back to my favorite beasty's rom and now I want to change those icons and I assume its the same directions for that too.
You could try the UOT kitchen (edit roms online) or NinjaMorph (android market). I haven't tried either on the gtablet yet so I can't guarantee anything but I have used NinjaMorph on my DroidX and it worked. The UOT kitchen looks really neat just haven't had the chance to try it yet.
By the way I am on Beastly too great Rom but plain Froyo looking! Let me know how it goes I may do this too when I have some time.
Thanks I just made a flashable theme from UOT kitchen, and I am about to put it on, will update once it's done...

[Q] Help me create a bottom status bar mod!

hello, so I've been searching and searching for a way to move the status bar down to the bottom so I can flick it up to open it. I've seen it before in cm7 roms and reloaded ics for older nightlies of cm9 roms. I'm wondering how they do it... it seems like it's some BIG secret, because no one seems to know anything about this type of mod or where to start to create it. It's built in to the cm7 roms, and Reloaded ICS doesn't work for newer cm9 roms.
So here's my request.
1. Someone point me in the right direction of where to find the right xml files and values to edit to recompile a rom with a bottom status bar!
or
2. Someone help me port Reloaded ICS to either newer ICS builds or maybe even JB!
or
3. Someone tell me some kind of good news about finding any way of moving the status bar down and reversing the pulldown so it slides up! cuz I'm really getting sick of searching for guidance on this issue...
I swear, it's the final and only thing I desire to change about my phone...
I love AOKP so if we could integrate this status bar trick/mod into an aokp build, that'd be the best rom ever!
again...why is this so hard? this search has gone on long enough, I'm really starting to get fed up with people creating roms just because the source is new... I'd like to see more customizations with current roms, like a bottom status bar option! why was this left in the dust in cm7? why not keep the mod going in cm9 or 10? bahhh!
I've started to decompile framework-res.apk and systemUI.apk but I don't understand what to change to make this happen, there are several places where in certain xmls it specifies the gravity or position of things that sound like they'd have to do with where the status bar is and how it acts, but I really don't know where to start...
Please help! It sucks knowing what I want, having the available technology to create it, but no guidance or any info to start with!
I have attached a couple pics that i made from screenshots i took while running Full throttle's and Licorice's Fuzion Rom
My background is my wonton symbol and the little android at the bottom is my app drawer, there are other icons/folders beside him but they're invisible, haha!
So if anyone could help me with creating a rom that looks like these pics, I'd be eternally grateful!!!

Navigation Bar Spacing Width Problem!

After much searching on xda, I successfully added softkeys to my galaxy note 10.1 (2014) by editing build.prop ("qemu.hw.mainkeys=0") and then reduced the height/width to 36, by decompiling, editing and recompiling framework-res.apk.
Yet, as you can see in the attached picture, the navigation bar keys are spaced out edge-to-edge, both in landscape and portrait, making it quite cumbersome to use.
My question is, what do I need to do to adjust the space between the navigation bar keys, to make it more normal like a Nexus 7 or 10 device?
I'm on kitkat with Samsung TW, but since these softkeys were added on, I'm guessing only stock kitkat related files need to be edited. But I have no idea what I need to edit, to keep the buttons closer together ....
All help and advice would be dearly appreciated!!
Jnn1 said:
After much searching on xda, I successfully added softkeys to my galaxy note 10.1 (2014) by editing build.prop ("qemu.hw.mainkeys=0") and then reduced the height/width to 36, by decompiling, editing and recompiling framework-res.apk.
Yet, as you can see in the attached picture, the navigation bar keys are spaced out edge-to-edge, both in landscape and portrait, making it quite cumbersome to use.
My question is, what do I need to do to adjust the space between the navigation bar keys, to make it more normal like a Nexus 7 or 10 device?
I'm on kitkat with Samsung TW, but since these softkeys were added on, I'm guessing only stock kitkat related files need to be edited. But I have no idea what I need to edit, to keep the buttons closer together ....
All help and advice would be dearly appreciated!!
Click to expand...
Click to collapse
Were you ever able to resolve this issue? Same tablet same problem.
7786 said:
Were you ever able to resolve this issue? Same tablet same problem.
Click to expand...
Click to collapse
Nope. It seems I need to modd framework and SystemUI, but since the latter included samsung enhancements, decompiling and recompling it is a mess.
I ve tried several xposed framework modules to no avail too. Gravity Box allows me to change buttons and commands of the navbar but not the spacing between the keys.
I am unfortunately not a developer, and don't have the ability to deodex, modd, recompile SystemUI without breaking other stuff. Hoping some custom roms will have the function in the future.
If you find a solution, do let me know. I ll keep you posted if I find one too.
Sent from my SM-P600 using XDA Premium 4 mobile app
Same problem with my Grand 2 custom rom there is too much of space after the back key

[Q] How to replace orange 'no connectivity' icons in 4.4?

Hi,
short version: how can I replace orange 'no connectivity' icons with white versions under 4.4 (KitKat)? I've tried to mass replace (in system apks) any PNG files I could find that seem to be related to signal strength -- but either I can't find the right ones or there's something even more tricky going on.
long version: I'm experimenting with my Lenovo Vibe Z (k910). I tried to install official 4.4 update (VIBEUI_V1.5_1420_4_ST_K910_NK_W_E2D0 if that's of any interest) + root + google apps. It seems to work fine except for the one unpleasant issue -- network signal icons turn orange (which clashes somewhat horribly with the rest of the visual scheme).
As far as I was able to google, orange means 'no connectivity'. This is clearly not true (all google services etc. work fine). However I don't really care about the fact that the system 'thinks' it is not connected.
What I'm looking for is some way to make these icons white -- either via simply replacing the icons or else making the system believe that it is, in fact, 'connected'.
Thanks in advance!
P.S. I've been able previously to fix similar issues under 4.2 (by simply replacing icon files). However I can't seem to get 4.4 figured out.
So figured it out.
At least on my phone (Lenovo Vibe Z (k910)) the relevant apk is NotificationCenter.apk and relevant icons are like these:
NotificationCenter.apk\res\drawable-hdpi\stat_sys_gemini_signal_2_orange.png
Solf said:
So figured it out.
At least on my phone (Lenovo Vibe Z (k910)) the relevant apk is NotificationCenter.apk and relevant icons are like these:
NotificationCenter.apk\res\drawable-hdpi\stat_sys_gemini_signal_2_orange.png
Click to expand...
Click to collapse
Instead of decompiling and recompiling your apk try using GRAVITYBOX xposed module...are u using a custom rom or the Stock?
GravityBox does so many things simultaneously that it is, in my opinion, a very dangerous thing to install on a ROM that is not completely stock. And Lenovo's isn't exactly stock. I had issues on another Lenovo phone previously.
I tried some other xposed module that was supposed to be able to recolor status bar icons -- didn't work.
Also copying icon files makes them fit not only by color, but also by style. And is rather trivial thing to do really as long as you can manage to unpack/pack zip files (which is what apk really is).

Categories

Resources