yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Themes and Apps] ikkokusenkin:
Well, I can confirm that it works. Here's a screen dump of my phone.

​

As you can see, the current screen bar moves in a straight horizontal line as we switch screens (it's on screen 2 in the screenshot).

This was the only change I wanted and all I did was to make scroll_y1 and scroll_y3 equal to scroll_y2 (oh, in case you're wondering, the main launcher icon has also been changed in com.htc.resources, but that's not relevant to this thread).

ADDENDUM:

If you want to change integers.xml, simply opening Rosie.apk in 7-zip will not work because the res/values* folders are compiled when the apk is built and 7-zip will not be able to show them to you. This means you can't drag and drop the modified files as you can with png resource files. So, you need to decompile the apk first. To do this, I followed the excellent guide posted here: http://xdaforums.com/showthread.php?t=697994.

One odd problem was that when I rebuilt the apk as described in that thread using the command:

apktool build Rosie

it was missing the security certificates (this is not a problem with the guide as it clearly says "make sure you sign the finished apk"). Since the security certificates are missing, simply pushing the apk to /system/app will not work (it will fail with an error about no valid signatures being found). On a side note, I found this strange because I read somewhere that Android does not check security certificates for system apps. Anyway...

If you follow that thread (the URL I posted) to its end, you'll find that someone else had the same problem. The solution suggested was to first sign the apk, create an update.zip, sign the update.zip and then install it using recovery mode. Strangely, this did not work for me (it seems to have worked for the poster who reported the problem in the other thread). I guess YMMV. My logcat shows that Android compares the signature of Rosie.apk against signatures for other system apps (shared_uid) and they don't match.

* * * * UPDATE UPDATE UPDATE * * * *

Apparently, the following method has side-effects because I find that I cannot delete desktop shorcuts after the change. :) PLEASE DO NOT FOLLOW THE METHOD DESCRIBED BELOW!!!

So, I took the easy way out. I simply copied over the classes.dex and resources.arsc generated by

apktool build Rosie

to the original apk file (which had the original certificates to match the other system apps in the ROM I was using). I think this method will work as long as the total number and names of the files remain the same.

Just thought I'd put this down in case anyone else has the same problem.
[Hero, G2 Touch Themes and Apps] :
Well the issue is probably that system apps such as Rosie.apk must not be signed ;) I also reccomend apkmanager instead of apktool. It has a lot of features and it's really easy to make your apks :D
[Hero, G2 Touch Themes and Apps] ikkokusenkin:
Yeah, but the problem is that when I simply push the apk generated by apktool (which doesn't have the security certificates), the system refuses to recognize the app (error about missing signatures). If I try manually copying over the security certificates from the original apk, it says the certificates are not valid!

Yeah, I actually tried APK Manager first but I find that specifying the framework to use when decompiling is much easier with apktool (I prefer using the command-line) than with apk manager. Anyway, I'm pretty sure that the problem is with something I'm doing, not with either tool.
[Hero, G2 Touch Themes and Apps] :
Hmm never had that problem... You should try the newest apkmanager (4.9 BETA) (You can find it in one of the last comment pages). It has been completely rebuilt :)
[Hero, G2 Touch Themes and Apps] L0cke:
@C0mpu13rFr34k Do you have a copy of Apk Manager? as the download link on the other thread seems to be down.

@ikkokusenkin Your screenshot doesn't display for me, any chance you can re-upload? :)
[Hero, G2 Touch Themes and Apps] :
Sure (I have to write this to post xD) :D
[Hero, G2 Touch Themes and Apps] ikkokusenkin:
Oops. I edited the post to warn about the problems caused by my copying the classes.dex and resources.arsc and the system deleted my image attachment. Unfortunately, because of the problem, I rolled back to the old current screen bar movement on my phone. And I don't have a local backup of the screenshot on my computer. Sorry!

However, I assure you that making all three scroll_y* values equal will do the trick.
[Hero, G2 Touch Themes and Apps] ikkokusenkin:
Okay, so I finally managed to find a workaround for the weird problems I was facing with modding Rosie.apk. I'll describe the procedure below:

NOTE: I used this method because using 7-zip to open the apk does not show the res/values-hdpi folder. If all you want to do is to modify files that 7-zip can show, then dragging and dropping is your friend.

1. Since 7-zip cannot show you the file/folder, you need to decompile it. You can use either apkmanager or apktool. An excellent guide for using apktool for this purpose can be found here. The commands I used were:

adb pull /system/framework/com.htc.resources.apk
adb pull /system/app/Rosie.apk
apktool if com.htc.resources.apk
apktool d Rosie.apk

The third command is to set up the framework files specific to your ROM so that Rosie.apk can be decompiled.

2. Once the apk has been decompiled, you can see all of its constituent folders. Go ahead and make your changes. In my case, I made the variables scroll_y1 and scroll_y3 equal to scroll_y2 in the file res/values-hdpi/integers.xml.

3. Rebuild the apk using the command:

apktool build Rosie

Here, 'Rosie' is the name of the folder created by apktool when Rosie.apk was decompiled.

The new apk will be found in Rosie/dist/Rosie.apk

4. Here's where things started to get a little hairy. Apktool creates unsigned apk files. This means that the Rosie.apk we just created will not be accepted by the system. You can see this by pushing Rosie.apk to /system/app (in recovery mode). If you start the phone and look at the logcat, you will see an error message about com.htc.launcher missing signatures (not to mention Sense will crash on startup).

5. To work around this problem, simply drag and drop ALL folders from the original apk (the one you pulled from the phone to begin with) EXCEPT classes.dex AND resources.arsc into the new one using 7-zip.

I myself don't understand why we need to drag and drop all the files (except the classes.dex and resources.arsc, of course) from the original to the new apk. Logically, I can understand copying over META-INF (since apktool does not generate this folder itself) and AndroidManifest.xml (since the new manifest created by apktool may be different). However, the res folder also needs to be copied over for some reason. By the way, this does not mean the integers.xml file we changed will be overwritten (because 7-zip cannot 'see' it; I think it is present in the 2 compiled files classes.dex and resources.arsc -- which is also why we shouldn't overwrite them with the originals).

Screenshot:

​

I know, it looks kinda silly because the current screen bar moves in a straight horizontal line and the launcher icon is still curved. :p I'll be changing it soon...
[Hero, G2 Touch Themes and Apps] L0cke:
Awesome. Thanks for the details instructions :)

I have been puzzled by this, that once apktool recompiles the apk you simply can't push that to the phone. You can with normal apk's (after signing), but with Rosie it seems you definitely need to tread carefully.
[Hero, G2 Touch Themes and Apps] ikkokusenkin:
No problem, glad to help. :)
[G1 General] zigg123:
Hi I had a general question. I have rooted my g1 and have the cyanogen mod on it. version 1.6, build number DRC83 cyanogen mod 4.2.13, the model number is showing T-mobile G1? is this correct? is it supposed to be showing Dream? This is my first time that I flashed a new ROM and rooted the phone? The phone is running fine, just for knowledge purposes.
[G1 General] mejorguille:
You are perfect don't even worry about it. It's really not important.

But if you really want to change it, you would have to take the build.trout.prop and change the "device-name=Tmobile G1" to HTC Dream, the push it back to /system. I also suggest upgrading to CM version 4.2.15.1, use the cm updater that's included in the rom, or just download cm updater from the market and install the latest.
[Touch Diamond, MDA Compact IV General] anthony82:
Some months ago my camera began to get crazy, showing wrong colors...

I've tried some hard reset, mtty, change rom...nothing...

so I've decided to send my diamond to the support...after few days I got my phone back, with a working camera.

Now, after 3-4 months...it happen again! :(
[Touch Diamond, MDA Compact IV General] anthony82:
tried with the original stock rom 1.93...nothing... :(
[Touch Diamond, MDA Compact IV General] siddharthsai:
Change your ROM... Its can also be a hardware problem. They might have replaced the whole motherboard for that issue in the first place.
[Nexus One General] Qoon3x:
Did you guy's also noticed the new UI in gingerbread? I got this pictures from the google IO youtube version.

I'ts from the part where they are showing the sneak preview what's coming after froyo. Link

Looking way better than it does now IMO!
[Nexus One General] Rusty!:
Pretty sure that's the Froyo UI.
[Nexus One General] pjcforpres:
I can't wait for Gingerbread! FroYo is so 2 hours ago.

The top one is a picture of Gingerbread, though, from Goolge IO.
[Nexus One General] x986123:
Why would they be using a prototype OS in a large keynote? It has a higher chance of failing in the middle of the presentation.
[Nexus One General] mutantblack:
I thought that was froyo screenshots. humm.....

But in the video that op posted from google IO, they mentioned it's froyo. Not gingerbread. I am confused.
[Nexus One General] pjcforpres:
Read the OP from top to bottom...
[Nexus One General] testing567:
This post made me laugh. Did you watch the keynote? They had a very high rate of failure in the middle of the demos. LMAO.

Seriously though, the top pic is gingerbread. The demonstration was of a feature from a future release after Froyo. It's not that big of an assumption to assume what "future release after FroYo" is referring to.
[Nexus One General] plastix:
Wasn't that the demonstration of web apps being allowed to use hardware features, like the compass etc

With that in mind, perhaps the difference is because those are not Android windows, but instead window on the webpage?
[Nexus One General] diversificationied:
That does make sense. All of those actions were performed from the browser to show off the browser accessing the hardware directly.
[Nexus One General] arkavat:
it does seem like a new UI for gingerbread. Also, Froyo does not have the updated music player they showed in the demo.

I don't really understand why google would want to show off features from future updates.
[Nexus One General] xrCore:
To irritate us? Or, for all we know, is it's still in testing and 2.3 could come out before gingerbread.
[Nexus One General] Gabewithkungfugrip:
I noticed that the top bar had the full date written out. Don't see anywhere in the settings to do this in froyo.

edit: nm.. it's in the notification bar when you pull it down. durr
[Nexus One General] lazaro17:
that happens normally when you have your notification drawer pulled down
[Nexus One General] gunnner:
The images look just like the exact same visual style as the new Car Home app in Froyo, for whatever that's worth. It looks good.
[Nexus One General] movikun:
OTOH, wasn't foryo supposed to have some kind of night-mode ? Cause that would pretty much be it.
[Nexus One General] Rusty!:
Dunno about anything Froyo specific, but Navigation already has night mode?
[Touch CDMA Android Development] brunes:
I really want Eclair bad.. but I can not live without a camera.

What exactly is the ongoing issue with getting Elcair camera to work - is it a kernel issue or a user space one?

If it is user space I might start looking into it myself using the working donut code as a starting point.

There seems to be very little information on this board about the *development* of Eclair. Everyone is just talking about builds and cooking. Should I be looking at another board for actual Java hacking to get the user-space working (assuming it is in user-space) ?
[Touch CDMA Android Development] Dukenukemx:
I think it's due to user space as everything works fine in Donut builds. For example, BlueTooth works fine in polyrhythmic's Eclair builds for Kaiser, while other eclair builds don't.

I'm sure if someone took a look at what polyrhythmic did with his build, you could get bluetooth working on other eclairs, and this could maybe even help figure out how to get the camera working as well.

Just shows how we really took advantage of polyrhythmic's work.
[Touch CDMA Android Development] myn:
BT works in the Eclair builds on this forum too, Perhaps not so well on your Kaiser however.

Did Poly get BT audio working?

Regarding the camera. Thats a great question. I am not sure who is working on it?
[Touch CDMA Android Development] Dukenukemx:
Guess he didn't, just tried it myself and it only connects. No BT audio. According to his front page that BT audio is a kernel problem.
[Touch CDMA Android Development] brunes:
For the record, I don't care about Bluetooth, at all. But I can't go to eclair with no camera.

If it is confirmed user-space, then maybe I will start looking into it myself... although, I find it hard to believe months have gone by based on a simple userland issue?
[Touch CDMA Android Development] thoughtlesskyle:
i think it is user space also, because using an eclair NBH on warm donut camera works fine, but same NBH with eclair and the camera doesnt work so that would rule out the kernel most likely
[Touch CDMA Android Development] dzo:
Yes, it's a userspace problem, I wrote the userspace cam lib for cupcake and donut but there will be some changes needed for eclair and froyo.

I don't have much time at the moment and would rather make the kernel better with what time I do have.

It's probably not a difficult job to get it working, pm me if you need any pointers.
[Touch CDMA Android Development] mnjm9b:
polymod 2.1g with the BT&WIFI update had btaudio working for kaiser.

2.1d lost btaudio but is a much faster build.
[Touch CDMA Android Development] Dukenukemx:
I haven't used Polymod in months. I should probably give it another try.
[Legend General] sim-value:
Hi,

is there a way to hang up a call with just pressing the Power button ?

Thanks
[Nexus One Q&A, Help & Troubleshooting] tytngasman:
Hello all, I am running madoco desire, and wondering if I will get the froyo update or will I have to download and install it? I am assuming it will clear my rom and all my apps right. Now if i reinstall the rom will it negate the new update? or just not work? I have used search, and read about 1000 threads. Thanks so much.
[Nexus One Q&A, Help & Troubleshooting] bougelahi:
Did you know there is a QUESTION & Answer section in the forums?
[Nexus One Q&A, Help & Troubleshooting] hiddengopher:
Get used to the noob posts guys. We will be seeing them all week. I suggest just ignoring the thread. A mod will move it for you.

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

Sent via the XDA Tapatalk App
[Nexus One Q&A, Help & Troubleshooting] liam.lah:
The update will only come to users of stock 2.1. It will in no way shape or form be compatible with desire rom.
[Nexus One Q&A, Help & Troubleshooting] premedicated:
How sad for the community...
[Nexus One Q&A, Help & Troubleshooting] tytngasman:
What a bunch of @@%@%%@@

OK yes I do know there is a q&a section, I have read and searched in there. Not very clear answers though. If it is such a bother to help someone, then how about not being on this site! I am sure all of you at one time or another were starting out. I read this forum daily, have its app, and keep up to date for the most part. I just wast completely sure of one thing. I support a few of the DEVS on here with contributions when I can, I am just glad it isn't one of you!
[eXpo GW820, GW825 IQ General] sinhabh:
Hi

I was playing around with some of the exe files in the /windows folder and came across QcameraApp.exe, which allows you to change the settings of the camera like framerate, white balance etc. I didn't make any changes, just looked through the options.

But ever since then, my phone freezes everytime I open the lgcamera app.

I found a related thread in this same forum titled "Usb switch and other Apps not in start menu" , which warns you about the same problem. Howewer it doesn't say exactly how to fix it, other than replacing all the files in the windows folder.

I don't have the windows folder backed up...so if one of you guys can post all the files in the windows folder related to lgcamera and qCameraApp, I might be able to fix the problem.

Also if somebody could post all the registry entries at HKCU/software/lge/lgcamera, I would really appreciate it.

I am really hoping somebody can help me out, otherwise my only option is hard reset.

Thank YOU

phone: lg expo

rom: factory installed original rom
[eXpo GW820, GW825 IQ General] sinhabh:
all you need are old registry settings

After doing some more research, I have found out that just restoring the registry settings should fix the problem...

If one of you guys could export the registry from hkcu/software/lge/lgcamera...it would help me out a lot.

there are only like 20 entries, can one of you just post the values for these 20 odd fields...

Thank You
[eXpo GW820, GW825 IQ General] jjfbman:
Camera registry settings

Not sure about the first entry, you may not want to mess with that as it may be date and time algorithm... but I'll put them all here for you. Let me know how it works for you. Thank MyMobiler for the screenshots, it works flawlessly with the Expo.
[Legend Themes and Apps] JonasDroid:
Looking for an app that uses the camera LED as a flashlight. There are tons of those for the desire and N1 but I can't seem to find one for the Legend.
[Legend Themes and Apps] noodleking:
legend has to be rooted before you can do that, theres a guide here on the forum to root your legend.

btw search before making and entire new post there was just one similar few days ago :)
[Legend Themes and Apps] danishnicooo:
nexus one torch works if your legend is rooted :b

Sent from my HTC Legend using the XDA mobile application powered by Tapatalk
[Legend Themes and Apps] Dzondu:
Lamppu (LED Torch) works on rooted phones.
[Legend Themes and Apps] Tomm't:
Is it even a good idea to use a LED as a flashlight? I had a Samsung U700 before which somehow got broken. Whenever I turned it on the LED would turn on without any possibility to turn it off - unless I would use a hammer. Anyway after a while the LED went more blue-ish and besides that it got terribly hot whenever it was turned on for more than 10 seconds. I really doubt that it has any positive effect on the surrounding hardware - aka your entire HTC Legend!
[Legend Themes and Apps] Ravrahn:
@Tomm't: I don't think so - I've been using Lamppu (Thanks heaps, Dzondu!) for a few days now - fuse blows a lot at my house - and I've experienced no overheating problems or not turning off problems. Only problem I've had is reduced battery life due to the necessity to call the Camera API before you call the flash-light API (AFAIK, I'm no expert but I think that's correct).

Then again maybe I'm just using it more. Both are possible.
[Legend Themes and Apps] qzem:
Thanks for this, I've been searching such app for a while, and this one does the job great! :)

You don't need to run camera, just Lamppu itself and should work ;)
[Legend Themes and Apps] Ravrahn:
I know you don't need to start the camera app, I mean that the Lamppu app makes an API call for the camera, effectively starting it up so it's sensing, and then turn on the flashlight with a second API call. AFAIK that's how it works and is the only way to make it work, so I meant that if you use the flashlight it basically starts the camera and just doesn't display the image, which takes battery power.
[Legend Themes and Apps] TCarlsen:
Love this app thanks man!
[Legend Themes and Apps] em2drvr03:
desire led works on unrooted mytouch slide
[Legend Themes and Apps] Kwen:
This is the Legend forum??
[Legend Themes and Apps] Caifan09:
There is this app too, call Incredilight, works also on rooted Legends
[Legend Themes and Apps] meltz:
froyo 2.2 has an official HTC flash light application .. :D
[Legend Themes and Apps] Exanimus:
I have been using Lamppu and found some minor bugs..

After i have used it a couple of times the camera wont start, not with the LED turned on or off.. doesn't matter if i turn it off and try the camera, not even killing camera app solves the problem. The only solution i found was to reboot the phone.
[Legend Themes and Apps] JonasDroid:
Are you sure Legend will get it aswell?
[Legend Themes and Apps] meltz:
wildfire 2.1 has it .. so i believe Legend will get it too
[myTouch 3G, Magic Android Development] Jessy_Cianciotta:
ok so i do a full wipe and whatever it tell me to do a wipe of on the boot screen then i load the rom everything is fine untill i take my battery out after a couple of hours then i put my battery back in and all of a sudden i have all the programs that i have on my old rom there?? what can i do to do a complete wipe of everything!??? please help thank you!
[myTouch 3G, Magic Android Development] cnossa:
You need to remove the applications installed in the sd card (ext partition).
[myTouch 3G, Magic Android Development] NguyenHuu:
yeah it looks lik eyou have apps2sd? if so, go into recovery and wipe ext partition
[Nexus One General] Jban2:
Hello,

I'm blissfully running the CyogenMod 5.0.6 on my Nexus One, and after reading about the Froyo OTA, I wanted to revert back to the stock image to see if the update ever came to me. Here is where my issue exists: ROM Manager (1.8.1.4).

Whenever I go to download the stock image for my N1, I get the error message "ROM Download Error (for the Nexus One EPE76)." Any ideas on why?

Thank you

[EDIT}Yes, I do have ROM Manager Premium.
[Nexus One General] prettyboy85712:
Ask here. http://xdaforums.com/showthread.php?t=639153&page=14&highlight=manager
[myTouch 3G, Magic General] zelda26:
SAPPHIRE PVT 32A SHIP S-ON G

HBOOT-1.33.0013 (SAPP31000)

CPLD-13

RADIO-2.22.23.02

According to this I have a 32A board, that's Google branded correct? Does this mean I have 288MB or RAM or am I at 192MB?

Can I flash recovery in "H" as opposed to "G"?
[myTouch 3G, Magic General] C0dy:
Flash a G recovery. Pic related, what the recovery should look like (minus the restoring complete.}
[myTouch 3G, Magic General] zelda26:
Ok I was checking to see if I could. I have rooted my phone.

How bout the other question. Do I have 288MB or RAM? It said I should. Is there anyway to check that threw fastboot or adb?
[myTouch 3G, Magic General] C0dy:
It's a 32A, so it has 288mb of RAM.
[myTouch 3G, Magic General] zelda26:
Yeah I figured that. Thanks.
[Hero CDMA Q&A, Help & Troubleshooting] tb87:
I recently tried to flash Fresh Toast 2.1 and after 15+minutes my phone was stuck in a bootloop. I rebooted to recovery and deleted all the data and cache. Now no matter what ROM i try to flash it just keeps booting over and over. Anyone have any ideas? I was using apps2sd and completely formatted the sdcard, would this have affected anything? Also tried nandroid back up, but says "No files found" when I try to do so. Also when i try to format the sd:ext i get an error mounting sd:ext
[Hero CDMA Q&A, Help & Troubleshooting] unCoRrUpTeD:
In recovery try and format your sdcard with only a fat32 partition. Then try and enable ?MS-USB? and copy a ROM to your sdcard.Wipe data and dalvik and then flash ROM.

If that doesn't work try replacing your sdcard with another one.

Or you can push your ROM.zip to the sdcad through adb without mounting the sdcard

A2SD will only work if your sdcard is partition with EXT and swap. So if you don't have it partitioned then apps will install on your phone.
[Hero CDMA Q&A, Help & Troubleshooting] tb87:
I gave it a shot but no luck, i am using the clockworkmod recovery 1.8.1.4.