yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] timmoty_g:
Hi JB,

What's the purpose of hosts_file?

Is it to block advertisement?

Regards,

Timmoty
[Nexus One Android Development] safeplayer22:
Hmmm, maybe it's me only and I searched but didn't see anything. But my Adobe flash is not working. Unable to use flash in the browser.

Enabled Plug-ins is set to "always on".

Maybe can someone recommend me a site to use to test in case the site that I go on is down?

I really dont want to do a full wipe again. any suggestions?
[Nexus One Android Development] jbbandos:
Don't restore system settings. Really, don't. The only thing I restore from MIUI Backup is the screen layout. Anything else is sure to have problems. Some apps won't ask for root when restored using MIUI (Titanium typically), system settings get corrupted, etc.

If possible, wipe, flash, and re-configure by hand, don't restore settings. Install apps from the market, or restore them using Titanium. If using xpart, and having FCs, then stay away from Titanium, there are reports that the restored apps may also have problems.

I wiped my phone before flashing 1.7.22, and my procedure now is always the same, reconfigure the settings, open the terminal, fix a2sd, after the reboot restore the accounts using Titanium (dangerous, if you have problems avoid it), move dalvik to sd, and restore all apps after the next reboot. Only then I restore the screen layout using MIUI, and some times I've even rebuilt it has restoring the layout introduced FCs and crazy behaviour.
[Nexus One Android Development] jbbandos:
Version 1.6.3 now up, check first post. As I wrote on the second post, I changed the bluetooth audio.conf, so please report any problems.
[Nexus One Android Development] ferfecir:
Thanks :) nice rom
[Nexus One Android Development] Autinhyeu:
Thanks! :)

i come from stock MIUI ROM & A2SD script... i think i only need wipe cache and flash this ROM... trying it :)

Thanks again! keep your work ;)
[Nexus One Android Development] jbbandos:
I usually only wipe cache and dalvik, so it should be enough.

It's nice to know this is appreciated!
[Nexus One Android Development] ksocoolwitit:
So I just need to wipe cache & dalvik if I'm coming from 1.5.27 ?
[Nexus One Android Development] Autinhyeu:
yes, :)

20 chars!!!
[Nexus One Android Development] tommert38:
I keep having soft reboots when verifying my phone number in WhatsApp Messenger :(

Don't know if it could help, but I added a logcat.
[Nexus One Android Development] ultra99:
Cool ROM!

2 things, though:

1. Do I need to install English pack after the rom? I still see some chinese..

2. Where can i find gmaps, etc? I can't download them from market cuz I'm not in the US.
[Nexus One Android Development] timmoty_g:
Hi,

I've just given a try of your QND version (normally I use the one from miuiandroid.com).

Not bad man... Good work.

Thanks and regards,

Timmoty
[Nexus One Android Development] jbbandos:
From what I've seen in XJ's Desire thread, this is unfortunately a problem with the latest MIUI ROMs, and there is no fix yet. :(

Edit: As you've probably found out by now, this is due to the superuser application. If you go there and set the accesses asked by whatsapp to always allow it will no longer crash
[Nexus One Android Development] jbbandos:
Where do you see Chinese text? I'm running usually the Portuguese translation, and the only place I see Chinese is the SMS send button if I change the theme (it is a image, and is supplied by the theme).

As for gmaps, gmail, etc., they seem to have disappeared from the market this weekend. I was seeing them, and usually with something like "Market Access" I can fool market into thinking I am in the US, and even like that they won't appear. In the meantime you can get the latest Gingerbread gapps from Cyanogen and flash it on top of this.

Edit: I need to retract myself - it seems that the gapps availability in the market is correlated to the build.prop. My wife's ZTE Blade shows these apps. I've already tried pushing the build.prop with the "correct" fingerprint and description, but it wasn't enough. When I finally nail it down I'll put the build.prop here (so you can push it with adb) and will update the ROM also.
[Nexus One Android Development] jbbandos:
I am going crazy here trying different build.prop files, without being able to see gmail, google maps, etc. on the market. I am pretty sure this worked last week, and also the strangest thing is that CM7 build.prop doesn't change anything here. On CM7 I can see the google apps, on MIUI no.
[Nexus One Android Development] tommert38:
After installing 1.6.3 on top of 1.5.27 with Whatsapp installed, it works fine:)

I did a clean install at first, so I won't be doing that again!
[Nexus One Android Development] jbbandos:
Good! So it seems it is only the activation of Whatsapp that is broken.

On the google apps/market issue I am having lots of strange problems with the market. Apps like tripit that show in my apps, give "not found" when I click on them, and still update if I do a "update all". I'll have to check wiping my ROM and installing from scratch on my N1, but would like to know if any of you are having a similar problem with this or other MIUI ROMs?
[Nexus One Android Development] jbbandos:
Well, as I suspected, my market problems were solved with a full wipe and reinstall, so any of you not able to see gmail or google apps on the market, try first market enabler, then if that doesn't work, a full wipe.
[Nexus One Android Development] tommert38:
I don't have any issues with the market after going from 1.5.27 to 1.6.3. Only thing I did was wipe Dalvik cache.

I installed Whatsapp on a fresh/clean/wiped 1.5.27, then updated to 1.6.3 and then installed all my other apps, including all the google apps without a problem :)

Only when I try to acces settings in my browser I get a FC.. And when I try to change my trackball notification color in system settings, it FC's too. Don't know if these are known FC's? Or maybe I'm just being unlucky:(
[Nexus One Android Development] jbbandos:
Strange, I can access the settings in the browser and the trackball colour without any FC. Maybe the full wipe helped here? I am also finding that the MIUI backup works very well, even restoring most of my settings.
[Nexus One Android Development] hackermail:
Hi,

I have been using this rom for past 4 days and its very stable with no issues at all. Thanks for the rom. I have one question, There is an app in the rom called MIUI CM updater, can you please provide more details in what this app does? I have not seen this app on any other MIUI mods.

Thanks!
[Nexus One Android Development] jbbandos:
That app is from XJ multi-language pack, and is used to do Over The Air (OTA) updates to the ROM. I must say I don't know if I'll ever be able to do that for this ROM - right now I am still fighting apktool trying to edit the framework to enable 3G voip, and even if I can rebuild it without errors, the new one will bootloop like crazy, so there is still a lot I need to learn.
[Nexus One Android Development] jbbandos:
New version is up, check first post!

Hopefully when the second release of the language pack is available it will include a fixed ThemeManager with the full translations, for now the one I applied to fix the FCs seems to be in English only.
[Nexus One Android Development] jbbandos:
As I wrote some times, my phone doesn't like xpart, so I can't help you much there, but it seems that you're not alone. Just to make this clear, do you get the FCs if you try to change the sounds immediately after wiping and flashing?

A final resort might be to wipe your sdcard. I remember docmjids used to do that whenever he had problems flashing a rom, in particular xpart. Sometimes the settings in /sdcard/MIUI/* get corrupted, some times in another directory, so to make sure you get rid of the FCs it is best to backup anything important (nandroid, MIUI/backup, DCIM, etc.), repartition and format the sdcard, and start from scratch.
[Nexus One Android Development] jbbandos:
Yes, but I'm going crazy with angry birds seasons, those bastards keep adding ad servers and passing through those obnoxious adds.
[Nexus One Android Development] jbbandos:
Remove and reinstall flash from the market? One of the symptoms I had the backups I restored were corrupt was precisely flash not working.

If you search google for "flash player test" you'll get a list of sites; adobe should be the one to start with, at least the page to check flash version.
[Nexus One Android Development] jbbandos:
Doh... Forgot about badblocks... :)

If you don't get bad blocks, then there is something strange with your phone, and the best way is to look at dmesg and logcat immediately after you have problems.
[Nexus One Android Development] walliester:
ok was having some trouble with some apps ,so i decided to install alogcat from the market and i ran it ,then it say to reboot,and i did but now the logcat wont stop ,its been more than 20 minutes and it wont stop so i took the battery out ,i put it back up again as soon the x boot ups ,it starts again, what to do, i m confuse is there a time to it to finish?
[Nexus One Android Development] jbbandos:
Well, I never used alogcat, but I know that when I run logcat from inside an adb shell, the boot takes literally ages. It is terribly slow, possibly because it is constantly writing to the console. I'd think that alogcat would be even slower, but I have no idea on how much slower...
[Nexus One Android Development] walliester:
oh ok i got it,i got scare for a minute ,lol well its been exactly 38 minutes and counting, so what do i do after it finishes (noob) question lol ...
[Nexus One Android Development] pseudoheld:
i did several more runs (read/write non destructive+destructive) which took the whole night.

NO BAD BLOCKS...sh*t

will try the dmesg from my phone...really hope it aint my phone thats fecked

i already have a dmesg of the event happening while my phone was running:

http://pastebin.com/wZNdPqW2

i think this is where stuff goes wrong. but im pretty bad at reading dmesg/logcat
[Nexus One Android Development] pseudoheld:
so i ran a couple of dmesg from recovery.

something that stood out to me:

so yeah...do i have bad blocks?

please check out the whole dmesg

http://pastebin.com/yeQwHNaf

would very much apreciate it!!!
[Nexus One Android Development] jbbandos:
Well, three in data and one in system, is the same as my N1, so that shouldn't be much of a problem. I'll see if I can understand anything from your dmesg.

Another thing, are you overclocking?
[Nexus One Android Development] pseudoheld:
slightly overclocking yes. just flashed your latest rom (no ext partition, so i wont even be tempted with a2ext)

will see how it goes.

good thing is my bootloader is still locked so i should have no problems with waranty ;)
[Nexus One Android Development] jbbandos:
This is the part I dislike the most of your dmesg:

<li class="li2">
<li class="li1">[ 2.807708] msm_i2c_probe
<li class="li2">
<li class="li1">[ 2.807983] msm_i2c_probe: clk_ctl 35d, 100000 Hz
<li class="li2">
<li class="li1">[ 5.776855] msm_i2c msm_i2c.0: Error waiting for notbusy (0)
<li class="li2">
<li class="li1">[ 5.777008] msm_i2c msm_i2c.0: Transaction timed out
<li class="li2">
<li class="li1">[ 5.777252] msm_i2c msm_i2c.0: Error during data xfer 48 (-110)
<li class="li2">
<li class="li1">[ 5.777465] msm_i2c msm_i2c.0: Still the bus master, status a700, intf 0
<li class="li2">
<li class="li1">[ 5.777740] msm_i2c msm_i2c.0: i2c_scl: 1, i2c_sda: 1
<li class="li2">
<li class="li1">[ 5.777984] msm_i2c msm_i2c.0: Bus busy cleared after 1 clock cycles, status d0, intf 300

And there are more errors like this, which seems to point to an sd card problem/incompatibility. Even if a bad blocks test doesn't show bad blocks, it looks like the card is timing out from time to time.
[Nexus One Android Development] pseudoheld:
so the sdcard may be the culprit anyhow?

as i said i will try and run without sending any apps2ext for a few days and see if the problems go away...(but then we still wont know if its the sdcard or the controller....)
[Nexus One Android Development] jbbandos:
What I’d propose is precisely your approach:

some time without A2SD just to make sure the ROM is ok and your phone is OK;

If possible, some time with a different SD, and A2SD enabled, to make sure your controller works well.

In case you still have problems with 1, please try another MIUI ROM (.us or just miuiandroid with the english language pack). If it works well with another ROM and not with mine, it is time to start taking out optimizations to find out which one breaks your phone. If it works well with another MIUI ROM.
[Nexus One Android Development] pseudoheld:
ok then consider me in phase 1 now ;) only installed the apps i REALLY need and will be going as minimal as possible! nothing whatsoever moved to the sd!
[Nexus One Android Development] liderzre:
On latest a2sd edition market fc :(
[Nexus One Android Development] jbbandos:
Mine doesn't (and is that awful wp7 like market). Did you try wiping market data and cache?
[Nexus One Android Development] safeplayer22:
Tried, but did not work.

Full wipe and reinstalled flash app from market and still not working.

any other suggestions?
[Nexus One Android Development] Quantumstate:
OK apparently MIUI Backup is profoundly busted. So I started over, refining this procedure (after many attempts), and it still doesn't work:

- Amon Ra Recovery, factory reset 5 times and Dalvik wipe 5 times;

- Flash zip from SD QND a2sd and reboot;

- Settings|Application|Manage|Titanium and Force Stop, Clear Data, and Uninstall (or else crash of a2sd next);

- In Terminal $ su and # a2sd repair and it will crash destroying all optional apps. Reboot;

- From the Market reinstall a2sdgui, Terminal, and Titanium;

- With a2sdgui, zipalign, move Dalvik to SD, but the latter fails with Not Enough Space.

Using Quick System Info it shows that I have plenty of free space on all partitions. It seems clear that 'a2sd repair' is failing, but no one knows enough about internals to know what to do. (except maybe jbbandos)

So in Market I reinstalled Terminal and tried 'a2sd repair' again. Now it doesn't crash Terminal, but fails with "Problem detected: DarkTremor a2sd may nt have ran (sic) during boot. Cannot read a2sd mountpoint."

I need this phone for business. This is an emergency. Trying the d2ext version.
[Nexus One Android Development] liderzre:
I tryed everything. Not work. Start.... and after loading .. start screen .. few sec and fc :(
[Nexus One Android Development] habs25:
I had the same problem. If you don't care about the new market and just want it to work, just uninstall the updates and revert back to the "old" market.
[Nexus One Android Development] liderzre:
I dont have old market. Where i can find it?

Edit: old market fc too. :( . I can send report if any 1 wish to help.

I have 1gb ext4 .
[Nexus One Android Development] Quantumstate:
I formatted my ext3 parts and swap on the SD using gparted on my big machine, and still a2sd does exactly the same thing. I've rebooted and tried various things at least 30 times. I do not dare try d2ext.

So this ROM just does not work for me. MIUI.us does not work for the same reason. And I'm not using stock. Back to Rodriguez.
[Nexus One Android Development] b1337:
back to a rom with more bugs lol, updated to latest and no problems here
[Nexus One Android Development] Quantumstate:
Asshole, thanks for the help!

I need my phone to actually work.
[Nexus One Android Development] musashiken:
Did you try using the old fashioned method of fully formatting your sdcard using SD Formatter? Reformat (full erase) your SD card back to original size with no partitions and then partition it using your phone's recovery instead of using gpart.

In the worst case scenarios, it could be your SD card that is faulty.

Worst still could be corrupted boot sectors in the phone internal memory.

Or it can be something simple as a corrupted rom file that you downloaded.
[Nexus One Android Development] b1337:
u are such a little *****, go flash a stock rom and GTFO
[Nexus One Android Development] jbbandos:
I've noticed that "a2sd repair" seems to remove the apps, because it moves them to sd-ext while being launched from inside one app. You can avoid that if you do the a2sd repair from an adb shell. But (at least on my phone) TB, Terminal and A2SD Gui are back there after a reboot. No need to remove TB.

Try it like this, if you're more comfortable:

Wipe, flash the A2SD version

Let it finish booting, and connect the phone to a PC

Using adb (from android sdk) open a shell ("adb shell")

Inside this shell, run "a2sd repair". It shall reboot.

Now open A2SD gui, and enable zipaling. Open the second tab, and move dalvik to SD

Hopefully this will work.
[Nexus One Android Development] jbbandos:
Another thing - I've never used swap. I'm always afraid the extra writing will help wear down the sdcard.
[Nexus One Android Development] jbbandos:
Can we keep this civilized, please?
[Nexus One Android Development] jbbandos:
That is a possibility... Did any of you having problems with the market check the md5 before flashing?

Also, what themes are you using?
[Nexus One Android Development] b1337:
talk to the noob with the sharp tongue, i just call them how i see them
[Nexus One Android Development] Quantumstate:
All of this worked fine, except the minute it did the last reboot, I get a FC in Settings|Sound, which means that my phone will no longer ring or vibrate for incoming calls. Can't do with that.
[Nexus One Android Development] pseudoheld:
what exactly does zipalign do? i never used/activated it...maybe that had sth to do with my problems...
[Nexus One Android Development] Quantumstate:
OK MIUI.us is working for me. Doesn't seem to have a2sd and I'm low on space (20% in internal and system), but surviving.

Never any FC on Settings|Sound with .us .

Ahh, nice that SeePU works again. Didn't in Rodriguez.

held I don't think zipalign is documented anywhere easy. I haven't looked very hard though.
[Nexus One Android Development] habs25:
Reboot into recovery and try flashing the froyo version, it'll prompt you once you click flash. Use the file found in the thread below.

http://xdaforums.com/showthread.php?t=871585
[Nexus One Android Development] deenoo:
Basically it aligned on 4-byte boundaries to allow a reduction in the amount of RAM consumed when running the application

http://developer.android.com/guide/developing/tools/zipalign.html
[Nexus One Android Development] jbbandos:
I see deenoo gave a better answer faster than me... :)
[Nexus One Android Development] husnain17:
wiped cash and dalvik and updated to .22 everything looks fine till now :D
[Nexus One Android Development] xavierjohn22:
Can i just say lol here jb? Lol.

Ey,

I pushed an mms apk update yesterday, i did not even noticed that i forgot tto remove the last tab in mms for english users, my wife's to good to ignore. Lol.

Its over at miui cm updater
[Nexus One Android Development] husnain17:
Well there us one issue I have with this rom. The market dosent seem to work for me it force closes every time I try to launch the market app.

Any suggestion??
[Nexus One Android Development] timmoty_g:
Hi XJ,

Can I have direct link to the mms apk?

Thanks and regards,

Timmoty
[Nexus One Android Development] timmoty_g:
I'm doing fine with the market app.

Usually, when it fails on me, I would force stop, delete data and cache and relaunch it (in case you have not tried this method).

regards...
[Nexus One Android Development] timmoty_g:
JB,

I must say that XPART somehow is not stable for N1.

It is somehow stable with HTC Desire, I installed XJ's rom into my wife's HTC Desire and no complain so far.

But the main difference is that I installed the Atroy's kernel for XPART.

I think XJ would be in better position to explain if such custom kernel would be needed to run XPART or not.

Thanks and regards,

Timmoty
[Nexus One Android Development] jbbandos:
You had good reason to forget even updating the ROM... :)

I think I'll start adding the CM updater to my ROM by default.
[Nexus One Android Development] jbbandos:
Seems like we need to delve into kernel development to fix XPART for the N1. I have tried to search for the sources of the XPART and A2SD MIUI kernels, but haven't had much luck.
[Nexus One Android Development] xavierjohn22:
You could try data2sd kernels for n1, the xpart also as the sqlite modded for htc desire thats why.

Users in my thread flashes manu kernel without issues.

Your best choice would be rom with data2Ext in n1 to try
[Nexus One Android Development] xavierjohn22:
Sorry its in miui cm updater. Just flash miui cm updater in my thread op and show all options
[Nexus One Android Development] ultra99:
so what kernel would you recommend for xpart, data2sd, or data2ext on the N1?
[Nexus One Android Development] [-o']:
+1 on this one. I thought at first that the market failed because I installed in on the 1.7.17 release, over the old market. But still after 2-3 fresh rom-flashes, full wipes and everything, the market still FC on me. Makes it nearly impossible to use this rom! The delete cache etc, doesn't help!
[Nexus One Android Development] MR_EVIL:
folks this rom is ossum.......i dont have any issues with this rom....im using tiamats kernal http://tiamat-dev.com/tiamat_n1/
[Nexus One Android Development] jbbandos:
The problem is precisely locating a data2sd kernel to the n1, preferably with sources so we can check what is different. Do you know if the MIUI devs have these kernels available for download?
[Nexus One Android Development] jbbandos:
This one is really strange. I really have no idea on what is going on as I can't reproduce it here.

What if, besides doing a wipe, you also wipe everything in the sdcard/MIUI/.cache?
[Nexus One Android Development] husnain17:
I force closed the market app, wiped market cache and wiped market data. But still the market app force closes whenever I try to open it.

Do you guys have any other suggestions?
[Nexus One Android Development] jbbandos:
Clearing /sdcard/MIUI? It will remove all the themes you downloaded, etc., but might help. Rename it to something else and reboot, lets hope that will fix it.

As I said, I can't reproduce the problem here, so I am grasping at straws trying to understand what is wrong and how to fix it.
[Nexus One Android Development] Quantumstate:
Maybe a FC on Market would be because you restored Market using Titanium? Should always choose Restore Missing Apps.
[Nexus One Android Development] jbbandos:
1.7.26 is up, as an update pack, flash it on top of 1.7.22.
[Nexus One Android Development] liderzre:
Market still FC on this rom :(
[Nexus One Android Development] jbbandos:
I really don't know what to tell you, as I can't get that to happen here.

Have you tried another MIUI ROM to see if it also happens?
[Nexus One Android Development] paoloc67:
works perfectly for me
[Nexus One Android Development] husnain17:
Downloading the update pack now.

will tell you about the market app FC once i install it.
[Nexus One Android Development] liderzre:
Only with this rom.

Dont know why.

:(
[Nexus One Android Development] xavierjohn22:
Try menu, settings, application, manage application, look for market, clear data.
[Nexus One Android Development] gui.aguiar:
This is a great mod!!! I'm loving it! Thanks jbbandos!!!

Just one question... How should I install this new update? Which is the improvement??
[Nexus One Android Development] eidros:
Updated ROM to 1.7.22

Hi guys,

I upgraded to 1.7.15 on 17 July and left for Australia on 19 July and got home (Malaysia) on 27 July. Had the .15 ROM running almost flawlessly thru out my vacation. I was really happy with the miui camera on this rom. The auto focus work brilliantly and the shots came out very well. At least my wife was impressed with my shots :)

I upgraded to 1.7.22 on my prepaid 3G in Australia and installed the upgrade by just wiping the caches 5X. Everything work fine and no FC's what so ever. Today, at home, I just upgraded to 1.7.26 with just wiping caches 5X and everything seems okay for the moment.

BIG thank you for your excellent work on the rom. This is becoming my favorite MiUi ROM :)

Has anyone installed Viber and got it activated successfully?