yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] paamet:
Crashes when out of wireless range causes SD card corruption

First Sandvoll, thanks for your excellent work on bringing ICS to Desire. I have followed this thread since the very early days and also used this ROM as my daily driver since the very early releases. Though...not without problems (but great joy!).

Now the bug. Importantly, I suspect that this particular bug has not been investigated thoroghly for reasons discussed below. However, it has been mentioned on several occation in this thread and in the N1 thread.

Bug description:

Whenever I am connected to a wireless network, there are no problems. In fact, I have uptimes up to 5-6 days without a hickup. The situation is different when I am not connected to a wireless network and rely an 3G/2G. Most of the time, the ROM works fine doing simple browsing or email checking. Crashes do however occur, and they seem particularily or completely dependent on the use of data traffic. The phone would then suddenly be unresponsive and the screen go black. I have also seen reboots.

So, an occasional crash would'nt be too bad if the phone could gracefully be rebooted again. However, many a time I have experience that the SD card gets corrupted. The phone simply either will not start up ICS again. Most often the phone gets unresponsive after I have entered my PIN, screen widgets may or may not appear. Sometimes I get an error message saying that the SD card is corrupted and I need to reformat. I am familiar with the fsck in linux, which confirms a corruption.

I have tried to individually reformat and recover my system and data partition, without consistent success. Of course, I have also tried the usual wipe dalwik and cache.

It is difficult to debug this because logcat is traditionaly obtained when connected to a PC (with wireless connection or nearby wireless network).

Could this be a hardware failure? I seriously doubt that. I have two HTC Desire phones and 5 microSD cards. It happens with both phones and all SD cards.

OK...that was just to let you know. I hope you and your fellows can figure it out. Cheers from Bergen(!) to Asia. Below are more details on my setup.

More info on my setup:

BRAVO PVT3 SHIP S-OFF

HBOOT-6.93.1002

Recovery: 4ext touch v1.0.0.3 beta 8

Radio 32.56.00.32U_5.17.05.23

HBoot cm7r

Beta 0.5.3 currently, but I am sure that this has happened since at least 0.5.0 (most likely much longer; 0.3/4.x days).

Kernel: 2.6.38.8-tiamat-ics-0301412+cayniarb@prime#1. However, same with stock kernel.

Stock app2sd (dalvik/data on nand).

Telenor
[Desire Android Development] Sandvold:
Thank you I will include it and forward the source fix to drewis
[Desire Android Development] BMelz:
My thoughts exactly. Android system is reporting 2-3.1 mb ..... no issues here!
[Desire Android Development] mackowiakp:
I want to ask about multi touch facility. Formerly I used ver 2.3 of Android on my Desire. And page m.onet.pl worked good with multi touch. ONET is one of most popular info portal in my country. So my question is - the buid-in browser is not compatible with this page or it is feature of ICS buid in browser. Multi touch works properly with Google maps, photo gallery etc.
[Desire Android Development] Boyeah04:
Is there any way to hide folders in gallery or add the hide folder option in gallery at all?? I know it was an option on previous roms.
[Desire Android Development] Smask:
Have you tried to add an empty file called .nomedia in the folder you don't want to show? Quick googling says that ICS support seems to be spotty and some says that you need to clear Media Storage data (thumbnails and stuff?) in the App Manager to make it work.
[Desire Android Development] mackowiakp:
Hide

I think so, because it is ordinary Linux. So it is enough to name subdir with dot at the beginning and dir/file will be hidden. But I never hide anything, just use it "as is".
[Desire Android Development] vashishtuday:
Easiest way is to use quickpic

Gives you option to hide / unhide
[Desire Android Development] suiller:
.nomedia trick should work as always...
[Desire Android Development] mackowiakp:
Fo sure

For sure because name of subdir begins with dot!
[Desire Android Development] .martin.:
no, as in, if you add an empty file called .nomedia into a folder, the folder's contents won't be looked at for music/picture
[Desire Android Development] redrum781:
This is definately the easiest method. Long press on a folder and select hide. This command puts the .nomedia file inside a folder and folder and its subfolders are no longer searched for media (pics, video, audio). If you choose exclude it only hides the folder from quickpic
[Desire Android Development] derlotse:
About the corrupted sd-card: what file system are you using on your sd-ext? If you are on ext4, forget about my post - then you have another problem.

If you choose ext3 make sure journaling is still enabled..I had once the situation that I lost journaling function on ext3 - which means I had effectively only ext2 partition with no journaling and therefore getting corrupted files when crashing phone. Ext4 stopped this in my case.
[Desire Android Development] paamet:
EXT4. I am an experienced linux user.
[Desire Android Development] bungle2k3:
i can also confirm that 0.5.3 did not like ext4 partition, got the bootloop back on reboot - something an earlier version was doing (0.5.2 was running fine with it had 2gb internal storage and rebooting fine)

flashed 0.5.3 used it until reboot, got a bootloop now my 16gb card is corrupted! - lost all my pics :(

bout to try a ext3 partition and a 32gb class 10 with 0.5.3 ill let u know if it occurs again
[Desire Android Development] BombaUcigasa:
Congratulations on the 500 pages of topic guys!

Using the tiamat kernel for two days, no more freezes just some reboots when using apps that browse the SD card.
[Desire Android Development] fatspirit:
Never had any problems with ext4 on any Sandvold's builds.
[Desire Android Development] agilius:
is it works on my htc desire CDMA ? :confused:
[Desire Android Development] mattman83:
No. GSM only
[Desire Android Development] tabon:
delete please, i read wrong
[Desire Android Development] andysor:
After installing 0.5.0 a week ago I seem to be experiencing slightly more problems than before when I was on 0.4.4.

I've had 3 incidents in the last 5 days where the screen becomes unresponsive. The buttons work, but it doesn't recognise touch and a battery pull is the only solution. This once happened after a call, once when resuming from sleep and once while playing music.

I've also experienced 2 BSODs.

Unlike most here I am running Ext2 for speed.

Hboot = CM7r2

Version = Beta_0.5.0

Full wipe before? = Yes

A2SD-script = Stock A2SD
[Desire Android Development] fatspirit:
What kernel do you use currently?
[Desire Android Development] weslyr:
I had similar issues on 0.4.4.1 (Tiamat with ext4 partition for a2sd, cache2sd, data2sd).

After using the phone for several days, when waking up the phone with the power-button or the trackpad-button, the screen would light and the lockscreen would show. But due to the touchscreen unresponsiveness I would not be able to drag the circle to unlock.

After 10-20 retries of locking/waking up (with pauses in between), I would get it working again (without a battery pull).

I'm three days now on 0.5.3 (Tiamat and ext4 for a2sd and cahce2sd) and yet have to experience the same issue. I will report once I encounter it again.
[Desire Android Development] andysor:
Sorry, forgot to add that info.

Tiamat kernel, Nova launcher, aGPS fix.

The BSODs were very frequent with stock kernel, but Tiamat has all but eliminated them. The 2 times it occurred I was driving listening to music and the sun in combination with my black cover may have heated up the phone...

I can also add, even though I know it's been discussed, that Angry Birds Space is unplayable for more than short periods due to loss of touch response (resolved by exiting game, but need to reboot for game to work again) and Temple Run only works for 1 or 2 "runs" before it automatically runs to one side (must be accelerometer issue with game).

Doodle Jump works perfect though :-)
[Desire Android Development] BombaUcigasa:
This is because the IOW times on the kernel are too high and the whole phone lags. Moving only apps to SD seems to fix the issue and reduce kernel loads from 10.0-15.0 to 3.0-7.0. Turn on CPU usage display from Developer options to see this.

Choosing the Interactive CPU scaling method helps a bit. But unless you have a class 10 card designed for smartphone usage, be careful how you use a2sd. With unlimited space comes unlimited lag.
[Desire Android Development] phonedroid:
My HTC Desire tasted ICS with MIUI-Au ROM. However, it is not a usable ROM and is only a proof of concept kind of ROM.. Reason? It is laggy as hell. Being a previous CM7.1 user, I can't use the ROM with so much lag and jittery scrolling everywhere.

Is this ROM like that too? Is it smooth and fast enough compared to MIUI-Au ICS?
[Desire Android Development] funkymagicuk:
Is it possible to reduce the time you hold the Home key before the recent apps appear?
[Desire Android Development] mattmanwrx:
Why would you want it reduced? It would probably need to be a smali edit (or change the source) in framework.jar or android.policy.jar... I don't understand smali, and am having problems building from source...
[Desire Android Development] funkymagicuk:
It seems to take ages to pop up.

Same with long press on search too.
[Desire Android Development] Tuborg68:
Hi guys!

I still have problems with this rom every now and then suddenly changing system language back to English from Swedish. No biggie but kind of annoying. Anyone else experience this? Is there any solution or setting that can adress this issue?

Otherwise the 0.5.3 is running quite well! Thanks for all work being put into this.
[Desire Android Development] Sandvold:
Hold it in 2 sec and release then it appares, but it doesn't appare before you release
[Desire Android Development] Sandvold:
Btw new version tonight or tomorrow, just got to test everything i compiled a lot of new additions to aroma.

Changed

Still barcode

Fixed aroma (build.prop)

ONce again added AOKP dict

Adde regolus.ogg (notifcation sound)

Updated nikezupdater

Updated google maps

Fixed compass google maps

Todo:

In aroma:

Added autobrightness patch

Added modified mms.apk (can send more the 3 sms)

Added softkeys

Added lockscreen rotation

Added the possibility to remove NikezUpdater

Added hacked gmaps for those wanting that

Added Smooth Scolling + more volume steps patch

Added supercharger script

I will try include this much in aroma, I also need some input if ppl want a own customization upload (aroma based) or if it's fine doing everything in one. It's easier for me doint everyting in one, because of slow upload.
[Desire Android Development] Flying Scotsman:
I'm not sure I'm the only one experiencing this or not but starting in 5.0 of the rom, my dialer app force closes when I try and use it. Contacts work- just the dialer. Tried going from the stock to the T9 option but it still crashes. Any fixes?
[Desire Android Development] fatspirit:
But sooner or later you'll be home anyway (: I love how updates (optional stuff and ROM itself) were made on Ginger Villain - via own setup/downloader. BTW, have you seen a couple of my posts about graphic glitches? You could easily missed them (:
[Desire Android Development] Vincent981:
I tried several times this rom but I always have trouble when I choose the default launcher if I choose the nova or some other all goes well.

I have a desire to 4ext ext4 partition sd 2gb, table cm7r2

Thanks in advance for answers
[Desire Android Development] fatspirit:
Your question is wth? (: Use Apex.
[Desire Android Development] Sandvold:
Ye I've noticed them, but havn't any solutions yet:P

That's what I'm thinking of having a serparat installer for addons. Until I got my new latptop screen then I doubt I'll get this done (all in one for now) then I'll try making it so one "slim" rom and one addon download
[Desire Android Development] funkymagicuk:
Ha ha that's embarrassing. Cheers!
[Desire Android Development] mattmanwrx:
The ginger villain updater app was just pointing to web addresses (richardtrip even had them pointing to other servers, like mine and hooolms (for circlesmod))... It was good, but only useful if you can upload to a server, which at the moment I guess you can't, sandvold?

However, as much as I didn't like it at the beggining, I do think the aroma installer is quite good :)

Btw, the above post that mentions the stock launcher on cm7r2, I think there is a typo in updater-script so the launcher doesn't actually get installed, and cm7r2 users have to use a modified one... :)
[Desire Android Development] Sandvold:
No difference where the launcher is installed, so i'm guessing on space issues.

I can't upload to server no, but I might do 2 different uploads. One with the stock ROM,(plus a few crucial options in aroma) and then another aroma upload wit different mods etc
[Desire Android Development] redrum781:
I had the stock launcher problem on cm7r2 from 0.4.1.1.1, but it was fixed since 0.5.2 I think.

Space issue it is since stock launcher eats up around 9MB, other launchers are less space demanding.
[Desire Android Development] Sandvold:
Ye think i sorted it in one of the latest versions, at least i freed up a bunch of space then
[Desire Android Development] IceBone:
Is the black people app a feature of the t9 dialer or is that's the way it is now? Is there another way of enabling the white holo theme for it?
[Desire Android Development] Tuborg68:
Wipe needed between 0.5.3 and 0.5.4?
[Desire Android Development] Sandvold:
Okey new version is up:

Hopefully added the right barcode scanner libs

Fixed aroma (build.prop)

Once again added AOKP dict

Adde regolus.ogg (notifcation sound)

Updated nikezupdater

Updated google maps

Fixed compass google maps

In aroma:

Added modified mms.apk (can send more the 3 sms)

Added the possibility to remove NikezUpdater

Added hacked gmaps for those wanting that

Added Smooth Scolling + more volume steps patch

Added supercharger script

ONly torrent in the start (still slow upload) It will be uploaded to high speed mirror as soon as torrent have distributed it. The link on the webpage is right, so that link will work before I get the chance to edit post and webpage to say high speed mirror is up so just try. Frogfire is allowed to post another mirror here in the thread if that's needed, but the rest please don't.

Hopefully everything should work nicly, but it's late and I got 30% of my laptop screen working so it's kind of hard to work on. So might have some typo because of that.

So have fun testing and turn of the ad-blockers so I can get myself a new screen:)

*edit

Wipe not needed

I'm going to bed so won't answer questions until I wake up:)
[Desire Android Development] mld0491:
no wipe needed
[Desire Android Development] gab_hamelin:
Downloading and seeding now... 17k/s. Torrent will be open for a couples hours.
[Desire Android Development] 2WildFirE:
Me to
[Desire Android Development] kmaq:
congrats!!! happy for the message on page 1000, postno 10000.

Sandvold, keep up the work and thanks for all members supporting this ROM.
[Desire Android Development] tikkalamt:
Wow, I wonder which is the longest thread here in XDA :eek: Are we close yet?

Does somebody have a similar bug: often when i have notifications, for ex. mail, there is no "X" to clear the notifications. I have to swipe to the settings toolbox and back to have that "X". Hope you understood...

Apart from what you see in the sig, I've flashed soft keys with auto brightness fix
[Desire Android Development] Smask:
T9 acted weird on 0.53 for me too. Like rejecting all incoming calls.

I don't know if it were some settings I restored from backup or some file permissions issue, as I did wipe system settings and some other and then fixed permissions from the recovery.
[Desire Android Development] kmaq:
Sandvold, today i tried to add new contact to phone's contact but it does not allow me, instead it gives option to which account the contact has to be added.

I have gmail and corporate email address, it pops dialog to choose any one or to add new account. is there any way i can add new contact to my phone?
[Desire Android Development] k3lcior:
MIUI thread in Desire section is nearly twice bigger. :p
[Desire Android Development] mld0491:
As I have no idea, can someone link me to why Tiamat is supposedly better than stock.

I don't know what it is other than reduces bsods
[Desire Android Development] tikkalamt:
Isn't that enough :rolleyes:
[Desire Android Development] mld0491:
What a fantastic reply. Achieved a hell of a lot.
[Desire Android Development] Da Big D:
I got a notification from nikezupdater just now, that a new build was up, but is there any way for us to use it directly from the phone (maybe updating the rom from the phone itself?) or is it just there so we can grab it from this thread?
[Desire Android Development] fatspirit:
So you won't switch from stock to Tiamat if bsod absence is the only difference?

---------- Post added at 12:10 AM ---------- Previous post was at 12:05 AM ----------

It's just there (: But also you should see changelog for 0.5.4 for it's improvements.
[Desire Android Development] Plumps_:
A fast mirror to download the last Version:

http://ul.to/pl5lr63u

Gesendet von meinem HTC Desire mit Tapatalk
[Desire Android Development] mattmanwrx:
Please see sandvolds post one page back.....

Posting mirrors is great and all, but dont help with keeping the project alive (funding sandvolds time with ads on his site)
[Desire Android Development] gab_hamelin:
The hight speed mirror is up. In the aroma menu, I didn't have the option for " Smooth Scolling + more volume steps patch" but I had everything else.
[Desire Android Development] kamelot.sk:
video recording is not working at all or just 720p is unavailable?
[Desire Android Development] jozef710i:
Video recording is fine but i dont know if is it 720

But playing is bad
[Desire Android Development] mld0491:
Tiamat drains the battery more though..
[Desire Android Development] rustykwak:
What about the previous Tiamat kernal I found that worked well on some earlier release's & without the battery drain! I'll flash the new release tomorrow & run some checks then flash the earlier Tiamat to try see if that works without any issues!
[Desire Android Development] jozef710i:
Hi nice rom I have Amarullz script but in titanium backup a2sd is only 154 mb and internal is 1 Gb ( my ext size) but when I install probably 15 apps a2sd storage is full an internall not but I can't download apps . What should I do????

Also in installer I choose edited framework and volume patch but no difference
[Desire Android Development] jurica_m:
In Aroma installer I choose SuperCharger V6 script by zeppelinrox. Is this script set up or I must set this Supercharger? Thanks
[Desire Android Development] LaidbackNikez:
Regarding the future of my notifier;

I wonder if you guys actually need it as it seems that most people watch the forums.

If you do need it;

According to the poll most of you guys want it to download the latest release - Would you want a dialog asking you to visit sandvold.as and/or download the new rom?
[Desire Android Development] jozef710i:
Download the new ROM
[Desire Android Development] Han-Droid:
I do not know. Can't get this rom to work.

I tried several versions and now 504 but all i get are constant reboots. Over and over and over again after a couple of minutes.

Is is cm7 causing this?

Did full wipes, but still... no gain..
[Desire Android Development] i.amtom:
I'm guessing to download the new ROM but create a warning when on Data.
[Desire Android Development] Ryther:
Well, the link to sandvold.as it's the best method IMHO, 'cause with that we help him mantaining the project alive; direct download it's like any external mirror... look at the OP :D

The best would be to direct download the rom right after an AD pop up from sandvold site :D
[Desire Android Development] sandi052:
When a new rom is released the notification appear, just like now.

After the user click on the notification you can start a dialog with few options, remind me later, download, support us

in that dialog put an add like add supported apps?

or an iframe with adsense from sandvolds site ?

or you can't download a rom without visiting an sponsored site ?
[Desire Android Development] jurica_m:
Just installed new version on cm7r2 hboot with Supercharger and smooth scrolling and open terminal, type su, a2sd install, n for dalvik and cache and reboot like always. Problem is that after reboot my a2sd is not activating. Don't know where is problem. Before instalation I did wiped everything, and that's first time that a2sd isn't activating. How to slove this problem? When opened the Titanium, there is no a2sd. Don't have this problem yet, in earlier version I always activate a2sd after flashing the ROM and always everything was fine.
[Desire Android Development] derlotse:
For me in three cases 0.4.3? 0.5.1 and 0.5.3 had no a2sd installed - the necessary files were missing. HBoot: ++. I choose in aroma custom install always and tried different a2sd , none worked. So I downloaded dark tremor a2sd, installed from recovery and after reboot apps are on sd-ext .. lots of space.
[Desire Android Development] .martin.:
looks like barcode scanning still doesn't work (well at least not for me).

stock kernal, stock A2SD, stock launcher, unstable camera, aGPS, mms patch

no wipe, since.... too far back for me to remember :D
[Desire Android Development] Boyeah04:
By the looks if you select this option it just installs the patched services.jar that gives you only 50% supercharge. Which is basically the first step in zeppelinrox's script. You still need to run the script and set minfree values to your preference to have it run at 100% supercharge.

Someone please correct me if I'm wrong??
[Desire Android Development] Sandvold:
Ye, it was supposed to get added, but I forgot it seems. Here's he file
[Desire Android Development] MrMex:
Hmmm... the first thing I see after installing:

android.phone crashed

My settings:

Apex launcher

Amarullz ad2sdx

Stock GPS

Stock kernel

Stock cameras libs

dhcpcd: The one included in build

T9 Dialer

Stock dictionary pack

Stock build.prop settings (checkjni set to 0)

Delete NikezUpdater (nice tool, but I check it myself daily)

Keep stock mms.apk

Regular Google maps

Patched framework.jar

Supercharger by zeppelinrox
[Desire Android Development] Sandvold:
The cm7r2 is not offical from us guys trying to make the ROM.

I guess they've removed a few apks

NEW PLACE TO REPORT ERRORS:

www.goo.gl/W2wJu

The old one was a bit messy. Easier for us if you report there then make loads of post about the same issue.

thanks
[Desire Android Development] slow23:
Right, the cm7r2 version I made is just for the (lazy) people who want to try the ROM without changing hboot (like me).

All sounds except the three from build.prop have been removed.

Videoeditor, Gallery and Pinyin_IME are also removed.

Original Post updated to clarify all this.
[Desire Android Development] jdebunt85:
you guys are making awesome progress! keep it up!
[Desire Android Development] zakka1da:
and I thank you for making CM7r2 version, works great, for sure standard bugs and is viewable that there is no HW acceleration but quite cool, also LED is working when I recieve SMS :-) Just maybe did not read but actually no idea how to mount as USB disc to the computer, is it even possible or not yet?

Hope in some working egl files to improve smoothness but really great job guys!!!
[Desire Android Development] stuben32:
This is great going :-)

going to try and keep it as my rom - My camera is bust so dont care - all my other stuff works like wifi etc, phone etc and now i can listen to my mp3s while i ride :-)

I dont seem to be able to get SU on the rom though - Cant use CPU overclockers as can't get root

Tried flashing the 3.0.7d Superuser zip on previous post but stil no go
[Desire Android Development] yorkshiretyke:
Superuser-3.0.6-efgh-signed.zip worked for me. Link is on forum somewhere