yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] krzych:
Thank you. So I have nothing different than you at all. That's good ;)

Yep, confirmed above.

It's almost 100% camera.apk's fault. Its HTC, not the ROM (I mean, not the ROM customised parts).

The only explanation with possibility of your thesis (that apk is ok, and tries to save setting) would be permissions or different data structures, but then it is still apk's fault because it would not detect that something's wrong. Application should always know that it read the data or not. And still - when you quit camera nad run it again, setting IS CORRECT, but has NO EFFECT, so data WAS READ. And that's why I'm teklling that apk does not initialise driver/hardware with it's read setting from last session, but when you re-set this setting, it is passed to hardware flawlessly.

Or we mean not the same data - maybe "driver's data"? (whatever it means)
[Desire HD Android Development] hamdir:
mate i tried the camera.apk from official sense 3.12, same problem its not apk related it "save" related, probably database issue or maybe laypota's panorama hack is related
[Desire HD Android Development] krzych:
I believe you, but look above what I written about the apks behavior...

It's rather strange. Are you sure this apk from other versions are OK? Maybe you just dodn't noticed this bug before? (I'm not taking picture so often to tell this)

If it was the "db issue", apk would not know the previous setting and it DOES KNOW. It is still set to -2 after rerunning apk.
[Desire HD Android Development] shithead:
Got my random reboot again. I notice it reboots always in the morning after charging the whole night and while my phone is still plugged in.

Previous night I didnt charge, but didnt have random reboot.

I think there's something with long charging :-/
[Desire HD Android Development] krzych:
What is this "panorama hack" anyways? I see no difference in my camera since Froyo... am I missing something?
[Desire HD Android Development] hamdir:
enables working panorama mode

im contemplating restorong my v2.2.5 data...to see if i face less issues
[Desire HD Android Development] 112.bkt:
Please JSL can you look into this UK locations bug its driving me nuts I have tried everything and no luck currently on fresh ROM install no mods and still this problem..

I thought it was just the flip clock widget but when I open HTC locations app it says I'm in china :o

EDIT: apart from this bug I have had no issues with this ROM whatsoever :) best battery life aswell
[Desire HD Android Development] krzych:
Lol, could you be more specific? :D i know what "panorama" means, so i wasn't asked about this but wher/how/download link or something ;) (of course if its real panorama mode and not the "wide screen" only)

Hmm, it may be good idea, but... what if you won't have issues - will you refuse to update to any new ROM? (assuming the new base is causing it). Maybe it's better not to check this one ;P.
[Desire HD Android Development] makbil:
I always charge my phone at night and haven't had this issue yet.
[Desire HD Android Development] 112.bkt:
Which is the best program for replacing files before flashing the ROM file ER3BUS_XL3.zip for example; I want stock framework-res.zip and hamdir's Ultrasmooth Rosie inside ER3BUS_XL3.zip before I flash but everytime I have tried this with WinRAR I have had a non flashable ER3BUS_XL3.zip file anyone can help ???

* its not a big deal but it would be nice to have these things upon first flash :D
[Desire HD Android Development] hamdir:
mate stock framework in the first post and my mods in here including better looking stock % battery
[Desire HD Android Development] 112.bkt:
Thanks mate but I am not asking for these files lol :o I already have them.. I am asking how to put these files in the ROM zip file before flashing it and what's the best program to use because I always screw it up ;)
[Desire HD Android Development] krzych:
Is the framework-res responsible for "quick settings" too? (if so, I won't use your pacth, because I really need those customised sttings).

By the way, is there any "modmaker starting guide"? ;P :) i would like to help with system modding but I don't know where to start at

[EDIT]

I've found /etc/init.d/ and scripts inside... there is written that those scripts are for Virtuous ROM - is this ROM based on Virtuous or just simply scripts are borrowed?

[EDIT]

What is this for:

rm -r /data/data/com.android.browser/cache

mkdir /app-cache/com.android.browser

chmod 755 /app-cache/com.android.browser

chownto /app-cache/com.android.browser /data/data/com.android.browser

mkdir /app-cache/com.android.browser/cache

chmod 755 /app-cache/com.android.browser/cache

chownto /app-cache/com.android.browser/cache /data/data/com.android.browser

ln -s /app-cache/com.android.browser/cache /data/data/com.android.browser/cache

rm -r /data/app-cache

Any other ROMs needs to clean the caches too? Wouldn't it be faster for the ROM if the caches would be untouched?

[EDIT]

ueventd.vision.rc

ueventd.spade.rc

ueventd.rc

ueventd.goldfish.rc

init.vision.rc

init.spade.rc

init.rc

init.goldfish.rc

Isn't it "multi device" configuration?

[EDIT]

ro.setupwizard.mode=DISABLD

spelling? (same was in LeeDroid)

[EDIT]

dalvik.vm.dexopt-flags=m=y

Hmm, will this work at all?

[EDIT]

besides ls -al not woring, another one:

bash-3.2# mount /system -o remount,rw

Usage: mount [-r] [-w] [-o options] [-t type] device directory

bash-3.2#

This busybox is really strange
[Desire HD Android Development] hamdir:
use rom cleaner to add and remove wat u want

@krzych SystemUI.apk is responsible for quick settings, good questions we need JSL to answer them

ok that was a nice waste of time! i restored v2.2.5, same camera problem, sharpness -2 not sticking
[Desire HD Android Development] tmh:
Join the club of time-wasters mate :P I spent about an hour doing a full backup, full wipe, restoring ARHD, testing call, full wipe, restoring ER3BUS last night - which could've been avoided, had I bothered to try and make another call on my girlfriends phone :D

---------- Post added at 03:31 PM ---------- Previous post was at 03:27 PM ----------

Take the ROM .zip and open it with WinRAR (haven't tested with other archiving apps), navigate to /system/framework and drag'n'drop the framework-res.apk file you want to use into said folder. If you want to replace other files, navigate to their respective folders and do the same. That's how I've "customized" my ROM's before installing them for a long time and it works great :)
[Desire HD Android Development] krzych:
Right, my memory sucks. Thank you :). But by the way - framework.res is modified by you and I assume its original is from this rom exactly, not any other one?

Told you it's apk ;P Next time listen to me ;P

[edit]

htc book reader's (or somewhat similar in sound) drm eats up very large amount of CPU time (98-99%) right after boot, which causes real big lag. It lasted at least few minutes. I was able to run sshd (from gui by finger) and log in/log out twice while it was still hapening.
[Desire HD Android Development] hamdir:
the one in my post is modified battery % app
[Desire HD Android Development] krzych:
Heheh, you are not reading or I'm not writing well - I've asked about original framweork-res source before you modified it - was it from this rom or from any other like ARHD or so... I want to be sure to have compatible framework-res before I'll swap it :)
[Desire HD Android Development] tmh:
Unmodified framework-res.apk is in the second post of the thread :)

http://www.driphter.com/downloads/JSL/Droid/Rom/Mods/Er3BuS_3.x_Stock_framework-res.zip - no battery % or anything.
[Desire HD Android Development] hamdir:
you are not writing right ;)

the original framework file in the second post of ER3BUS v3.x is posted by JSL its the stock file of this base

my mods are based on this file it adds battery icon and overscroll glow

they are all based on this v3.x sensation XL (codename: runnymede) base 1.22.461.2

can we go at the issue at hand please :D

htc camera is not saving the sharpness setting we need JSL or lyapota's feedback on this
[Desire HD Android Development] krzych:
I'm trying ;P :D I'm not native english speaker as you know ;P

Thanks for the answer both of you, flashing NOW! ;)
[Desire HD Android Development] Patrics83:
You should have a look at my tools ;) Link in signature...

Absolutely the fastest way to customize your ROM.... If you ask me :p

Sent from my GT-P7510 loaded with ICS 4.0.3
[Desire HD Android Development] krzych:
Emm, I don't know why, but after flashing I have no glow nor battery icon modified... Tried twice... what can cause this?
[Desire HD Android Development] hamdir:
here

http://xdaforums.com/showpost.php?p=20914412&postcount=449
[Desire HD Android Development] tmh:
Weren't you looking for the unmodified framework-res.apk or am I getting it all wrong? 'Cause that's what I linked to :P
[Desire HD Android Development] hamdir:
yeah mate krzych is trying to drive us crazy :D
[Desire HD Android Development] 112.bkt:
Put simply I just want to replace two files in the ER3BUS_XL3.zip that's all, I have tried WinRAR but I messed it up.

Thanks Patrics83 but on your thread it says that replacing framework-res with the Mods & App Installer causes problems this is one the files I want to replace.
[Desire HD Android Development] krzych:
I flashed _exactly_ this - fifth link. Its filename is "Er3BuS_3.x_stock%BAttery_Framework-res%2BGoverscroll.zip"

Naah, I know, I didn't flashed yours, yours is just in case (like this one).

Yep, of course, I'm the bastard ;P

But seriously, I have nothing expected - no glow, no icon change (if I get it right, the icon on the op of the screen - a bar - should change)...

Any ideas? (flashing third time, maybe something really went wrong and mismatched files, but I can't believe this...)
[Desire HD Android Development] 112.bkt:
@krzych

You must have another mod installed thats causing you this problem do you have lyapota_Tweaks_ER3BUS_XL3 or something similar installed? I had a similar issue a while back with two incompatible mods i.e. one would overwrite the other.
[Desire HD Android Development] hamdir:
try it from here, mount /system before you flash (although u shouldnt need this)
[Desire HD Android Development] Patrics83:
Well, ignore that :p was it in the guide?

Just make sure you don't flash it before first boot...
[Desire HD Android Development] krzych:
No mods besides SystemUI quick settings, but this should not cause collision

I don't need another same file, checked md5 - three files IDENTICAL. It's the mod itself or way of flashing - trying with mounting /system... if clockworkmod allows it...

[EDIT]

Baaaaaaaah! I'm stupid!!! I've expected your patch iwll add overscroll glow in app drawer too!!! :P Gosh, now when I tried to reboot with quick settings, overscroll glow attacked me! :P Is this ONLY and ONLY quick settings/taskbar overscroll glow? :D

And about battery icon - what should have change? Maybe something I could overlook? (I'm charging now, and tehre is a lighning sign, and when disconnected there's battery with green background and 95 WITHOUT percent sign...)
[Desire HD Android Development] tmh:
Never had issues by flashing mods before first boot, just sayin' :) And the tweaks by lyapota don't conflict with hamdir's battery mod, as one modifies framework-res.apk and the other modifies Mms.apk, Settings.apk, SystemUI.apk and Tweaks.apk. If you have some sort of theme installed, that might mess something up though.

@krzych: It sounds rather weird that it's not working for you, but as hamdir suggests, try mounting /system manually in recovery, before flashing the mod. Maybe even clear dalvik cache, although I don't think that should do anything for or against it working.

Edit: CWM should allow you to mount /system. And just to make sure, you're booting to recovery, then flashing the mod manually, right? ROM Manager at least, is well known to cause issues if you flash stuff from within it.

@112.bkt: In no way am I trying to sound rude or like a smartass or anything, but how can you mess up simply replacing one file with another, inside a .zip file? Just make sure you're in the correct sub-directory and drop the file you want to add/replace with, in there, then WinRAR replaces and zips it up again for you, right away. I have no experience with ROM Cleaner, so can't help you with that one, sadly.
[Desire HD Android Development] hamdir:
@krzych this my last reply mate, ur driving me mad, overscroll glow is the Gingerbread AOSP effect you see in sub menus

as for the battery percentage its improved font size and definition compared to the one supplied with E3RBUS v3.x

now can we switch the dsicussion to the camera problem, i installed SQlite editor but it can't find the HTC camera database
[Desire HD Android Development] krzych:
Can't be done, I'm already after hundreds of boots ;P

No themes.

I know it's very weird, and yes, booting into recovery then choosing a zip, then flashing, then reboot. Never cleaned dalvik - I'll do it this time.

---------- Post added at 05:29 PM ---------- Previous post was at 05:19 PM ----------

Didn't mean to. I'm not so experienced user/modder as you, so excuse me, but I will stay dumber.

So maybe this is it. I see glow in quick settings - it seems like sub menu, but I'm simply not sure - I had NOTHING to do with android GUI before. And as my eyes are not so good as I'm computer addict/developer since 1986 at least, I can overlook a little change in font size.

I see no point, HTC have to repair the Camera application or some hacker have to change the binary, that's all. You can also change Camera apk to older if it suits you and/or the system (if won't force close). I won't switch, it's too unstable way.

But there are many many more little questions which you agreed with me someone should answer and which _can_ be easily fixed. So forcing the discuyssion topic is hmm, not quite good. You made your point about camera, we made it too. Now we wait (me especially) for solution. Or can you disassemble android java application?
[Desire HD Android Development] tmh:
Well it doesn't sound like it's necessary, after reading one of your previous posts. Didn't you already have the green overscroll? If yes, then you have the battery mod too. The difference between the default battery % mod and hamdir's is, that the default one has a larger font (pretty much fills out the height battery indicator) in plain white numbers with no borders around them, while hamdir's mod has a smaller font (taking up about half the height of the battery indicator), with white numbers, but with a black border around them.

Edit: The overscroll can be seen in pretty much any app where you can scroll up and down, and in all the Settings menus and sub-menus, so that would be where to look for them - everywhere but the app drawer :) Try going to the Quick Settings in the notification pulldown menu, it should be pretty easy to spot the green on the white background there.
[Desire HD Android Development] krzych:
"Sorry, you are limited to 8 thanks per day" - I will click it tommorow ;P. Thank you, this is all what I've expected to hear from the hamdir, a constructive answer making me sure what I did or did not.

And yes, I have glow, and yes, app drawer has no glow (which I expected because LeeDroid had), and yes, there is a black border on battery icon and probably smaller font (which does not make me happy, I'gve rather expected more readable one, so bigger one), so now I'm sure flashing went prefectly fine (@hamdir - three times - it's not like I wanted to waste your time, but I wasted MINE too flashing three times, checking, posting, etc.).

Thanks mate, I will remember your patience and will return one day for sure :).
[Desire HD Android Development] makbil:
If you want a really good readable battery icon I suggest JazzK from the UOT Kitchen. I do it for every ROM I install.
[Desire HD Android Development] krzych:
Good idea. I've seen the kitchen before, but I think I'm still too much of a noob to use it, but sure I will read about it soon (as I install back all my needed software - those tests, chats and so on lasts so much I'm doing it already third day as I count well...)

Thanks :D
[Desire HD Android Development] tmh:
It's dead easy mate. Simply extract the framework-res.apk, SystemUI.apk and com.htc.resources.apk from the ROM .zip (or in this case, you'd probably want to use the framework-res.apk stock file from 2nd post and SystemUI.apk from lyapota, given that you're using his mod), upload them in the kitchen, choose your mods, let it cook, download and flash. Always have a backup ready in case something fails, that way you can't mess it up more than you'll be able to recover from ;) More comprehensive how-to here: http://uot.dakra.lt/how_to/

(Sorry if this is taking the thread too off topic)
[Desire HD Android Development] makbil:
The safest way is to extract those 3 files directly from your device using Root Explorer. This way you don't lose any of your customizations.
[Desire HD Android Development] krzych:
Just finished setting all up before reading you right now, but wondered what ROM to set up ro whether to upload those files, and bah! Here's the answer :D LOL Thanks :D, and maybe it's a little off topic, but still, mods are mainly for customisation, and thats about it too, so it's close :). I bet there are many ppl which will use your knowledge from here :)

Just as I thought before reading you both :) Thank you too :)

Ok, let's end the GUI topic :).
[Desire HD Android Development] JSLEnterprises:
It seems like some poeple have become squatters in the thread and are absolutely polluting the thread with nonsense posts of their own thought process. Im honestly thinking of closing this thread.

Edit: just an FYI to those of you who are using the Arabic patch... the change of libandroid_policy will screw around with the music player, and detection of whether the headset is just headphones or a full headset with a misc. It will then cause the device to literally 'spaz' out and on goes voice commands, music skips, and stutters, and then shuts down... and quite possibly will also call random entries within the call history (found this out while working on 3.1 and testing existing 'patches').

HtcFacebook and chat apk's are the ones included by default in the rom. I will restore the existing facebook.apk (newest from market) with the older one from the source rom. I will no longer be adding the % in the battery; if anyone wants it you can use the one currently in the patch list.

Issues with the rom are known, and are slowly being worked on. If people would like to have a discussion about items in the rom then go to an irc chat, or even a G+ huddle. Unless you've found a solution before I have, post the answer directly and to the point; there is no need for a play by play of everything that went on in your head or is going through your head trying to find an answer. It doesn’t make you look smarter. Rather, it makes you look ridiculous and creates a lot of spam-like posts which take up too much thread real-estate making finding an actual answer to a problem increasingly difficult for people just coming to the rom for the first time and repeat questions begin...

Im not trying to be a ****, but if it doesnt pertain to an actual fix of an issue, than keep it to yourself until you've actually solved the problem thats buzzing in your head or a fix has already been posted. Stating the initial problem is ok as It notifies me of an issue (that I may not not have experienced), but spilling all your thoughts into the thread helps no one, and gets extremely off topic very quickly as the past 10 pages shows. I honestly had to re-read the past few pages just to make sure I havent missed any posts.
[Desire HD Android Development] krzych:
Sorry, tried to help with the testing. I'm quiet since now. Good to know your point of view.
[Desire HD Android Development] tmh:
I too apologize for what I have posted that may be considered off topic, never was my intention to pollute your thread. Sorry.

On the topic-side of things, this ROM seems to be working damn well, you and everybody else involved have done a very good job making it, thanks :-)
[Desire HD Android Development] JSLEnterprises:
its not ment at anyone specifically. its just a general comment. :) If anyone gets offended by the comment, then quite possibly they themselves feel guilty about it; or else they wouldnt find it offensive. heh.

I've written down points of issues that are being experienced, If its on an unmodded version then the problems will be taken with a higher priority.

Its with help form users that will make this rom better, but without loosing sight of the purpose behind the lack of mods, etc... :cool:
[Desire HD Android Development] osiedacz:
Thanks JSL. If at any point today you have a version with the facebook fix for testing, I am your guy. I have free time the rest of the day and night to try things. I appreciate your efforts.
[Desire HD Android Development] tmh:
Agreed.

Btw., sorry if it's a dumb question, but what's "SIM Toolkit" and is there any reason to keep it? When I try to launch it, I just get a message saying that "SIM Toolkit is not ready or not supported" (roughly translated).
[Desire HD Android Development] JSLEnterprises:
Its honestly not needed, most uicc sim's do not have the extra options available that this apk gives access to. Some carriers (very few) have a few extra accessible options (havent come accross them in so long that I hontestly cant remember them specifically); thats why I left it in the rom.
[Desire HD Android Development] tmh:
Thanks for the quick reply, just removed it with Root Explorer and the phone didn't explode, so I guess I'm good to go still :D
[Desire HD Android Development] JSLEnterprises:
noted. If I have one im sufficiently satisfied with (alpha to beta transisiton. lol), it'll be in a pm :)
[Desire HD Android Development] daniello8:
Isn't the SIM toolkit something you need if you get a dual sim adapter and want to use two SIMs in the phone?
[Desire HD Android Development] makbil:
For me, it opens up a window that has 5 options like voice mail, customer care etc. So you are right, it depends on your SIM card and what your operator put in it.
[Desire HD Android Development] JSLEnterprises:
Thanks for the confirmation. For example, Rogers (my network), has nothing embedded in its sim, as the information for those options gets pushed to the phone upon handshake with the network. The app doesnt work for me either.
[Desire HD Android Development] krzych:
Many operators (about 100% in Poland) implements free and paid features in SIM services like positioning, weather, addressbooks, etc. (17 services in my network including cheap roaming services chooser for example) I think it's rather useful witj dual sim too, but not sure.

Apk alone is not big and not doing any suspicious things so it's safe to have it just in case. I could even say I prefer this than facebook (completely useless for me even "in case").

[EDIT]

"My" (UOT kitchen's really) first mod ;P - if anyone wants to try, catch it - framework with green glow effect, scrollbar and rainbow circle as battery icon and Lyapota's extended quick settings done by accident... I just uploaded too many files :D

@JSLEnterprises:

User 1%, System 98%, IOW 0%, IRQ 0%

User 4 + Nice 2 + Sys 304 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 = 310

PID CPU% S #THR VSS RSS PCY UID Name

2961 94% S 8 144692K 30344K bg app_7 com.htc.ereader.drmengine

You should really check this out. It causes a MASSIVE lag after boot for few minutes.
[Desire HD Android Development] qaliza:
Found 2 bugs, may be its just me.

1- During a call the other side cannot hear me when the screen turns off by the proximity sensor (happens 50 % of the time)

2- GPS disconnects when data connection is turned on.

Thank you and keep up the good work.
[Desire HD Android Development] JSLEnterprises:
gps is one thing im looking into, since going to 1.22 gps has been flaky, and asgps is turned off (boolean value of 0 in the sql db of android.providers.settings-system) even though its supposed to be on (have a value of 1).

also, which rom did you get the files in your arabic patch?