yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] spaxx24:
First time i USa APK manager, I think it all worked, i got the file. But I cant ADB push it..

The system cannot find the file specified.

Could Not Find D:\Files\Temp\APK\place-apk-here-for-modding\signedunsignedframework-res.apk

Could Not Find D:\Files\Temp\APK\place-apk-here-for-modding\unsignedunsignedframework-res.apk

The system cannot find the file specified.

The system cannot find the file specified.

cannot stat 'place-apk-here-for-modding\unsignedunsignedframework-res.apk': No such file or directory
[Galaxy S II Themes and Apps] wltklah:
Ok, I did the searching while my phone is on. Is it because my phone was on so I couldn't see the file???

---------- Post added at 09:22 PM ---------- Previous post was at 09:16 PM ----------

Sorry guys, problem fixed. I should just use file explorer on my phone to find the file. Somehow the file explorer on my PC couldn't find the file. Thanks anyway
[Galaxy S II Themes and Apps] paaaulo:
Did anybody managed to do it with JKay mod?

Whenever I try to use recompiled framework I got a bunch of forcecloses and finally a reboot.
[Galaxy S II Themes and Apps] Seifer1975:
No issue for me.
[Galaxy S II Themes and Apps] $omator:
useless mod to be honest

you can turn off auto brighteness and set it to some low one with even better theoretical battery gain

due no energy is used to read lux value and to change brighteness to match it...
[Galaxy S II Themes and Apps] edmondt:
Request :)

Modified framework-res.API for VilianROM 3

I think it will help a lot of people :)
[Galaxy S II Themes and Apps] ianoob:
The APK Manager has changed, now APK Multi-Tool. Option 22 now is a compression setting, what did it used to be?

*Update, I got it, it is "Set current project". Option 25 now.
[Galaxy S II Themes and Apps] xTee:
i cant decompile framework-res.apk :( it says "an error occured, check the log"

what can i do?
[Galaxy S II Themes and Apps] ianoob:
What does the log say?
[Galaxy S II Themes and Apps] xTee:
I have KI8 stock rom with JKay Theme.
[Galaxy S II Themes and Apps] ianoob:
You need to install the Java JDK platform

http://www.oracle.com/technetwork/java/javase/downloads/index.html
[Galaxy S II Themes and Apps] xTee:
is working, auto-bright changed. :D

thank you v much!
[Galaxy S II Themes and Apps] ianoob:
Welcome and enjoy!
[Galaxy S II Themes and Apps] ryankan1:
Quick question... Do I need root to apply this mod?
[Galaxy S II Themes and Apps] El Porcharo:
The thread has been posted in "Galaxy S II

Original

Android Development" therefore i don't think you need to be rooted.

Anyway, I've never used the auto-brightness function, I find it annoyng because sometimes it suddenly switch between levels even if you stand still somewhere but you sligthly incline your phone...

I always keep the brightness level to minimum, as I find it clear enough even for outdoor use (at least now on autumn, don't know if is the same for summer) but whenever I would need to change it, our I9100 has a really useful feature (some people might ignore it) that lets you change the brightness simply by sliding your finger throgout the status bar (auto-brightness must be unchecked) ;)
[Galaxy S II Themes and Apps] ianoob:
Depends on your phone. I have a Sensation and yes I need root and S-off to overwrite the framework apk on a ROM already installed and/or flash a new ROM with the mod in place.

But this works great for me and I'm assuming any phone with RW capability.
[Galaxy S II Themes and Apps] alexkno:
Hi,

when trying to recompile the framework-re from a jkay 13.2 theme I get following errors.

Has anyone an idea how to solve it?

ERROR: Failure processing PNG image D:\Alex\galaxy\apk tool multi\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_header_background.9.png

libpng error: Read Error

ERROR: Failure processing PNG image D:\Alex\galaxy\apk tool multi\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_background_focus.9.png

libpng error: Read Error

ERROR: Failure processing PNG image D:\Alex\galaxy\apk tool multi\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\drawable-hdpi\status_bar_item_background_pressed.9.png

and then hundreds of times this:

..\projects\framework-res.apk\res\values\public.xml:4095: error: Public symbol drawable/unlock_left declared here is not defined.
[Galaxy S II Themes and Apps] TomasNM:
That works on my Galaxy Note,but:

I tried these values...

<item>1</item>

<item>2</item>

<item>3</item>

<item>4</item>

<item>5</item>

...and the screen is still too bright. Any way to decrease brightness even more?
[Galaxy S II Themes and Apps] _JKay_:
In stock kernel these values will all become 20 in the display driver. Try a different kernel that supports lower brightness values.
[Galaxy S II Themes and Apps] neotekz:
digging up a old thread here but this is a great mod that im trying to get to work on my atrix. ive decompile, change array.xml and then compiled and adb pushed it to system\frameworks in recovery. everything works but once i boot up i get a bunch google force closes. reboot again and i get a bootloop. i also clear all cache and fix permissions before and after the push. anyone know what im doing wrong?
[Galaxy S II Themes and Apps] DragonRebornTester:
Will this work for Desire HD?

Will this work for Desire HD running Android Revolution 6.3.1?
[Galaxy S II Themes and Apps] ianoob:
the framework posted wont, but you can use the instructions to edit the one in whatever ROM you're running.

Modifying the op you can also edit the button lights, but with my sensation, effectiveness is tied to the kernel FYI.
[Galaxy S II Themes and Apps] DragonRebornTester:
Thanks ianoob! Appreciate it.
[Galaxy S II Themes and Apps] ohcie_evo:
just found another reason why I live miui, after following this guide to change the values I discovered that that miui settings allows me to change them under setting, as well as add more steps
[Galaxy S II Themes and Apps] dee163:
Unsigned framework-res.apk

Tried it, noticed the new framework-res.apk is smaller in size.

Is this normal?

I pushed the new file and it messed up my screen.
[Galaxy S II Themes and Apps] Christiaan91:
Same here. Gets into a bootloop. So i put the original framework back.

I'm running stock ICS. rooted ofcourse
[Galaxy S II Themes and Apps] tomurbanowicz:
In my version APK Manager, 22 is "Select compression level for apk's". What can I input now?

In my ICS, I use unsigned framework and it is working :) But I'd like to know about that "input 22".
[Galaxy S II Themes and Apps] alexkno:
the size depends on what compression level you have chosen.

Take care that no errors occur in apktool log

---------- Post added at 10:04 AM ---------- Previous post was at 10:01 AM ----------

did you use the latest (back-)smali (to be compliant to ICS)?

And did you check that there were no errors in log? Bootloop mainly comes when during repacking the apk errors occur (e.g if you flashed a theme with different png9 files etc...
[Galaxy S II Themes and Apps] Christiaan91:
I did have some errors:S I'm trying to fix it and it worked.

I changed the aapt en apktool for modified ones for ICS.

Solution

Is it possible to set the minimum brightness (30) lower? (so not the auto-brightness)
[Galaxy S II Themes and Apps] dee163:
Same here 10char
[Galaxy S II Themes and Apps] Christiaan91:
The Multitool wasn't working for me neither. I removed it and installed the older APK Manager 5.0.2

And i downloaded the modified aapt and apktool and replaced the ones from the apk manager from my post above.
[Galaxy S II Themes and Apps] dee163:
Tried it and still gives errors.
[Galaxy S II Themes and Apps] Christiaan91:
Can you post the error log? I bet its not the same as the last one.
[Galaxy S II Themes and Apps] dee163:
Will do.

Thanks for the help.

---------- Post added at 12:31 PM ---------- Previous post was at 12:16 PM ----------

I did the first step --- decompile.

This is the log

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

|Thu 03/22/2012 -- 7:24:37.28|

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

java version "1.7.0_03"

Java(TM) SE Runtime Environment (build 1.7.0_03-b05)

Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

Could Not Find C:\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk

Could Not Find C:\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk

I: Loading resource table...

I: Loaded.

I: Decoding file-resources...

I: Decoding values*/* XMLs...

I: Done.

I: Copying assets and libs...

Is this ok?

---------- Post added at 12:35 PM ---------- Previous post was at 12:31 PM ----------

REcompiled

|Thu 03/22/2012 -- 7:33:24.80|

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

java version "1.7.0_03"

Java(TM) SE Runtime Environment (build 1.7.0_03-b05)

Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res; found: en_US

aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res; found: en_US

aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res; found: en_GB es pt

aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res; found: en_GB es pt

aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Apk_Manager_5.0.2\other\..\projects\framework-res.apk\res; found: en_GB es pt

I: Building apk file...

The system cannot find the file specified.
[Galaxy S II Themes and Apps] Christiaan91:
Decompiling is good.

I got compiling warnings as well. AFAIK that's no problem. With me it worked this way. Just try it out (push to your phone) and see. (Don't forget to do #9 in the first post before pushing)
[Galaxy S II Themes and Apps] dee163:
I think it is working
[Galaxy S II Themes and Apps] tomurbanowicz:
In the Market there is the app "Lux Auto Brightness". This app set level of brightness below 0. How to set value "below zero" in framework?
[Galaxy S II Themes and Apps] Andrew0811:
Lux Auto Brightness didn't set your system brightness to sub 0 but applying some kind of filter above your screen.

if you take a screenshot you will know what i mean, or if you see some splash popup on your screen you will notice it brighter.

this is the same with juice defender's brightness.

what i know is the minimum value of brightness is 30, not less than that(I have yet to check galaxy s3's framework.apk).

we need to modify kernel to set our screen brightness below 30 like what most atrix 4g user did.
[Galaxy S II Themes and Apps] unqualified:
Just did this myself on an HTC phone, below is an update to the OP instructions using the current APK Multitool, with a little future-proofing in case the option numbers change:

Also, if anyone wants to know the adb push steps, here's how I installed w/ CWM Recovery

Install ADB from the Android SDK if you don't already have it (or mini-adb - search on xda)

drop the new file into same folder as adb (platform-tools), and rename 'framework-res.apk'

plug in USB, with debugging on

open command window in platform-tools (shift + right click in the folder)

type 'adb devices' to double check drivers are installed

type 'adb reboot recovery'

(wait for phone to reboot into CWM)

mount /system using CWM 'mounts and storage' menu

type 'adb push framework-res.apk /system/framework/framework-res.apk'

unmount /system

reboot and enjoy

If you screwed up your phone by setting the lowest brightness too low, repeat the above steps and start higher, like 20 or 25 (made this mistake on my mytouch 4g, had to set the minimum at 25 for the screen to not black out). When choosing brightness levels, divide by 255 to get an idea of the percentage (255 is full brightness). I.e., a setting of 25 would be 10% brightness. Good luck!
[Galaxy S II Themes and Apps] Shahzeb5444:
😞

Can I try this like

Decompile apk

Change values

Recompile with original signature

Zipalign
[Galaxy S II Themes and Apps] FrankHammer:
how about the lower auto brightness tweak in gravity box?
[Galaxy S II Themes and Apps] SpinyN0rman:
Any idea if this also alters the max/min levels that can be reached with the manual brightness slider?

I have a dodgy backlight that cuts out around 60% brightness and need to limit the backlight in all areas if possible.

Cheers!
[Galaxy S II Themes and Apps] SpinyN0rman:
In answer to my own question, "No" but those settings can be altered by editing the values inside the integers.xml file. Solved a slightly different problem but thank you to the guys who started this thread for helping me along the way :)
[Android Software/Hacking General [Developers Only]] donaldj83:
where are the majority of the webkit files stored after its compiled is it in one of the firmware jars or is it the libwebcore.so the file im changing is core/java/android/webkit/GeolocationService.java im compileing the entire android system but dont want to replace all of the files i just want to find the file i just edited if that makes any sence what so ever
[Android Software/Hacking General [Developers Only]] donaldj83:
any takers on this?
[Android Software/Hacking General [Developers Only]] donaldj83:
solved

i found it its apart of the framework.jar file so if your ever editing one file in the webkit its apart of the framework.jar
[LG Optimus 2x] death27:
After custom ROM installation, the phone doesn't connect to Mobile network. Wi Fi is OK. I changed several Firmware (CM 7 etc.) it doesn't work on any.

Moreover I can't install anything through SmartFlash, always the same error:

Trying to communicate with IFX modem, and then - timeout error.

What can I do to fix it?!! :((((
[LG Optimus 2x] death27:
KDZ_FW updater also doesn't work.

The same with LG Mobile update

:(
[LG Optimus 2x] gabrielecif:
hi, i am italian, sorry for my bad english.. but, i buy a 2x an next to hour to the first boot the phone have this problem !

i have tried all possibility, tool lg, smarthflash (ifx modem timeout...) NvFlash... at the end the shop have changed me the phone with new phone and i resolved my problem
[LG Optimus 2x] thatguychris:
Possibly apn changed? Mine does this go to settings> wireless&networks> mobile networks> access point names> and choose your provider from list and exit to see if you have data.
[LG Optimus 2x] gabrielecif:
version of baseband ??
[LG Optimus 2x] death27:
"Baseband unknown"
[LG Optimus 2x] zobodoor:
I had the same problem and it's because the APN went missing.
[LG Optimus 2x] temasek:
Turn off automatic time and see what happens ....
[LG Optimus 2x] death27:
I don't know how can I change my phone which is rooted and with installed unofficial software :confused:
[LG Optimus 2x] death27:
As for APN and automatic time, will try tomorrow.
[LG Optimus 2x] Neefy:
Sounds like you got the unknown 622 GB leak, download the 622 Europe BB and flash it, then get LG GetRil and get the 622 RIL, there you go.
[LG Optimus 2x] HerrKuk:
Have you payed your bill?
[LG Optimus 2x] death27:
Where I can get - "622 Europe BB" ?
[LG Optimus 2x] death27:
http://xdaforums.com/showthread.php?t=1140182

This one?

Anyway Smartflash doesn't work with my phone.
[LG Optimus 2x] Neefy:
http://www.mediafire.com/temasek

Here you go, p990 -> bb -> 622
[LG Optimus 2x] luka2858:
Maybe you should try 0725 for me it works better than 0622. Much much better.
[LG Optimus 2x] gabrielecif:
the phone show the battery charge ??

Try to flash with smartflash a baseband (try the 622) if smarthflash get error "IFX modem timeout" gives up and ask to 'practical assistance for the warranty. I have tried everything and I had the same problem, but it was useless!
[LG Optimus 2x] keshey:
same issue

it was all fine and dandy and since the past week the same ****ing thing happens over and over again. I restore backups, flash basebands, delete cache, dalvik, it keeps on happening. It started after i applied the optimization pack by paul
[LG Optimus 2x] death27:
So, finally I exchanged the phone under warranty.

Nothing helped to fix it. The phone shows baseband, battery charge. Everything looks fine, however it can't connect to network.

Now I have a new phone and don't have desire to flash it again :))))
[LG Optimus 2x] dedroidz:
Try another usb port then try to smartflash. Perhaps reinstall your drivers
[LG Optimus 2x] keshey:
Well i took it for repair and they changed the pcb. The refurb pcb would not come out of sleep. Currently they are processing a refund and i am enjoying my new SG 2.

So long folks and O 2x... good riddance my old milestone was better
[LG Optimus 2x] goatee:
I have that issue intermittently, when I turn on my phone it says "baseband unknown" and doesn't display the battery charge - it was horrendous on MIUI so I had to go back to Modaco GR1 - I don't suppose you have an idea do you?
[Focus General] baritoneguy:
I know I read it here, but I have searched high and low. Could someone please poiint me to the registry hive that will allow for the ATT rom to display 3G+ like the rogers rom does?

Thanks in advance
[Focus General] EnderPsp:
HKEY_LOCAL_MACHINE\Software\Microsoft\Connectivity\CellularCPL

add

Show3GToggle

Dword: 1
[Focus General] baritoneguy:
Thanks for the response, although this isn't what I was after. I get this one through the Samsung Tools. What I am looking for is the key that allows the phone to show 3G+, instead of 3G all the time. There was a thread here that showed how you could even make it say 4G or H or whatever 3 characters you wanted.

For the life of me I can't find it.
[Focus General] EnderPsp:
Ignore the space in the key name (that's the forum protection)

Also, you need to ADD the registry key entry if it doesn't exist.
[Focus General] baritoneguy:
Thanks again, however we are talking about 2 different things.

I already have the 3G toggle settings.

The one I am looking for is only cosmetic in nature. When I had the Rogers ROM loaded, the display would show either 3G or 3G+ if I had a faster connection. For some reason AT&T has disabled the showing of the 3G+

There was a post a while ago that showed the registry key to enable this cosmetic fix. I just can't find it.

Once again though, I do appreciate your efforts.
[Focus General] minori_aoi:
HKEY_LOCAL_MACHINE\Software\Microsoft\Connectivity\CellularUx\DataConnectionIcon

1XHSDPA = "3G+"

You can basically change it into anything (3 chars max.). And I prefer "H", instead of "3G+".
[Focus General] EnderPsp:
Ah, I misunderstood your request. You do have your answer above, though :)
[Focus General] baritoneguy:
Thanks for the responses. Message number 6 is the one I was looking for.

One question though, will this change it all the time or just when the actual network is in the H speed range.

With the rogers ROM, I would see 3G and 3G+
[HTC EVO 3D] SilverSuperman:
Hey everyone im looking for the stock rom that came shipped with my 3vo but rooted, ive looked around XDA for it but just cant seem to find it. Maybe im overlooking it or its buried somewhere. Im trying to watch The Green Hornet 3D for the first time that came with the phone but i dont see it in the SD Card. Can someone please direct me to a link with the ROM or a PM or if theres a different way i can go about this to find it, i would greatly appreciate it.:o:)
[HTC EVO 3D] r0cky0790:
-Stock ROM-

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

-stock SD card contents- (I believe this will get you green hornet, but don't quote me:))

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

Don't forget to hit the thanks button.;)

My "DU4L C0R3 SH00T3R" shot you down in 3D! -Security Off-
[HTC EVO 3D] r0cky0790:
Srry, double post.
[Xperia Play Q&A, Help & Troubleshooting] nick4nick:
I rooted my play' thanks 4 your help, wanted to get rid of some bloatware , but i think i deleted my I rooted my play' thanks 4 your help, wanted to get rid of some bloatware , but i think i deleted my live wall paper by accident. can help me 1 more time please!!!!!!! by accident. can help me 1 more time please!!!!!!!
[Xperia Play Q&A, Help & Troubleshooting] D.Spirit:
You can get them back from Market

Or just download another live wallpapers
[Xperia Play Q&A, Help & Troubleshooting] fma965:
I guess you mean the live wallpaper picker apk. get it from a system dump.

not sure y the guy above bumped a like 8month old thread

Fma965 - Forgottencoders.co.uk
[Hardware Hacking General] Aou:
Samsung Infuse (SGH-i997) Owners:

We've got it much easier when it comes to the JTAG header. As you can see in the picture below, the header is already attached to the PCB, and all we need is the connector board from "K-WW".

The large metallic thing on the left is the SIM card slot. The connector for the display (at the bottom of the picture) might be in the way. If it isn't we'll be able to connect to the JTAG and UART2 ports without doing any soldering or even disconnecting a single cable on the device.

We need someone to donate an Infuse to AdamOutler. He needs to remove the processor from the PCB to be able to find the xOM5 pad. This means destroying the phone, so it doesn't matter what the condition is. If it's bricked with a smashed screen and water damage, it doesn't matter! If you can help us with this, please speak up on this thead: http://xdaforums.com/showthread.php?t=1221064
[Hardware Hacking General] AdamOutler:
You don't NEED the board. The receptical itself with wires attached will attach to the header and you could close up the device with it attached. With the socket breakout board, the device would need to remain open. I would be searching for alternate UART points as well so the JTAG header would remain available.

Like I said.... I need device mainboards... they need not work. I'm not gaining anything directly from this except fruits of firmware development.... alternate OSs and open source bootloaders
[Hardware Hacking General] Rebellos:
Or, try to find 5 OM resistors while phone is being powered up.

3 should be 100.3kOhm resistance and connected to GND

2 should be ~10.1kOhm resistance and connected to VCC PDA (most likely exactly 2.8V, but 1.8V and similiar is also possible option)

These should be in row, or close to itselves. Then all whats left is guessing which one of the 3 is OM5. By some dangerous tests most likely, but with much smaller risk of damaging the board, comparing to complete CPU teardown.
[Hardware Hacking General] jerkysh:
aww dude, that's awesome....will try to do some of it on my cappy ; )
[Hardware Hacking General] AdamOutler:
On my device, all resistors are 100.3kohm.
[Hardware Hacking General] ronald11:
how to send the MB or how to fix my bricked phone GT-i8350
[Hardware Hacking General] bhundven:
Adam,

I've been staring at this document, the picture of the infuse and the sgh-t959v pictures from ifixit for a while and finally got the gumption to try finding the internal uart. Big thanks for this picture:

SGH-T959V Internal Uart thread.

Thanks again for all you do for the community!

-Bryan
[HTC Inspire 4G] HTCinspiration:
I started using the cm7 nightly's today & i'm getting different answers on which to wipe between nightly's. Cache AND Dalvick or just one of them? Some ppl are saying u only have to wipe cache, i've seen just Dalvick & i've seen both. I'd asssume both but don't want to go thru an extra step if it's unnecessary. Thanks alot guys
[HTC Inspire 4G] HTCinspiration:
Oh & is rom manager really safe to use? Can't i just use rom manager for the download & go into recovery manually & do it there? Thanks againe