yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] shingers5:
No pun Intended mate just went to bed with 79% battery and woke up to a dead phone. Battery drain in standby has always been an issue with miui
[Nexus One Android Development] Franc38:
That's just very weird...

Yesterday I went to bed with 90% battery after having just set the phone to airplane... Woke up 7 hours later to a phone at 89%.

You might want to check a few things: 1° was there any notification that took place ( the LED flashing every two seconds for hours might drain the battery).

2° was the wifi sleep policy set to something different from "never"? That's a common problem with some kernels (most, actually, with CM6/CM7 origins) that causes "android OS" to eat up plenty of juice for no good reason (in fact there is a "wake lock" bug that prevents the phone to really enter stand-by. Solved by changing the sleep policy, cf. supra... )
[Nexus One Android Development] pseudoheld:
agreed that sounds VERY weird. i have heard of no one who has had such an abismal battery drain.

apart from what franc said try checking if there is some app running in the background that constantly syncs (facebook or rss reader) but even that wouldn't warrant such a huge battery drain. try turning off data sync or go into airplane mode as suggested.

i myself have a tasker profile set for night which turns of wifi, sync and data connection. this leaves the phone on incase of an important call (i dont like the airplane mode ;) )

what kernel with what governor and settings are you running?
[Nexus One Android Development] walliester:
Bro it use to happen to me too , I recommend juice defender from the market,it works better with rooted phones than normal ones ,trust me check it out...
[Nexus One Android Development] Franc38:
I used to be like you... But I too frequently got calls at uncivilized hours, and I quite frequently sleep at "non-conventional" hours, so I now stop my phone, either by turning it off or by setting it to airplane (when I want it to be my alarm clock). There's nothing that cannot wait till I wake up: bad news always are too early, good news are good and will be better yet if you're well rested ;)
[Nexus One Android Development] ocujos:
Hi jbbandos,

The latest WM kernel with kickassV2 governor is the best kernel for QND A2SD MIUI on N1 imo. Have you considered making it a default on your ROM?

The only (small) issue I've found with it is a slow file transfer rate via USB of about 0.6Mbytes/s.
[Nexus One Android Development] jbbandos:
I thought about making WM kernels default, but the slow USB transfer and the problems it added to XPART on my N1 made me stay with the stock kernel. After all, flashing a kernel is fast and easy to do.

If WM fixes the USB transfer, I might provide it with the A2SD variant, until then I'll keep providing the ROM with stock.
[Nexus One Android Development] slovoflud:
Hey Guys!

Coming from G2 forums, I thought I'd post this guide I put together for all MIUI community;

http://xdaforums.com/showthread.php?t=1217527
[Nexus One Android Development] net.cat:
smartass2 rocks! usb problem? transfer via wifi via MIUI's filemanager :P

If XPART is starting to be stable ... I think I'll give it a try for the next release :P
[Nexus One Android Development] pseudoheld:
running wildmonks latest with smartass v2 on xpart is rock stable for me!

you should definately give it a try!
[Nexus One Android Development] net.cat:
should I backup the entire SD-card before to install it or a MIUI backup + a titanium backup is ok?
[Nexus One Android Development] pseudoheld:
doing an nandroid backup from recovery is always a smart idea, so yeah do that. (this saves everything. your rom, kernel, recovery, cache, data etc. just not the contents of your sd card like photos etc)

do a miui or titanium backup of your apps (which are then stored on your sd card) and you can try and restore them on the xpart install. (worked fine for me)

if you want to repartition your sd card you gotta save ALL the files to your computer otherwise they will be gone. backing up your sd card data is always a clever idea (just in case) but not necessarily needed.

dont forget to do a complete wipe (5x times) before installing xpart (not just cache and dalvik!)
[Nexus One Android Development] net.cat:
oh now I remember ... I have to re-partitionize my SD ... >.< boooooooring :P
[Nexus One Android Development] Franc38:
Not 100% necessary... You can run xpart with just 1 FAT and 1 ext 4 partition.
[Nexus One Android Development] harunjo:
after tried your rom ,change 1024 value for sd cache setting is more stable and fast than default 2048 value.

my sdcard is adata / 16gb / class 10

1gb ext4

~fat32
[Nexus One Android Development] johnnydvc:
What WM kernel version do you recommend? this one? http://www.mediafire.com/download.php?d9w80tt6dn79dwo

Is it possible to use this kernel without overclocking the cpu? (changing the values in the file name or something like that?)

Thanks,

Johnny
[Nexus One Android Development] pseudoheld:
yeah of course you can use it the way it comes. no overclocking needed.

but i would very much advise you to get setcpu (free for us xda members)

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

you can overclock and maybe even more importantly UNDERclock your cpu to save battery.
[Nexus One Android Development] johnnydvc:
Ok, thanks,

But i think that the kernel as it comes overclocks the cpu to 1152mhz, right? Or is it just the max limit for setcpu? Shouldn't smartass take care of the cpu frequency based on its needs?

Btw thnx for the set cpu information, didn't know it was as free for xda members. :)
[Nexus One Android Development] pseudoheld:
no i think comes at 999mhz, which is the stock mhz of the nexus one (would be bad if this wasn't the case because some phones can't handle the overclock.

wildmonks can be overclocked to 1152mhz and underclocked to 128mhz.

smartass ramps down to the minimum set cpu speed (stock being 245 i think) and to the max stock cpu speed (999mhz). you will need to change the mhz speed in setcpu (or sth like that) to take full advantage of the kernels power.

how did you enable smartass then? because normaly people use setcpu to change the scaler. you might wanna try smartass v2 as scaler which is basically smartass just better ;)
[Nexus One Android Development] johnnydvc:
I was talking about for example the erasmux's, flykernel and las venturas for htc hero gsm, in wich you can assign in the kernel filename (kernel flags) the frequency range for the cpu used by kernel dynamically.

Btw i will test this kernel with miui and take my results.

Many thanks for the help! :)
[Nexus One Android Development] pseudoheld:
lol that sounds complicated xD setcpu makes it far easier! just open it, chose the scaler and frequency you want and you are done ;)

try it out!
[Nexus One Android Development] net.cat:
pseudoheld did u partitioned your SD as written in the ROD's thread or using only a FAT and a ext4?
[Nexus One Android Development] pseudoheld:
i am using the simple setup.

one ext4 partition (512mb) and the rest as fat32.

works fine for me. just like jb i dont feel that writing the swap partition on the sdcard would be very good for its health...

and it feels pretty damn fast already, so i dont feel like i need rods setup
[Nexus One Android Development] net.cat:
Great! As soon as jb release the 1.9.9 XPART I'll connect my N1 to the PC and via Gparted I'll partition the SD :)
[Nexus One Android Development] pseudoheld:
unless you are aiming for RODs complicated setup you might aswell use your recovery to partition your sdcard.

if you just want ext4+fat32 amonRA or clockwork can handle that...
[Nexus One Android Development] Franc38:
You probably don't even need that!

You already have a Ext partition, and a large FAT partition, for A2SD to run...

So you only need to make sure your Ext partition is in ext 4 (can be done in recovery with AmonRa, and that doesn't format the card), then do a big nice factory wipe x5 to be really sure...

Then flash the ROM and set up/restore your apps...
[Nexus One Android Development] net.cat:
If I remember well, when you partition via amonRA (I got it) first it's asked to you the MB of the FAT, then the MB of a ext2. So if it's like this, all I have to do after set them is to convert the ext2 into an ext4 right!?
[Nexus One Android Development] Franc38:
Right...

Well, to be exact, it's convert ext2 to ext3, then ext3 to ext4... but, it's not really different ;)
[Nexus One Android Development] pseudoheld:
which also can be done from amonRa ;) (not sure if it was clear)

so no need at all for a computer!
[Nexus One Android Development] net.cat:
perfect guys! thanks 4 the support :)
[Nexus One Android Development] net.cat:
I have to report a pretty "big" bug. I just installed skype and I moved in the sd. I went to login and the phone rebooted!!! After the boot I tried again and the phone freezed.. :( am I the only one?

update: I moved back to the phone and I was able to login but in the screen to choose if sync all ... the phone freezed again -> skype uninstalled! :'(

Sent from my Nexus One
[Nexus One Android Development] Franc38:
Well, just two things...

1° In my experience, the skype app is not the best there is... Other apps allow skype calls and are more configurable/stable/light...

2° When using XPart, there's no need to move apps to SD... they're on SD anyway since "internal" is in fact the SD !
[Nexus One Android Development] athost:
Check superuser permissions for Skype
[Nexus One Android Development] milomak:
Does Trackball Alert work with this 1.92? I see it is not listed as one of the supported ROMs.
[Nexus One Android Development] Franc38:
Don't know... I've stopped using TBA ever since MiUI has multi-colour trackball notification included. Not as complete as TBA, but way more robust.
[Nexus One Android Development] MaDInDy:
Hi, JB

1.9.9 MULTI LANG Update 1 is updated. :D

http://htcfanboys.com/download/xavierjohn22/?action=browse&folder=346
[Nexus One Android Development] jbbandos:
I know... I am having a big problem with 1.9.9, seems like suport for /data/app applications is broken, so Titanium, a2sdGUI and Terminal won't work if I bundle in the rom as user apps. This isn't a problem for updates, but for fresh installs those three won't work properly.

I am pondering whether to continue trying to fix this, or if I'll just make them system apps for this release (which won't please all of you).
[Nexus One Android Development] net.cat:
I suggest you to put them as separate download. titanium is downloadable from the market, a2sdgui we can backup it from our actual ROM and the terminal is also downloadable or backupable I think ;) so for this release ... you can relax :D
[Nexus One Android Development] jbbandos:
Give me a couple more hours... I already have an idea on how to hack it (but I'd rather do a maintainable fix).
[Nexus One Android Development] timmoty_g:
I agree, you can simply leave those three apps as they can be easily downloaded and installed from Market.

I've just updated my wife's Desire using XJ's X-Part, it's really really smooth.... compared to 1.9.2 or even miui.us 1.9.9

Is it because the RAM?
[Nexus One Android Development] xavierjohn22:
Might be a good idea to leave system app or data app stock as chinas rom so no problems with other apk being affected by bugs like this. In any case it happens user can temporarily uninstall as well

Sent from my HTC Desire
[Nexus One Android Development] net.cat:
sorry guys .. one info ... where can I download this: http://code.google.com/p/miui-cm-updater/ since I can't find the apk!? The last version is the 5.0.4
[Nexus One Android Development] jbbandos:
Or possibily XJ has some tunnings different from mine, I'll have to check and see if it is adaptable. Anyway, the Desire has a lot more users and so has more developers and is better supported than our N1.

As for the apps - I nailed it. Finally I was getting tripped by the fact that root access is now off by default - it has to be enabled in the superuser app settings (menu->settings inside superuser). Baking now, will be up in a couple of hours hopefully. In the meantime I have a room to paint...
[Nexus One Android Development] jbbandos:
I leave system stock, I just add these 3 as user apps. Anyway, it can be fixed the "though" way - "pm install -r". It is even a safer way to ensure the apps are running correctly.
[Nexus One Android Development] jbbandos:
In XJ's thread, I have it linked in the OP. I think he has it in the first post.
[Nexus One Android Development] jbbandos:
1.9.9 finally up - and didn't have to remove TB, Terminal and A2SDGUI... :)
[Nexus One Android Development] net.cat:
you're the man!!!!!!!! :D xpart I'm comming!!!!!!
[Nexus One Android Development] timmoty_g:
Hi JB,

Something wrong with multiupload? I can't seem to find the file.

Thanks a lot man for the update.

Regards,

Timmoty
[Nexus One Android Development] timmoty_g:
Correction, hotfile is working.
[Nexus One Android Development] net.cat:
Last thing, I hope, I got an annoying problem. MIUI has put some orange tips ballons some where and time to time they appear ... 4 example during a call ... can I disable them all with 1 shoot? :P
[Nexus One Android Development] debay:
nice rom, but for everyone who wants to try this:

when someone calls, the screen doesnt turn on (happens only when phone was in sleep mode some time) - pretty annoying stuff, maybe the proximity sensor switch may help - but i want the screen to turn off during a call, so its no option for me.

miui messes up some apps, for example business calendar... hours in week view are out of place, and margins and paddings are not correct in some places. (Calengoo looks akward too...)

otherwise good, xpart is great!
[Nexus One Android Development] jbbandos:
They should only show once... Hopefully MIUI will have a setting to disable the tips some day.
[Nexus One Android Development] jbbandos:
I don't see that problem waking from sleep... What kernel and governor are you using? I'm running the latest wildmonk's with smartassV2 governor, and it indeed seems a lot faster and more stable than the previous WM.
[Nexus One Android Development] pseudoheld:
updated to last xpart and all seems good!

used it with stock kernel a bit and then updated to wildmonks latest with smartassv2 and must say its a world of difference...so yeah...basically install WM kernel if you havent done so yet ;)
[Nexus One Android Development] net.cat:
using the xpart version, in the a2sdgui where should I set to move the apps? to the sd like 4 the "normal" version?
[Nexus One Android Development] xavierjohn22:
xpart moves whole data structure to sdext so no use for a2sd gui or commands

Sent from GT-P1000 running MIUI
[Nexus One Android Development] net.cat:
neither to enable zipalign and/or RAM policy!?
[Nexus One Android Development] jbbandos:
I have already ram policy tuning, and the ROM is zipaligned, but yes, you can use that part of A2SD GUI.
[Nexus One Android Development] net.cat:
am I doing a wrong thing clicking "move to SD" in the panel where I have all the apps listed!?
[Nexus One Android Development] pseudoheld:
yes you are :D xpart doesn't need you to tell it to move stuff to the sd. EVERYTHING that you install automatically gets moved to the sd card.

since installing xpart i havent once messed with a2sdgui or the app settings. just let it do its own thing.

you can use a2sdgui to check the space available but i wouldn't mess around with anything else...
[Nexus One Android Development] net.cat:
I wasn't referrint to a2sdgui but the android apps managment panel!

anyway everything seems to be ok and fast but I got an huge problem ... the 3G networking is not working anymore!!!!

Suddenly I got no service message and then only SOS calls! :_(

As jb I got the italian 3 as operator ... I was setting the phone and suddenly, I don't know why, I can't connect to 3G anymore and I need it otherwise I can't use 3 SMS and phone calls's costs :/
[Nexus One Android Development] pseudoheld:
i was referring to both (a2sdgui and the android apps panel) both of which needn't be touched when using xpart. the android apps panel option "move to sd" is useless because the apps already are on the sd card. moving them to the android counterpart of apps2sd would maybe make thing worse so better not touch that option ;)

as for your 3g problem i have no idea whats happening. maybe the apn connection has some error.

go to options-system-mobile network and try and play around a little with those settings...maybe the phone didn't recognize your operator automatically...?!

good luck with that!

edit: maybe your 3g problem is really simple, could it be that you deactivated data connection by mistake? in the dropdown miui menu there is a toggle for data connections. i know this sounds stupid but sometimes the easiest solutions are the right ones ;)
[Nexus One Android Development] net.cat:
it's strange since it was connected right then ... puff! data connection needs to be deactivated or my battery ... bye bye :P maybe there's some kind of maintance in the area ... :(
[Nexus One Android Development] jbbandos:
I've had some problems with 3, but usually would be that I would still be connected but no data would pass... :( I have installed the "APN Italiani" app from the market to enable MMS but even having the APNs set by it sometimes I need to switch to aeroplane mode and back to get data connectivity. A friend with a iphone complains of the same problem, so it seems that 3 sometimes has these glitches.
[Nexus One Android Development] GenghisKhan67:
Has the wifi drop issue been fixed yet? I won't budge from the 1.7.x tree until then.
[Nexus One Android Development] pseudoheld:
i'm not quite sure what you mean with the wifi drop issue but wifi for me is working as expected with no problems what so ever...
[Nexus One Android Development] net.cat:
no wifi issue. I think it's a 3 problem anyway ... damn ... what a coincidence >.<
[Nexus One Android Development] milomak:
I have a strange problem where all apps force close when I choose the option for Notification Settings. Any ideas how I can troubleshoot this?
[Nexus One Android Development] thatguyzx:
This wlan issue started when 2.3.5 was introduced. I was only affected at home; which then is fixed by me changing router settings DCHP Lease to anything but "forever" or "0." Of course if it affects you on a router not of your own, the problem remains. I thought i read CM7 has a fix for that already.
[Nexus One Android Development] milomak:
here is a logcat of it happening in handcent - http://pastebin.com/kiVgcabM

this is on 1.92 btw
[Nexus One Android Development] jbbandos:
Seems like a problem accessing a database file - /data/data/com.android.providers.media/databases/internal.db

Are you running a2sd or xpart?
[Nexus One Android Development] ocujos:
I installed 1.9.9 XPART last night (was running A2SD before) on a single EXT4 partition. I've also installed the latest Wildmonks kernel and OC'd it to 1152MHz (using smartassV2 governor). It's been running fine for the last 9 hours.

No issues so far. I like XPART version more as my "internal" flash is now 1Gb. :D
[Nexus One Android Development] timmoty_g:
ocujos,

Agreed, finally a custom kernel that works well with XPART.

By the way, do you know how to make the governor permanent?

It will reset back to "on demand" after a reboot.

I prefer some tweak that don't involved additional application.

Thanks and regards,

Timmoty
[Nexus One Android Development] b1337:
ive been using this "http://xdaforums.com/showthread.php?t=1236495&highlight=daemon" with the utility and find it to be way better than setcpu as far as how fast the governor switches and the phone becomes responsive, combined with wildmonks latest and this rom and its the best my nexus has run miui in while :)
[Nexus One Android Development] ksocoolwitit:
where are you guys getting this smartassV2 governor?
[Nexus One Android Development] jbbandos:
It is in the latest Wildmonk's kernel. I am using it now, and it is really fast and, unlike the old smartass governor, very stable.
[Nexus One Android Development] net.cat:
isn't there any way to mod the statusbar? I'd like to see more a sound+vibrate/vibrate/silent switch than other unuseful craps! :P
[Nexus One Android Development] pseudoheld:
well you can switch the views and then define the switchers that you want shown. but no custom switchers like you want.

go to settings-personal-"change switches" (something like that am running a german version)-compact instead of seperat

i prefer this view over the standard view because you can sort what switches you want to see and you can have them alongside notifications instead of a seperate page.
[Nexus One Android Development] ocujos:
I use CPU Master to set CPU speed and governor automatically after a reboot.
[Nexus One Android Development] MaDInDy:
Hi, JB :D

I install 1.9.9 XPART on 4 partition layout (FAT32 + EXT4 1GB + EXT4 300MB + linux-swap 128MB)

But after installed, Second partition (extdata) is changed to EXT3 from EXT4 automatic.

This is bug on new XPART Script ?

BTW, what is the best partition layout for the most stable on your rom ?

Thx.
[Nexus One Android Development] ocujos:
What a day it's been....Right after I posted this, my 16Gb Lexar class 6 uSD card died! :eek:

It happened when I plugged in a USB cable and enabled storage. I did a 1Gb file transfer from my Ubuntu Linux laptop to FAT32 partition....and then I started getting FC's on all apps running off the EXT4 partition....Luckily, I managed to transfer all files (14Gb) before the card finally died. The card doesn't get recognized at all now.

As I can't live without my phone (who can?), I quickly went to a nearest phone store and bought a 32Gb Sandisk Class 4 card. In theory, a class 6 card should be faster than class 4 card. However, I'm getting better transfer rates and benchmarks with this class 4 card. Take a look at this Quadrant score. It's amazing!

Jose,

How do you explain such a high score? Is it because Sandisk 32Gb class 4 is faster than Lexar Class 6 card, or is it because I now use XPART ROM (or maybe both)? I use to get around 1500 on QND MIUI A2SD version.
[Nexus One Android Development] ocujos:
That's the layout from Rod's old XPART ROM. I reckon FAT32+EXT4 is the best option as writing to Swap partition may kill the card prematurely. I suspect that Running Rod's ROM in the past (with swap partition) is what killed my old Lexar card (see my other post).
[Nexus One Android Development] MaDInDy:
I will change partition layout to FAT32+EXT4 and report tomorow.

Thx, ocujos :D
[Nexus One Android Development] jbbandos:
Both - the Sandisk cards are consistently faster than their "minimum" speeds, and the XPART layout messes a bit the quadrant scores as it uses loop filesystems and other tricks to reduce writes to the card and increase speeds.

---------- Post added at 04:25 PM ---------- Previous post was at 04:24 PM ----------

You can try only deleting the swap partition, it will still work with one FAT32+2xEXT4. I find it strange that your second partition was changed to ext3, as it should happen only the other way around. Where did you see it reported as ext3?
[Nexus One Android Development] MaDInDy:
I see from MiniTool Partition Wizard when Mount USB Storage to PC. I can see partition info on SD card.

Now, I rebuild partition layout to FAT32 + EXT4 1.22 GB and reinstall 1.9.9 XPART. :D
[Nexus One Android Development] milomak:
Running a2sd
[Nexus One Android Development] ocujos:
What are the benefits (if any) of running 2xEXT4 partitions?
[Nexus One Android Development] Franc38:
Just chiming in to report what to me is a bug (in A2SD version... haven't worked up the courage to risk my SD card with XPart yet... ): there are Chinese characters in the Calendar App... Only in the month view (the one I use the most)...

And something that's not a bug, but still... ever since a few versions away, days with an event appear with a corner, when there was a line covering part (or all, or successive, or... ) of the day to show the events... I preferred that previous way.