yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] mcphantom:
Hello to everyone..

I live in Argentina and my carrier is Movistar.

I have a XT912 which bought it unlocked in the US.

The phone works flawlessly with the stock rom (SMS, MMS, 3G, etc)

Recently I installed CM10.1. It work very nice but I have to issues, I can't send SMS and 3G doesn't wort at all.

If I try to send a SMS it gives me an error even though I can receive SMS.

And 3G does not work even though I go to APN settings and enter the correct Movistar settings I copied from stock rom.

Any help will be appreciated...

Thanks in advance...
[Motorola Droid RAZR] heblu:
go into recovery, wipe cache and dalvik or flash another rom
[Motorola Droid RAZR] mcphantom:
I really appreciate you taking your time to answer.

I've done that several times. First times I always delete the rom slot1 then create it again and install the new nightly from CM10.1. Later I learned it isn't necessary that action so every time I install a new nightly I do what you recommend.

I try to use it frequently so the phone gets multiple reboots. I tell you this because lot of people says some things get fixed after some reboots.

Anyway if you get any new idea it would be very welcome.

Thanks..
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] Snowtrouper:
I'm sure that, when I first booted up, my GNote 10.1 n8010 would have a a nice blue glow around various button presses. The apps button top right for example. Now however it is just a blue square. It's the same on all the buttons available across the top of the screen and I can't work out if I'm just imagining it so can one of you guys, (preferably running never rooted stock ROM) give your buttons a glancing press please, to help me scratch an itch?

I've just flashed to stock ROM 4.1.2 without clearing or formatting any data and there's no change in UI. Still, perhaps not surprisingly still the same issue.

In the past I've rooted a handful of times but never installed any custom ROMs.

Assuming I'm not imagining it, do any of you clever folk have a fix I can use or a lead on finding one? I have a bee in my bonnet. :laugh:

Thanks,

Snow
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] Snowtrouper:
Brain is itching...

If you read this and your icons are the blue glowing type please can you just confirm for me? Just so that I can stop driving myself insane over it. I've searched all over the shop and can't find anything on it.

Thanks, :)
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] kcrudup:
Perhaps you were probably running ICS when you first bought it and now it's been upgraded to JB?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] Snowtrouper:
Thanks Kenny, I did update to the latest firmware after buying my Note so maybe that is it. I really like that blue glow effect over the current ugly blue block background. It can look really messy, almost glitch-like if you use a wallpaper that doesn't go well with the mud blue they used.

I'm wondering if there is a way to theme this stuff myself. I assume there is else there'd be no custom ROMs about. Can anyone please point me in the general direction of where I can learn how to do this?
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] JJEgan:
Themes and Apps section . XDA Android XDA Android Hacking XDA Chef Central forums .

jje
[Android Q&A, Help & Troubleshooting] rajit:
Soled
[C++ or Other Android Development Languages] dk_zero-cool:
So I am working on a Root Framework Tool used to create Android Root Applications. During this I found one strange issue. Whenever I attempt to output /proc/mounts from ProcessBuilder, I get it returned in reversed order. In the ADB shell there is no problem. Also 'df' bases it's output on a reversed /proc/mounts output when executed from within Java.

My question is if anyone has any idea why? This is the only file I have this problems with, other files in /proc like filesystems, devices, swaps etc get's returned in the same order as when using an ADB shell.

The issue is easy to fix as I can rearrange the output again, but only if can be sure that this is a constant thing which affects all devices, otherwise I will just create the issue on other devices. So far I have only been able to test this on two Android 4.2 devices, so I am not sure if this is a side affect of Android's new multi-user feature (Which uses some new mount features not used in older versions).

The problem with this is that the order of /proc/mounts decides which folder is attached to devices and which are bind mounted to other folders. A reversed list will give incorrect feedback about mount locations.
[C++ or Other Android Development Languages] dk_zero-cool:
After checking further I saw that it is not a reversed list, it's more like an ordered list.

Original:

* /dev/block/mmcblk0p12 = /data

* /dev/block/mmcblk1p2 = /sd-ext

* /dev/block/mmcblk1p2 = /data/app

From Java:

* /dev/block/mmcblk0p12 = /data

* /dev/block/mmcblk1p2 = /data/app

* /dev/block/mmcblk1p2 = /sd-ext

It's like it has been ordered based on locations, which makes it even harder to create a fix for.
[C++ or Other Android Development Languages] ramdroid77:
/proc/mounts is accessible without root, so can you just read it with a FileInputStream, can't you?
[C++ or Other Android Development Languages] dk_zero-cool:
That gives the same result. It seams that each app process in general gets another version of the file.
[C++ or Other Android Development Languages] ramdroid77:
oh well, that's really strange... Doesn't make any sense at all.... :p
[General Topics] tomski:
I know yahoo groups are a great place for "free" software. does anyone have any other good sources?

no flame or hate, i don't care about what you say, so don't waste your time
[General Topics] LumpiStefan:
Try:

http://ppcf.mklabs.com/

Stefan
[General Topics] Tekflow:
Take a look at:

http://www.armadillo.trousers.btinternet.co.uk/ppcfree.htm

and especially at:

http://www.pocketpcfreewares.com/en/index.php
[General Topics] Rudegar:
how is your difference between "free" and free defined ?
[General Topics] plop:
found some . . .

http://www.freewareppc.com/graphics/ultrag.shtml

http://pda.tucows.com/pocketpc.html

http://www.freewareppc.com/

http://www.pocketpccity.com/software.html

any others????
[One (M7) Android Development] he_stheone64:
This guide assumes you already know how to use apktool and use latest 1.52 version. If you don`t, there are plenty of guides already on XDA.

Latest Sense 5 com.htc.resources.apk and apktool are not great friends. Actually there is a long history of compile issues with this file, but also I managed to fix it usually in the past. I stumbled about some theme threads, who were correctly complaining, that they can`t fully finish their work, since many essentially stuff in HTC`s framework can`t be themed, since com.htc.resources.apk can`t be compiled and as a result many color themes remain incomplete.

So I had a quick look and here is the workaround, which is tested and works.

For those having other apktool issues, it also might pay off looking in my One S apktool issues thread, maybe you will find some ideas to solve other problems.

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

Credits:

brut for his awesome apktool

hdneuling for being a great tester and guy

1. First thing you will recognize, when decompiling the "nice" way, apktool will miserably fail. So let`s be the bad guy and brute force decompile :cowboy:

2. Decompile com.htc.resources apk with the following:

java -jar apktool.jar d --keep-broken-res com.htc.resources.apk com.htc.resources-decoded

This ignores all errors and decompiles the apk

3. Since the real issues here in reality are only very minor dimens decompile problems, you can now simply delete all unneeded folders with an ERR at the end.

4. Make all necessary edits

5. Now compile the apk as usual, there are different ways to do it - I compile with

java -jar apktool.jar b com.htc.resources-decoded

6. Flash and enjoy your work :D
[One (M7) Android Development] he_stheone64:
Had to look into it, Helmut was desperate :D
[One (M7) Android Development] hd2neuling:
Great Job, and o.k., feeling guilty now :silly:

LG, Helmut
[One (M7) Android Development] fernando sor:
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
[One (M7) Android Development] mwilky:
Yep font size was stuck at medium aswell no matter what we set it to
[One (M7) Android Development] hd2neuling:
i´m running a pretty heavy edited com.htc.resources.apk on my One since yesterday and didnt notice and afaik he_stheone did the same since yesterday.

Of course we have to have a look at "maybe problems", but it´s good to have a solution to de/compile it now i think :cowboy:

LG, Helmut
[One (M7) Android Development] he_stheone64:
Hi Fernando, we will watch behavior going forward on Sense 5. So far we still could not find negative side effects. But we surely keep an eye on it.

Sent from my HTC ONE - powered by TrickDroid
[One (M7) Android Development] fisha21:
Nice work, thanks for sharing. Have to say, you and Helm are really blazing the way with One theming!

Did try this approach with the Sense4.5 resources, could never get the apk to compile after deleting the _ERR folders, but I'll definitely give it a try with Sense5
[One (M7) Android Development] hd2neuling:
Fisha, where are you?

We need your skills on the One :fingers-crossed:

LG, Helmut
[One (M7) Android Development] fisha21:
Nah, you guys are doing a great job. I'm enjoying just being a user for now :D
[One (M7) Android Development] fernando sor:
Haha yes those of you lucky enough to have the phone! 8 days for me.
[One (M7) Android Development] hd2neuling:
Small Update:

Was running 4 different edited versions com.htc.resouces.apk, until yet, and no problems noticed, of course i´m still watching on it :fingers-crossed:

LG, Helmut
[One (M7) Android Development] fernando sor:
That's awesome. Hex editing is not as fun.
[One (M7) Android Development] steal25:
First off, Nice find!! So far the only ill effect I'm noticing is the fonts in settings/display, gestures and buttons doesn't function properly. it changes the font size in certain areas but not system wide like it should. this is the same error we had before, and maybe its because im using the port rom for Evo LTE. I'm looking into it but we couldn't find a resolve for this before.
[One (M7) Android Development] steal25:
double post.
[One (M7) Android Development] fisha21:
Just to confirm, this is also the case on the One ROMs themselves as well, not just limited to ports.

To see it clearly, just go into Settings/Display, Gestures and Buttons, and try flicking between small and extra large fonts. When you go back out into the main Settings menu, the font size doesn't change as expected.

Did try to get around this by compiling the images, and dragging them into the stock resources apk. If you do this without renaming some of the 9.pngs back into r.9.pngs, you get SysUI FC, and a messed up lockscreen. With those corrections made, everything boots fine, but Dialer FCs and several Settings menu options also FC.

Next thing to try is using villaintheme to insert the altered pngs directly on-device....

Edit: yup, using villaintheme seems to give the best result. No app FCs and no text resizing issue. Just means we still need to hex edit to change any of the values xmls.

At least the recompile workaround gives us a way to easily test resource edits. Thanks again for the heads up!
[One (M7) Android Development] steal25:
no problem, Ive dug in settings and com.htc.resources and see no link in the two. Not arrays, dimens, nothing. all the arrays and sizes for the different fonts are in settings so i dont understand why that would be affected. If i find afix/workaraound ill post it here.
[One (M7) Android Development] hd2neuling:
Noticed the fontsize-problem before de/compiling com.htc.resources.apk too, dont know if it works on Stock because i never booted Stock ^^

Besides this, my edited com.htc.resources.apks are still working without problems, even with ROMs based on 1.29.401.1/2 :)

LG, Helmut
[One (M7) Android Development] Bebida:
This will no doubt come in handy. Thanks :D
[One (M7) Android Development] hd2neuling:
Bebi my friend, bit lazy atm?

Didnt see anything of your great work on the One until yet :(

How did he_stheone say? "Gentlemen, start your (themeing)engines!" :silly: :laugh:

LG, Helmut
[One (M7) Android Development] Bebida:
On my 3rd device my friend however this one is the one so will be rooting today! :cool:
[One (M7) Android Development] he_stheone64:
Then enjoy the ONE :cowboy:
[One (M7) Android Development] fisha21:
I recall wilky digging into that link with the fixed Sense 4.5 resources (fixed by yourself, I believe?) with no joy.

Did notice one thing, not sure if it helps: if I set font to extra large using the recompile resources apk, then flash the stock apk, when I reboot the font is all extra large. So there must be something in Settings that requires a hook in resources, which is missing in the recompiled apk....perhaps in those deleted ERR folders I guess...
[One (M7) Android Development] steal25:
there has to be a link, ill dig a little deeper. I get my ONE on friday, I'm exited, Theres a lot of talent in this forum!
[One (M7) Android Development] steal25:
I think here is our problem with the font sizes in settings/ com/android/settings/framework/core/display/HtcFontSizeManager$FontSize

i see this

const-string v1, "SMALL"

const v4, 0x3f59999a

const-string v5, "[B][COLOR="red"]values-xxhdpi-sfont[/COLOR][/B]"

invoke-direct/range {v0 .. v5}, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;-><init>(Ljava/lang/String;IIFLjava/lang/String;)V

sput-object v0, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;->SMALL:Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

new-instance v4, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

const-string v5, "MEDIUM"

const/4 v6, 0x1

const/high16 v8, 0x3f80

const-string v9, "values-xxhdpi"

invoke-direct/range {v4 .. v9}, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;-><init>(Ljava/lang/String;IIFLjava/lang/String;)V

sput-object v4, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;->MEDIUM:Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

new-instance v8, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

const-string v9, "LARGE"

const v12, 0x3f933333

const-string v13, "[B][COLOR="red"]values-xxhdpi-lfont[/COLOR][/B]"

move v10, v3

invoke-direct/range {v8 .. v13}, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;-><init>(Ljava/lang/String;IIFLjava/lang/String;)V

sput-object v8, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;->LARGE:Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

new-instance v5, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

const-string v6, "EXTRA_LARGE"

const/4 v8, 0x5

const-string v10, "[B][COLOR="red"]values-xxhdpi-xlfont[/COLOR][/B]"

move v9, v15

invoke-direct/range {v5 .. v10}, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;-><init>(Ljava/lang/String;IIFLjava/lang/String;)V

sput-object v5, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;->EXTRA_LARGE:Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

new-instance v9, Lcom/android/settings/framework/core/display/HtcFontSizeManager$FontSize;

const-string v10, "HUGE"

const/4 v12, 0x6

const-string v14, "[B][COLOR="Red"]values-xxhdpi-xxlfont[/COLOR][/B]"

if you notice the medium font comes from the standard values-xxhdpi folder

the other sizes are being called from the "font" folders which i assume is gonna be the ERR folders in resources. We can work around this and redirect the folders to unused language folders. Ill see what i can come up with. Ill also make mention in the apktool thread and see if support for these new folders can be added.
[One (M7) Android Development] he_stheone64:
Or we just rename the err folders accordingly and check whether the apk compiles.

Sent from my HTC ONE - powered by TrickDroid
[One (M7) Android Development] steal25:
Sent from my EVO using Xparent Red Tapatalk 2
[One (M7) Android Development] steal25:
There's ERR folders with dimens and and folders with integers, I'm pretty sure the folders with dimens would be the font folders, I haven't found reference to any other new folders, so not sure what the integer folders would be. I'll try renaming and compiling when I get off of work.

Sent from my EVO using Xparent Red Tapatalk 2
[One (M7) Android Development] he_stheone64:
It does not work yet, until we don`t know the correct names or get a working aapt for these new folders. In any case we can at least still mod stuff and live with the fact, that font resizing does not work properly (which most users don`t need anyway) or still hex edit. I will still check for other solutions, but it will not be a quick and easy one.
[One (M7) Android Development] Kiray1982:
tried to compile current trickDroid 4.0 com.htc.resources.apk...

decompile works with --kepp-broken-res. but compile fails with some errors i didnt understand.
[One (M7) Android Development] he_stheone64:
Just delete all values folder with -ERR at the end and it will compile.
[One (M7) Android Development] Kiray1982:
i used my old decompile routine with apktool d -s ***.apk

without using -s it works.

THX
[One (M7) Android Development] elol:
Can this tool will complie or decomplie app jellybean?
[One (M7) Android Development] he_stheone64:
Apktool works out of the box for JB, as long as you install proper framework with if command.

Sent from my HTC ONE - powered by TrickDroid
[One (M7) Android Development] stmilosh:
Just tried it with com.htc.resources.apk from stock 4.2.2 (deoxed one which is unmoded in most 4.2.2 ROMs) and after decompiling and removing ERR folders compile works nicely.
[One (M7) Android Development] JohnCorleone:
Thanks for bumping this thread. I have a feeling it may help me out more than a little bit.:thumbup:
[One (M7) Android Development] he_stheone64:
Just be aware this will break font resizing in settings, which I personally don't mind anyway. If you want to avoid it, just hex edit resources.arsc (in case you edit colors.xml). Just note that colors are reverse in hex, so 33 b5 e5 becomes e5 b5 33.

Sent from my HTC One - powered by TrickDroid
[One (M7) Android Development] Tabtoub:
I used this method (thank you he_stheone64 :)) to decompile com.htc.resources.apk from ViperOne 1.0 rom, the decompile went fine, I deleted ERR folders and made my edits to res/values/styles.xml but now I can't compile, I triend like 10 times with no luck, I get this error log

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNo
tExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:1
03)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)

Am I supposed to get a file called "apktool.yml" in decoded directory? like in VTS? because after decompiling, I only get res folder and androidmanifest nothing else..

Please anyone could help me? I'm using Windows 8 x64 bits, with SDK and java both installed, I decompile/recompile daily with VTS without problems..

Thanks in advance
[One (M7) Android Development] nemanja.bgd:
I decompiled, editid values-hdpi(dimens.xml),recompiled com.htc.resources.apk, but still getting FC when i try to open settings/display. Every value is correct.

Does any have idea what went wrong and how to fix that?

(deleted error folders, edited values/layouts.xml and public.xml).

Thanks.
[One (M7) Android Development] fernando sor:
It is probably due to your edits. What is your logcat say?
[One (M7) Android Development] Mikhei777:
Could somebody post fixed framework-htc-res.apk from 1.29.401.16 ROM?
[One (M7) Android Development] Magpir:
anyone know if the htc power saver can be modified to wake up radios alter and to sleep radios earlier?
[One (M7) Android Development] Bellitsch89:
hello, i will decompile HTCDialer.apk but it will not work.... Any Tips?

Thanks

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Orkus\apktool\framework\1.apk

I: Loaded.

I: Loading resource table from file: C:\Users\Orkus\apktool\framework\2.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

I: Baksmaling...

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars

c file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes

ources.java:540)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav

a:76)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav

a:68)

at brut.androlib.Androlib.getResTable(Androlib.java:51)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)

at brut.apktool.Main.cmdDecode(Main.java:148)

at brut.apktool.Main.main(Main.java:77)

Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000

at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:219)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167

)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10

8)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

... 8 more
[One (M7) Android Development] paarthdesai:
how's this in android development... O.o
[One (M7) Android Development] ButtChugger:
No
[One (M7) Android Development] Szwajowy:
Hey, i need help.. Did someone know where i can find the color of text in notifications... ?

Wysłane z mojego HTC Desire X przy użyciu Tapatalka
[Sprint Samsung Galaxy Note II] kroewe:
Should read... Setting reminders

Does anyone know why when I tell svoice to set a reminder it tells me this device does not support this feature?

I'm pretty sure it does from all my reading and searching the threads I've found several talking about setting reminders and the one have mentioned being told the device does not support this feature.
[Samsung Galaxy Nexus] tshelby73:
The voice dial feature of Google search using Bluetooth is not working correctly after update on 4/3/13. If I use my Bluetooth button to make call it brings up the command screen then goes to home screen. In background you can sometimes hear it but it's on phone not through Bluetooth. If I uninstall the update it works fine.

Anyone else having this problem or a fix.

This happens on cm10 stable and stock 4.2.2

Thanks
[Samsung Galaxy Nexus] tshelby73:
Seems latest update after Google io had fixed the issue