yashsingh1/xdaforums huggingface dataset:
[Droid X Themes and Apps] dgware:
Hi,

I have a Droid X and have been trying to change the text color on the pulldown statusbar without any luck so far.

When I open status_bar_latest_event_content.xml in a hex editor, it does not have 08 00 00 1C.

I also tried to decompile and build after editing using apktool but the framework-res.apk fails build and errors out:

.....
.....
.....
C:\pulldown-text\framework-decoded\res\values\public.xml:3590: error: Public symbol drawable/zz_stat_sys_r_signal_5 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3591: error: Public symbol drawable/zz_stat_sys_signal_5 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3592: error: Public symbol drawable/zz_stat_sys_signal_5_cdma declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3593: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3 declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:2834: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_custom3_flash declared here is not defined.
C:\pulldown-text\framework-decoded\res\values\public.xml:3594: error: Public symbol drawable/zz_vzw_stat_sys_roaming_cdma_flash_custom3_anim1 declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Work\LOCALS~1\Temp\APKTOOL7897394753294370357.tmp, -x, -S, C:\pulldown-text\framework-decoded\res, -M, C:\pulldown-text\framework-decoded\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\Work\LOCALS~1\Temp\APKTOOL7897394753294370357.tmp, -x, -S, C:\pulldown-text\framework-decoded\res, -M, C:\pulldown-text\framework-decoded\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more

I cannot find out how to change this, can someone please advise.
[Droid X Themes and Apps] SysAdmin-X:
If you attach your framework-res.apk and let me know what color you would like, I can re-do it for you! I have this problem on my desktop (64bit running windows 7).

But on a 32 bit laptop I have no issues.. Haven't been able to figure out the difference...
[Droid X Themes and Apps] dgware:
I have 32-bit too

Hi SysAdmin-X,

I am trying to do it on a windows XP 32bit OS.

Here is my framework-res.apk anyway.

I am trying to edit: /res/layout/status_bar_latest_event_content.xml

The line:

@color/primary_text_light

to

@color/primary_text_dark

Thanks!!!
[Droid X Themes and Apps] SysAdmin-X:
Here you are!

Hope this works! you know how to put the framework back onto your phone?
[Droid X Themes and Apps] dgware:
Thanks!!!

I'd really like to learn how you did it though. Can you please share?

Please share your environment setup for doing this. I've spent the last 2 days trying to figure it out!

Yes, I know how to put it back.

With this, I'm just doing to pull the status_bar_latest_event_content.xml out and put it in an original framework-res.apk just in case something got changed accidentally.
[Droid X Themes and Apps] SysAdmin-X:
No problem. I'm not quite sure what you may have done wrong, as I can't get this to work on my 64bit desktop... =(

Anyhow... I have a 32bit laptop running windows 7 ultimate. From there, I downloaded apktool and put the two necessary files for the windows version in C:\Windows.

Then from there, all I do is use the following setup

1) Take the .apk file and create a folder structure such as the following:

C:\frame_build

create 5 folders inside there: decoded, encoded, signed, 9png, and extract.

2) copy the .apk to the C:\frame_build directory

3) Type the following command in a command prompt:

apktool d -f C:\frame_build\framework-res.apk C:\frame_build\decoded\

4) watch for it to say something similiar to "can't find 9patch chunk in file. This is because it does not correctly parse the .9.png files. You will need to find those files in the directory it specifies (in this instance /drawable-hdpi) and cut and paste them in the 9png folder. (you don't have to do it this exact way...this is just my method for simplicity sake)

5) Then you should have a decompile apk in the decoded file. Make your edits to any images/xml files you need.

6) From the command prompt type the following:

apktool b C:\frame_build\decoded C:\frame_build\encoded\framework-res.apk

7) You should now have a compiled apk in the encoded folder.

8) Copy the ORIGINAL .apk file into the extract folder and then use 7zip (or any extraction tool) to unzip the file.

9) Using 7zip, open up the .apk file in the encoded folder.

10) Copy the androidmanifest file and the META-INF folder from the extracted ORIGINAL framework-res.apk and drag it into the open 7zip window. Say yes to any message.

11) Drag the contents of the 9png folder into the open 7zip window under /res/drawable-hdpi or wherever you originally had to pull them from. Say yes to any message.

12) Close 7zip and the .apk in the encoded file is good to go!

This is what I have been doing. I do notice a significant size decrease in recompiled files... For instance, your original was 3.3 mb and the new one is only 2.4
[Droid X Themes and Apps] dgware:
Great, thanks for the prompt replies. I'm doing almost the same thing but still get the errors on XP.

I'm going to try to exactly copy your method and see how that goes. Now I need to find a computer with win7.

I just don't want to have to seek out your help every time I wan to make a change.

Your assistance in this was much appreciated SysAdmin-X
[Droid X Themes and Apps] SysAdmin-X:
No problem at all! If you have more questions, feel free to ask! I'm glad I'm able to help! That's what makes the xda forums great! People have helped me, and I'm more than willing to help others out in return!

If you need more edits, let me know. I can help you out for right now until you get a working environment.
[Droid X Themes and Apps] SysAdmin-X:
Even better!!!! I found a new tool that may work for you!

http://xdaforums.com/showthread.php?p=10129091#post10129091

I just found this online trying to help figure out a solution to our build environment woes =/

I tested it (sorta) on my framework, and it seems to work really well. You just download the file, extract it, and it runs as an executable. Then you pick your .apk file and you can easily replace images and edit xml files under the content tab of the application!

I'm not sure about re-packaging the apk... but if you can use this, it looks like it decompiles for you... Then you could just double click on the "res" folder under the content portion of the app. It should open a file explorer window to a /temp location with the decompiled apk. Copy all the decompile files/folders to a new directory...Then try recompiling the apk..

Not sure if this will work yet tho... I'm gonna give it a try myself =)

EDIT: Just tried this!!! Super stoked on this tool! I used it to decompile my framework-res.apk...Messed with some xml files...Then opened the temp location....Copied all the files/folders, and then recompiled the apk using apktool from the command line... IT works!!!
[Droid X Themes and Apps] boost192:
Very helpful been looking for this for a long time!
[Droid X Themes and Apps] dgware:
I will try it out.

I don't have any problem decompiling, it's just the recompiling that isn't working for me.
[Droid X Themes and Apps] dgware:
Just created a new windows 7 32 bit environment and tried it again and worked just fine. I can finally re-encode the apks. I'm really just doing it to go from axml to xml and then back to axml after edits.

Just wondering, but is there a way to do this on eclipse?
[EVO 4G General] josh995:
Edit:

Well, it's working now. I just kept calling myself over and over and eventually it just... worked.

I feel silly. :confused::confused::confused:
[EVO 4G General] drmacinyasha:
Just to prevent any recurrences, try flashing over to Sense and update your PRL and Profile. Also make sure that if you're using SetCPU or anything similar, your minimum frequency is at least 384 MHz.
[EVO 4G Q&A, Help & Troubleshooting] gpz1100:
I've been trying to figure out why my battery life diminishes so quickly (stock battery).

In the battery info screen, i discovered my awake time was nearly 50% of my uptime!

Using spareparts, determined that the offending program was k9 mail.

The software is configured for imap push on 2 accounts (both on the same server - served by hostgator). Push is only set to for the inbox folder on each of the accounts. Background sync in k9 settings is set to always. Idle refresh frequency is set at 24 min for each account. Mobile data always on is enabled in the main android network settings (otherwise push doesn't work after the screen is off for 5 min).

When no email is received, awake time goes down, but whenever an email comes in, at least a minute is added to the awake time each time.

In conclusion, it would appear that whenever a push event occurs, k9 does not let the system go back to sleep until at least a minute has elapsed. Why not receive mail, then resume sleep immediately...

Is this lack of resuming sleep a function of the program, or something controlled by k9? Any way to force it back to sleep after the even has occurred?
[EVO 4G Q&A, Help & Troubleshooting] gpz1100:
I thought I'd post some thoughts since it's been a few days.

Digging around here and other forums didn't reveal a whole lot. The bugtracker at the developer's site gave instructions on how to enable logging on the client.

Reviewing the logs, it's clearly obvious that after each session, a wakelock of 60sec is enacted. This is where my awake time runaway is coming from! The more emails I get, the longer it stays awake. For every message received, wake time is incremented by a min. If a new message arrives 61 seconds since the last, awake time will increase by 2 min. This is a cumulative effect which gets worse as more messages are received.

Other clients such as maildroid seem to release the phone back to sleep as soon as the email is received.

I'm hopeful the folks at k9 find a solution for this in the near future. I think the client is one of the better ones with regard for granular configuration. Maildroid does the job, but wasn't a whole lot more robust than the htc client (other than for push support). Seven has some strange validation processes.

I know I can go by way of googlemail, but the accounts in question cannot be forwarded to google. So it leaves with choices.

1) Leave it as is until fixed and let the battery drain continue

2) Still have it setup as IMAP, but disable push altogether - this works, but to get new email, it has to resync the whole folder, which becomes more and more time consuming as the folder grows. A checking interval is set up (poll every x min)

3) similar to 2, but manual polling

4) other suggestions??
[EVO 4G Q&A, Help & Troubleshooting] tdusen:
5) get the source and fix it yourself.

I'm using k9 for 3 accounts and I've never noticed a battery drain.
[EVO 4G Q&A, Help & Troubleshooting] gpz1100:
If I knew how to program I would be all over this.

Unless your accounts are configured for push, and depending on the volume of email you receive, you may not notice this issue.
[EVO 4G Q&A, Help & Troubleshooting] tdusen:
I definitely use push, but the volume is pretty low.
[EVO 4G Q&A, Help & Troubleshooting] gpz1100:
Between the different accounts, i get a good 100+ mails a day... Easily subtracting nearly 2 hrs of wake time to my battery life when the device isn't really being used.
[EVO 4G Q&A, Help & Troubleshooting] 4EST:
any updates? I too am facing with the high battery usage of K9, and I do get a lot of emails.

While using gmail client, the battery lasts a lot longer, ~36 hours. With K9, barely 14 hours!
[EVO 4G Q&A, Help & Troubleshooting] gpz1100:
Part of my fix was changing roms. Although both are based on the same ota, the current one doesn't seem to have issues with k9 (or not as much).

You might look into updating to the latest k9 too.. 3.708 is the most current, not on the market though - you need to go to dev's site.
[EVO 4G Q&A, Help & Troubleshooting] toggler:
yeah. ROMs it a good notice:

I dont have problems on the CyanogenMod 11 with battery drain
[EVO 4G Q&A, Help & Troubleshooting] dxjay:
okay so ive finally decided to root my phone (EVO 4G) sense is just so annoying and i miss the aosp feel <3 so i need YOU (xda) to help me with rooting my phone as my last attempt (cousins phone) i bricked it lmaoo i am familiar with rooting a droid 1/x/2 etc but htc seems to use a different way to root so yea

information on my phone:

im looking to install the salvage mod GB rom found here:

http://xdaforums.com/showthread.php?t=881557

and am looking to find the .zip thats flying around which changes the icons to green when connected to google servers! THANKS A LOT FOR ANYONE WHO HELPS ME :D I KNOW THERE IS COUNTLESS GUIDES ON THE WEB BUT AGAIN I FOLLOWED ONE AND WELL BRICKED MY COUSINS PHONE

IF YOU NEED ANY MORE INFO I WILL BE MORE THEN GLAD TO GIVE :D (except cc #'s :P)
[EVO 4G Q&A, Help & Troubleshooting] Stroid01:
Need to know what HBOOT you have...power off the phone then turn back on while holding the down button on the volume and power together. Once the bootloader comes up it should list an Hboot version. Knowing this will help determine what the best root method is. my guess is you have the latest hboot based on your info posted but we need to be sure.
[EVO 4G Q&A, Help & Troubleshooting] xlGmanlx:
need to boot into recovery and find out what your hboot is, once that is known just navigate to any of the HBOOT threads in the dev section and viola
[HD2 Windows Mobile 6.5 Themes and Apps] thetrooper70:
hi all im new to hd2 phone ive tried a few roms but they put things on i dont want like 3 clocks on home screen i like the stoc clock, i want to change the battery, signal, the wifi, speaker, start icons or just a theme or a skin just to change them and please make it easy im stupid lol thanks.
[HD2 Windows Mobile 6.5 Themes and Apps] jdpl@:
Hi Thetrooper70,

B4 all, you're not stupid my friend, you're just a newbie hd2 friend ;)

Now, the thing you're talking about is called "taskbar" which is the top bar of the screen where there is the start logo, "start", Wifi, Bluetooth, USB, band (G, 3G, H), signal strength and band, Volume, Battery.

There is a lot of diferent taskbar designs to suit all tastes, so the best thing you can do is search this great forum for get the one you like.

Here you can find some threads, but please read everything b4 act and don't forget to use the search tool for more, :D

http://xdaforums.com/showthread.php?t=671203&highlight=taskbar

http://xdaforums.com/showthread.php?t=679518

http://xdaforums.com/showthread.php?t=584531&highlight=taskbar

http://xdaforums.com/showthread.php?t=653881

http://xdaforums.com/showthread.php?t=624874

Enjoy your HD2 and Happy New Year!
[HD2 Windows Mobile 6.5 Themes and Apps] thetrooper70:
thankyou for the help just what ive been looking for.
[Epic 4G General] kidstechno:
Ok I've tried everything. I've searched everywhere.

No matter ANYTHING I do, I always get:

<ID:0/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> sph-d700-dk28-8g-rel.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> param.lfs

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Was originally flashing back to DI18 because I didn't quite like DK28 (which was flashed successfully on Sunday via Odin)

This is what I've tried:

1). Different USB slots

2). Flashing just SPH-D700-DI18-8Gb-REL.tar.md5

2.5) Flashing SPH-D700-DI18-8Gb-REL.tar.md5 + victory_8G_100528.pit (like in the wiki)

3). Getting rid of the .md5 at the end and trying to flash it

4). Flashing back to DK28

5). Using Odin 1.3, 1.61, AND 1.7

I'm completely lost. Even tried rebooting and still will NOT work. What am I missing? And Yes I put the .tar in the PDA section, not phone.

YES I've installed drivers as well.

YES I've only checked Auto Reboot.
[Epic 4G General] johnyardavid:
Have you attempted it on another computer? Also taking the battery out for awhile. Try to just flash something small, maybe dk28 modem and see if you can get that to work. Can you still get in recovery? If so flash noobnl's dk28.zip
[Epic 4G General] drakkahn:
You didn't swapping mention the USB cable. Are you using the stock USB cable? If so, it's crap. Yes, sometimes it will work...But it's not reliable.
[Epic 4G General] blutenchi:
Did you try redownloading your files? Maybe corrupt data... it's happened to me where I had to redownload the files I needed along with Odin. Just asking cause I didn't see you list it.
[Epic 4G General] irule9000:
dont give up

I had the same problem as you and I litterally switched my computer + usb cable and was able to solve. Make sure you are using 1.6 cause i see you are using a bunch of different ones. If you click on the word odin under steps it will give you a reliable odin and pit http://briefmobile.com/how-to-update-sprint-epic-4g-to-android-2-2. I know its 2.2 dont listen to instructions. Use the files from this link http://xdaforums.com/showthread.php?t=773032 di18 worked for me. Although .md5 shoule work .tar is more reliable. I know you did all this already but i find if you carefully retrace your steps you will use find the source of you problem. Also DONT FORGET TO RUN ODIN AS ADMIN. Dont give up on the one setttings on first try as it took me multiple runs to completely flash mine and lastly make sure the only thing you have checked is autoreset
[Droid Eris Themes and Apps] danielahl137:
ive been looking around for r2d2 ports but theyre only for the droidx. does anyone no where there is one for the eris? i want the lockscreen. i dont know someonce can try a make it?
[HD2 Android NAND Development] RaiderX303:
READ ALL OF THE OP BEFORE POSTING QUESTIONS​

The Intro;

Kind note to Devs;

Features;

How to use;

Video Tutorials;

Downloads;

Changelog;

Q&A;

Notes for devs;

Credits go to;
[HD2 Android NAND Development] Nismo300zx:
i think i just wet myself....thanks so much
[HD2 Android NAND Development] DroidTh3ory:
You have to be ****ting me!!! Great work!!! Soon... Nandroid Got Your Back. LOL.

---

Sent from my HD2 DROID.
[HD2 Android NAND Development] Kouno.Takaaki:
Great.

Sent from my HTC HD2
[HD2 Android NAND Development] mattfmartin:
@Raiderx

Is the rom manager support you are talking about the ability to flash different themes and stuff of that nature in recover mode? Also can we expect it in the future?
[HD2 Android NAND Development] Clom801:
This is now officially an android phone. Finally get to back up Roms awesome!!!!
[HD2 Android NAND Development] RaiderX303:
Rom manager support is an app that allows you to control the recovery from within Android and then reboot to recovery to run the commands
[HD2 Android NAND Development] jhr5474:
Hell Yes

How will I install roms and where will I get them I am confused!
[HD2 Android NAND Development] Clom801:
Rom manager is just the app that that you get from the market to flash without booting to recovery we could wait on that.
[HD2 Android NAND Development] scottydoguk:
what the doctor

this is progress and what ive been looking to add:)
[HD2 Android NAND Development] DroidTh3ory:
Just to clarify the instructions... Do we extract the Downloaded zip to the Root of the Sd Card then flash What ROM we will be using? Words in bold are my keys...

Thanks

EDIT: Scratch that.. I guess I should have opened the Zip first.

This is Bad Ass!!
[HD2 Android NAND Development] Scabes24:
Wow! My dreams have come true :D

Thanks!
[HD2 Android NAND Development] APJG:
Oh man, this is amazing! Any chance of Amon Ra at some point?
[HD2 Android NAND Development] jhr5474:
to cool

However I am confused about where I will get roms for this. Do I just use a nand rom and rename it update.zip? If so which files I am happy. Feels like the old G1 days. I am very confused about where to get the roms though.

HELP SOMEONE PLEASE!!!!!!!!
[HD2 Android NAND Development] mattfmartin:
@Raider x

What I was getting at, I always see native android threads talking about flashing themes through recovery. Well we be able to do that with this?
[HD2 Android NAND Development] RaiderX303:
Devs will need to release ROMs in update.zip format, there are none currently released although i am in the process of uploading one, you then copy the zip the dev provides to the root of the SD, and flash like you did on the G1

you will be able to flash themes using recovery once theme devs create them
[HD2 Android NAND Development] jhr5474:
SWEET!!!!!!!!!!!!
[HD2 Android NAND Development] Clom801:
+1 good question, are we clear to load nand roms already or do the devs have to modify what they have? I think I will wait until more clarification.

Edit: thanks for the clarification
[HD2 Android NAND Development] Ahmun_Ra:
What do u want from me? LOL As a matter of fact if i read this correctly this is almost what i need, a way to flash android ROMs without the usage of a pc (USB port). Can anyone tell me if it is correct
[HD2 Android NAND Development] DroidTh3ory:
Yeah, We need some ROMS converted to flashable.zip's... I'm goning to load up CW now just so I can see it. LOL
[Nook Color General] techboydino:
I saw the video, did the array of reboots. Only game so far I cant get fullscreen is Asphalt 5. I dont really care about it that much but I need some other stuff to test and see if compatibility mode is good or not. I just want to make sure before I buy some other stuff. Anyone else good with fullscreen except for Asphalt 5?
[Nook Color General] nrune:
Dungeon defender works fantastically well. it is absolutely beautiful.

sent from my nookcolor using the xda app
[Nook Color General] techboydino:
is that a game that would not usually be fullscreen unless you did the compatibility trick a few times?
[Nook Color General] supersoulfly:
U can test out Raging Thunder 2.
[Nook Color General] h8rift:
Get "spare parts" from Market. Uncheck "compatibility mode" and reboot. Then try the apps again. :)
[Nook Color General] techboydino:
Fullscreen. I guess its really just some apps that dont play well. Thanks for the suggestion. I assume this is not fullscreen before you do the compatibility mode trick?
[Nook Color General] supersoulfly:
It wasn't fullscreen for me until I did the spare parts trick. I never got Asphalt to run properly either.
[Nook Color General] ewong90:
Asphalt 5 works for me. Are you using an hd apk?
[Nook Color General] vap0rxt:
The official Tetris did not work before the "Spare Parts" trick. Works fine after.
[Galaxy S I9000 Accessories] marcon10:
any1 know where i can get a carbon fibre hard case to replace the back of the fone . the shell ? thanks
[Galaxy S I9000 Accessories] nicxus:
This was the closest I could find is from Samsung, its not real carbon fiber just well skinned plastic w/carbon fiber patterns. I actually bought it. Google 'Galaxy S t959 Hard Shell Case' it'll be the third main link on google.

Pros:

- Add some weight

Cons:

- Not real carbon fiber
[Galaxy S I9000 Accessories] ahmed4never:
something like this? h t t p://shop.brando.com/samsung-i9000-galaxy-s-twilled-back-case_p04943c1212d011.html
[Galaxy S I9000 Accessories] Freija:
I have this. It's not exactly a hard carbon fiber, its sort of a softish fabric like material.
[Galaxy S I9000 Accessories] mac-wac:
Does anyone know if it fits the international I9000 Galaxy S?
[Galaxy S I9000 Accessories] nicxus:
Im using it right now on my vibrant.