yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] el.mariachi:
Hi!

I found a serious bug in LeeDroids automatic zipalignment that potentially damages installed apk files:

The 97zipalign script does not check the return code of zipalign.

So if aligning fails for some reason, the damaged result is used and copied back to /data/app!

This happens for example, if there is not enough free space on /cache.

For Data++ users, /cache is only 5 MB, which is insufficient for quite a few bigger apps like Documents To Go, Angry Birds, Viber or Camscanner!!!

Those apps will be corrupted after the first reboot, causing them to disappear from the laucher!

But also on non-Data++ installations /cache could be full or there could be other reasons for zipalign to fail.

I have added two fixes for that problem:

zipalign-fix.zip contains a patched version, that skips overwriting the original .apk file if zipaligning failed. (The diff is also included.)

cache2sd contains an initscript that bind-mounts /cache to /system/sd/cache. This is necessary for zipalign to work on Data++ installations.

Cheers,

leo

P.S.: I know that this post would better fit to the devel forum but unfortunately I am not allowed to post there... :-(
[Desire Q&A, Help & Troubleshooting] anderl78:
Hmm, I'm on data++ with a cache of only 5mb. I never get a problem with automatic zipalign, even with big apps like angry birds. In leedroid ROMs the cache is moved to a ramdisk with a few changes in init.rc.

Edit: posted a link to this thread in the leedroid 3.3.x thread...
[Desire Q&A, Help & Troubleshooting] s300pmu1:
Maybe, however, I've seen a couple of users complaining of missing apps, and their problem being solved by removing the zipalign script, as far as I remember.
[Desire Q&A, Help & Troubleshooting] teorouge:
It happens on other ROMs too, gonna post the link in related thread. Thanks, I had that issue a couple of times and the only way out was to erase zipalign.
[Desire Q&A, Help & Troubleshooting] s300pmu1:
Please advise:

1. If one has Data++, does one flash zipalign-fix followed by cache2sd, without rebooting in between?

2. Is cache2sd necessary for roms which have ramdisk for cache\ like LeeDroid?

Thank you!
[Desire Q&A, Help & Troubleshooting] erklat:
Could it perhaps work on other roms which don't have a ramdisk?
[Desire Q&A, Help & Troubleshooting] anderl78:
Hello!

1. Both zip-files are not flashable. They contain the scripts. If you want to use them, you have to use root explorer... Setting the right permissions should be necessary too...

2. I don't know exactly, but I think not. Init.rc should be executed early enough to prevent us from the described problem. But that's only my guess, could not say exactly - perhaps somebody other know more? If its not as I guess, why my angry birds get zipaligned without problem? ;-)
[Desire Q&A, Help & Troubleshooting] el.mariachi:
On my LeeDroid V3.3.3 R5, /cache doesn't reside on a ramdisk:

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)

I think you are mixing this up with /app-cache, which in fact is a ramdisk...

Maybe you remounted /cache yourself and that's why large apps don't cause a problem on your installation.

Or maybe your angrybirds version is already zipaligned, so the zipalign check

zipalign -c 4 "$apk"

will return true (0) and the if clause won't be executed...
[Desire Q&A, Help & Troubleshooting] andQlimax:
btw every app from the market should be zipaligned...even when i built some android apps with ecplise, the exported apk is already zipalign

why someone should create a non zip aligned apk? maybe some themed app from a bad dev? some framework apk from the uot kitchen??
[Desire Q&A, Help & Troubleshooting] anderl78:
Hello!

Angry birds is from market...

App cache is right, I'm talking from a other thing.

I looked into it a lil bit. The code in init.rc moves the market download (download cache) to a ramdisk - Nothing more.

The 97zipalign script uses /cache to do its work.

Cause of this, I think you are totaly right. The download cache doesn't affect /cache itself. The space there could be to low. If /cache is to low, zipalign could fail. The error caused by this (you described it in op) could end in unusable app...

I could only say, thanks for this! I will try the scripts, even if I have no problems here.
[Desire Q&A, Help & Troubleshooting] anderl78:
Yep, but a few user reported issues with installed apps after a restart. Removing the zipalign script cured it. No comment about devs and not zipaligned apps ;-)
[Desire Q&A, Help & Troubleshooting] anderl78:
Just tested it, works as it should.

Is it ok for you, if I post a flashable zip?
[Desire Q&A, Help & Troubleshooting] rangeela2331:
This would be great if we can have flashable zip. I know I am facing the problems with few of the apps I installed and they will disappear once rebooted.

Looking forward for the flashable zip files to install them on my desire.
[Desire Q&A, Help & Troubleshooting] el.mariachi:
Glad to hear that. :)

Yes, of course. Feel free to create a zip! :)

Thanks,

leo
[Desire Q&A, Help & Troubleshooting] kazgor:
Would you kindaly take a look at the ACEMOD007 Rom please, it also suffers from the same bug.. but im not a 100% sure what to change.

I also think where /system/sd is the SD CARD, on ACEMOD its on /SDCARD

It was driving me nuts Apps vanishing, until i saw this post :)

thanks.
[Desire Q&A, Help & Troubleshooting] anderl78:
flashable zipfile

flashable zipfile containing the fixed zipalign-script and the new cache2sdext-script. Simple flash it in recovery

thanks to el.mariachi for this!
[Desire Q&A, Help & Troubleshooting] rangeela2331:
Thanks. Works like a charm :)
[Desire Q&A, Help & Troubleshooting] darkpain:
Problem here!

Zipaligning com...apk FAILED (rc:1)
[Desire Q&A, Help & Troubleshooting] el.mariachi:
This is, of course, not a problem of the zipalign script.

com...apk is, according to the garbled filename, most likely not a valid apk file and thus zipalign will fail when trying to process it.

The only difference to the old zipalign is that the error is now detected. The old script just silently ignored the return code.

Cheers,

leo
[Desire Q&A, Help & Troubleshooting] lid2000:
Thanks so much for this! I was going crazy as my installation of Swype would vanish every time I rebooted my phone... flashing this has solved the problem.
[Windows Phone 7 General] suua:
Hey Guys here are some wallpapers a croped for WP Lockscreen.

Some of thees walls you have mebye seen before :)

Dont forget to hit the THANKS button, if you like the walls :)

Cheers
[Windows Phone 7 General] SicilianTony:
thanks these are good
[Windows Phone 7 General] comeradealexi:
Sweet :) i've got one from http://gelaskins.com/ atm cause it matches my case thingy :)
[Windows Phone 7 General] zhao1125:
thank you!These are beautiful
[EVO 4G Q&A, Help & Troubleshooting] TruSlide:
I have a couple of questions about this ROM... even after reading the suggested threads

1. I have RLS1. What's the difference between RLS1 and RC2? Which one is nightlies?

2. How do I change the font size. My lock screen, where I trace my unlock sequence, has very large font, I see the second line because the font size is so big. Can I fix this? I was able to change the size in *Spare Parts* App, but the app says it's only within the apps itself, implying it's not permanent.

3. What is the best kernel to run with this ROM? I really like it. I came over from VP, which I really liked and could tweak almost anything, but now I'm skittish because I'm not familiar with Sense ROMs and this particular one. I used Myn's way back when it first came out, but that's the extent.

Thanks guys.
[EVO 4G Q&A, Help & Troubleshooting] Steven 1:
That's the nightly. Rc1 had minor bugs that rls1 took care of. Stability issues mainly.

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

As for font, here it is

http://xdaforums.com/showthread.php?t=801160l

Kernels are up too you. But i would recommend using stock or lithids freedom kernel

Hope this helped
[Galaxy S I9000 Q&A, Help & Troubleshooting] biggary:
Hello, after leaving a earlier post, I really am at the end of my tether with my wifes phone, basically, her sim works in my galaxy s (VodafoneUK) and so does mine (3UK), but put either sim in her phone, it shows a few bars in the signal bar with both sims, but still says 'Emergency Calls only' I/she cannot make any calls on her phone, I previously rooted before, added custom rom, to try and mend problem, also used odin/samifimware to put stock JVQ rom back on her phone, but to no avail (her firmware/modem/etc all ends in JVQ, my phone has nv_data.bin files etc but hers doesnt have these, what can I do to solve this, tried everything and anything so far!

EDIT * DID A CHECK WITH CHECKMEND TO SEE IF PHONE HAS BEEN BLOCKED,IT HAS* currently *UNKNOWN* network has imei blocked the phone
[Motorola Photon 4G] skyedream:
is there way to update the PRL manually?

such as downloading 00001 prl file and update it?

thanks in advanced.
[Motorola Photon 4G] dsims7_2000:
Settimgs. Go to Systems at bottom. PRL uptade is there.

Sent with Photon 4G "Neo"
[Motorola Photon 4G] lucidvtec:
I think he wants to use the service prl profile 00001

I have no clue how to push a prl....I imagine having a locked bootloader is gonna make that difficult
[Motorola Photon 4G] my2cents:
You might start here: http://xdaforums.com/showthread.php?t=696073

Not sure if it will work with the photon because it is dated, but the process is probably somewhat similar.
[Motorola Photon 4G] skyedream:
yeah that was what i meant.

what do you mean by dated??

"If dialing ##775# doesn't do anything, try dialing ##775 or ##778 (then hit call)" this method doesn't work.. is there any other way to get into this option on photon?
[Motorola Photon 4G] my2cents:
Well it is a year old and it was for the EVO. Dialing the ## codes was a Froyo thing. I dont think it works with Gingerbread. This is why I said it was dated.

EDIT: More reading, but I have no idea if it works on the photon: http://forum.sdx-developers.com/index.php?topic=5430.0

Use at your own risk.
[HTC Inspire 4G] rogershroed1991:
I can't find the setting to make the display turn on when I get texts. I think my previous phone (Desire) did this by default because I don't remember having to change anything. Can someone tell me where it is? I've looked all over.
[HTC Inspire 4G] Youngunn2008:
it's not built in, you need to either download a different SMS app that has the option (handcent, go sms) or flash a rom that has it built in (miui).
[Defy General] Motodefyuser:
I downloaded z4root to defy and install it. And then open it and pressed "permanent root" And now my defy have been stuck at rooting process last 40 minutes! HELP !

And Motorola Defy was in supported devices list.

Quick answers please. !!
[Defy General] Motodefyuser:
Now it's almost 60 mins.. Nothing happening.... Getting worry.... :/
[Defy General] Motodefyuser:
I pulled battery off and rebooted. Phone is not rooted.

Sorry my freaking out :D

Im beginner and bit carefyl whit my defy :D

Send from my motodefy using XDA app
[Defy General] SpookyAwol:
Search for 'superoneclick' and read this post about 'rooting'
[Defy General] hackergnome:
Z4root wont root ur defy...

Need superoneclick the older version...

Newest dont work for every one...

Sent from My Mind© using the Brainwaves©...
[Defy General] Motodefyuser:
Older? Whitch one ? :p
[Defy General] rabe3ab:
search for superone click in defy forum and use it

I tried z4root but with no success

superone click worked smoothly and easly
[Defy General] Motodefyuser:
ookay. When use superonclick root you need those drivers. Motorola USB Drivers: Download for 32 bit Windows | Download for 64 bit Windows

What means 32bit and 64bit? And whitch one I download to my windows7 computer for rooting my defy?
[Defy General] Motodefyuser:
Ahhh. Defy's rooted with SuperOneClick.
[General Questions and Answers] general.email:
Hi

Apologies in advance if this has been covered elsewhere.

I have recently performed a factory reset of my samsung galaxy s2 (settings/privacy etc), software update via settings/software update and reinstalled my desired applicartions.

After reset i noticed that gps essentials now reports gps accuracy in 5 m increments ie 5, 10 15, 20 25m etc which was not the case before reset and reinstall.

I have tried alternative gps applications and earlier versions of GPD essentials but they also report accuracy in 5m intervals leading me to think that the "issue" is not application related but related to the phone firmare/software/setup.

I have tried looking in loaction and security to look for options for accuracy increments to no avail.

Any ideas anyone
[Thunderbolt General] fixxxer2008:
http://www.androidcentral.com/droid-incredibles-gingerbread-update-pushing-out-now-weve-got-manual-install-instructions

i assume were next. :eek:
[Thunderbolt General] loonatik78:
The dInc also got Gingerbread 2 weeks ago, then the OTA was stopped due to some serious issues with it. Those dInc guys crack me up. It's just something about the whining about not getting Sense 3.0 with it and their insane belief that the dInc is best device ever constructed. I swear, if I read one more post where the writer says something like "Sadly, I got a dInc2 from Asurion as a warranty replacement instead of another AMOLED dInc" (like they got totally screwed in the deal!), I'm gonna find them and shove that phone up their piss hole.
[Thunderbolt General] Ianxcom:
I actually miss my dinc a lot. It's a great little phone. Great specs. Great dev support. Only thing keeping me from going back is 4G.
[Thunderbolt General] fixxxer2008:
the only reason i want our OTA is for a newer hopefully more stable radio.
[Thunderbolt General] fixxxer2008:
the Dinc is a nice phone but too small for me. the tbolt reminds me of my old evo4g, that's why i bought it. i think my next phone will be the htc vigor.
[Thunderbolt General] lrs421:
I thought you were leaving??? You stormed off yesterday.

You know what, I think you deserve a better device. Treat yourself to something nice.
[Thunderbolt General] fixxxer2008:
whats your problem man? is it really that hard for you to not troll? do you really think the likes of you would scare me off here?...that's laughable and apparently you do not know my rep on xda.
[Thunderbolt General] jbh00jh:
What killed the Dinc was that it didn't have enough memory to run sense. I have a Dinc & a TBolt and I have 270 mb free most of the time with the TBolt and only 70 -100 mb free on the Dinc. The Dinc has a stripped down sense rom and the TBolt rom has most everything.

Sent by my Galaxy Tab 10.1
[Thunderbolt General] lrs421:
I dont have a problem, you're the one flooding the threads with non sense. All flames aside, why do you create SOOOO many meaningless threads. The other day you said you were bored, but please, spare the rest of us. I dont want to scare you off, really. But how many more of these threads are you going to create? You're the one who said you were done, not me.

Futhermore, this is nothing more than a disguised versus thread. We have a thunderbolt, why should we care about the Incredible ota. You seem like a decent guy but geesh.
[Thunderbolt General] yareally:
I didn't really understand why he created a thread about being bored and said anyone could talk about anything and then he got a little mad about something and started closing all of his threads in retaliation :confused:

Ohhhhh wellll :/

While we're on random discussions not about the Thunderbolt, the Moto Bionic comes out thursday. It looks kind of ugly shell wise and comes with moto blur :/. Nothing about whether it's locked down, but it probably is, since it was long in the works before google bought moto.
[Thunderbolt General] fixxxer2008:
ill post what i please, your not a mod. simple as that. i don't need you trolling every thread i make just to ask why i made it. why don't you try to contribute more here than just reading.
[Thunderbolt General] fixxxer2008:
cause some people on here are dicks, thats why!
[Thunderbolt General] lrs421:
Spoken like the true troll king ;)

So does this mean you're not trading your thunderbolt or having sim card issues or really ticked? Considering you made threads about each of these in the past couple of days. But you're right about one thing, I should just ignore you.
[Thunderbolt General] Grnlantern79:
Best phone every tell that to me who went through 6 Inc all for reasons that had nothing to do with Rooting or dropping the phone. The phone over heated on a few of them and fried the board. Some phone would reboot and wipe my phone clean for no reason. I did get to keep the last phone which my daughter has as a video game phone so she would keep her hands off my TB, and surprising it been a great game system/netflix for her anyways. But I would have loved to get upgraded to the new phone as a replacement it only happened to me one time but I was like HELL YEA, and that was back when it was a flip phone but I got a 3.2 MP camera.
[Thunderbolt General] scottthreet32:
Can't we all just get along
[Thunderbolt General] fixxxer2008:
kinda hard when every thread i make gets trolled.
[Thunderbolt General] Havoc70:
The incredible was a good phone but the Tbolt definately has advantages over it. I wouldn't trade my Tbolt back for the Incredible but it definately was a good phone.
[Thunderbolt General] loonatik78:
Don't say that over in the dInc forum. They'll hang you by your balls.
[Thunderbolt General] Havoc70:
Wouldnt Think of it....LOL
[Thunderbolt General] JBO1018:
The radio from the 2.11 leak is freakin great. I know with the TB it seems different phones respond to different radios but I have seen more positive posts about the one from the 2.11 leak then any other radio. I got 15 hours of heavy heavy usage the other day after flashing a new ROM and that radio before I even changed all my settings to help optimize battery life. Plus my 4G hasn't cut out on me at all like it did sometimes before.

Sent from my HTC Thunderbolt
[Thunderbolt General] Grnlantern79:
Can kernels from Droid incredible be used on thunderbolt? I was looking at my daughter play phone and it got update today over WiFi and the kernel is newer than HTC leak in our 2.11 leak. Just checking since I want to flash it in the my ROM I am building.
[Thunderbolt General] baronmxc:
As far as I know, kernels are device specific.
[Thunderbolt General] yareally:
Mostly device specific unless the devices share specs (like the htc inspire and htc desire hd). Otherwise, it takes some serious porting, testing and compiling. Imo backports some code from other devices to his kernels if you read through his updates.
[Thunderbolt General] loonatik78:
Isn't that kernel from the Desire HD and worked over for the Tbolt? Were it not for Imoseyon's kernel, there would be NO custom GB kernels for the Tbolt.
[Thunderbolt General] yareally:
Yeah I think it was from the desire hd. At least there wouldn't be any custom ones for sense gingerbread without him :)
[Thunderbolt General] Grnlantern79:
So I am taking it the answer is maybe? LOL I will flash it on my computer and see if it boots I will make one Rom of each just in case :) keep info coming.
[Thunderbolt General] yareally:
Doubt it will work because it'll be missing drivers and the phone's drivers are part of the kernel. If you want the latest one that will work, I would flash imo's.
[Thunderbolt General] Grnlantern79:
Will look into it, stock kernel just seems to take less battery on my phone.
[Thunderbolt General] AndroidGraphix:
I don't know about Droid phones. Correct me if I'm wrong but hasn't Motorola always been negative on the rooted community and more on the side of the carrier? That's why I'm a die hard HTC fan. It's Kewl they're android based unlike the old fossil Black Berry, but still... HTC listens to the rooted community and responds.
[Thunderbolt General] SirBindy:
http://www.youtube.com/watch?v=woySeSNBL3o
[Nexus S Q&A, Help & Troubleshooting] goyangfc:
Hi,

I'm trying to use the SHW-M200S (Nexus S for SK Telecom) on Canadian carriers. So far, I'm only getting 2G/EDGE on Rogers. I would like to know which frequencies are supported for the Korean variant. Are the frequencies different between North America and Europe/Asia? Any help would be greatly appreciated.

Thank you,
[Nexus S Q&A, Help & Troubleshooting] AllGamer:
yes the frequencies all all different between the 3 major areas

chances are this model would probably work better on Windmobile or Mobilitycity

in the worse case scenario you can go into the phone menu and see the supported frequencies

i do not remember the secret codes off hand
[Nexus S Q&A, Help & Troubleshooting] goyangfc:
Anyone know how to check the supported frequencies on the device? Thank you in advance.
[Nexus S Q&A, Help & Troubleshooting] goyangfc:
So, I got a reply from Samsung:

WCDMA:

-TX: 1922.8 ~ 1977.2 MHz

-RX: 2112.8 ~ 2167.2 MHz

GSM:

-TX: 880.20 ~ 914.80 MHz

-RX: 925.20 ~ 959.80 MHz

DCS:

-TX: 1710.20 ~ 1784.80 MHz

-RX: 1805.20 ~ 1879.80 MHz

US PCS:

-TX: 1850.20 ~ 1909.80 MHz

-RX: 1930.20 ~ 1989.80 MHz

So, why am I only getting EDGE on Rogers? Am I only receiving GSM 900/1900? Are there any other carriers with which I can get 3G? Any help would be greatly appreciated. Thank you.
[Nexus S Q&A, Help & Troubleshooting] 41LY45:
A change in radio baseband perhaps?
[HTC Flyer, EVO View 4G] ovigt71:
it might be a stupid question, but I couldn't manage to find my self an answer; is there any way to import Firefox bookmarks into a stock browser?
[Xperia Play Q&A, Help & Troubleshooting] solitarymonkey:
hi! i'm not a complete noob or anything. but i do like to understand the things i know.

please dont start insulting me and shout "just google it" at me, as i have and it all gets my head in a spin. and to make matters worse, i have a medical condition that hinders my understanding of "big words". lol.

but quite simply, in an easy to understand way, could someone please explain to me what the dalvik cache is, what it does, why it's important, the need (or lack of need) to clean it, and the difference's between it and other cache types?

any info would be appreciated. i would love to help support dev's more, and understand what phones do (os wise) and how to tweak them. and this is just one of the questions that bugs me a fair bit, for some reason :P

thanks in advance :)
[Xperia Play Q&A, Help & Troubleshooting] Cat_On_Droid:
You have 5 apps and yet for some reason you have more used memory than you should
[Xperia Play Q&A, Help & Troubleshooting] Mozza2k11:
Got this from another fourm here

or even this from here

or read about it fully on wiki http://en.wikipedia.org/wiki/Dalvik_virtual_machine
[Xperia Play Q&A, Help & Troubleshooting] AndroHero:
Yep the 2nd quote from mozza sums up the dalvik cache. The dalvik vm builds a tree of dependencies on boot, this is used to run applications with optimal bytecode :)
[Xperia Play Q&A, Help & Troubleshooting] solitarymonkey:
so it's basically a storage space that tells the phone the best way of running an app through the OS you have installed? take it it takes the hardware into account too? i'd like to understand the prefetch thing, but that confuses me too :P
[HTC Sensation] c-pain:
Noob here, sd booster app has to be running on the background right?

I have tried different SD booster app, no luck. Every time I lock the phone it closes down. I notice that after I unlock the phone the sd booster app isnt running anymore (should autostart?) :confused:

For now Im using tasker to autorun it but it overrides the lockscreen function quite annoying.

Do I need sd booster? I'm trying to squeeze as much speed/power as I can on my phone all suggestions are welcome :)

HTC Sensation

Stock ROM - Rooted
[HTC Sensation] brusko1972:
If you are talking about this SD Booster

https://market.android.com/details?id=de.mehrmann.sdbooster

Then it doesn't have to be running in the background for it to work. Just set the cache size to 1024 or whatever value you think is best then click apply. I have tried this app before and my 8 GB class 6 and class 2 went as high as 10 mb/s write speed, but that was before I unrooted my device and stayed stock with just the s-off
[HTC Sensation] c-pain:
Make sense. Thanks!!!