yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] tiputus:
Hello,

Quite new to rooting, custom ROMs etc etc. However I've rooted, s-off, partitioned sd and tried few custom roms succesfully.

Then I tried Miui XJ d2ext/x-part 1.10.7. FAT32+1Gb Ext4. Alpharev S-off bravo stock. And I fell in love... =) Worked great. Fast, stable and lots of space.

Then I noticed that there's newer version (don't know why I missed it first) and after reading this thread more carefully that I should(?) have swap-partition (also read that it's not necessary, I know).

Well. I decided that I add swap (100mb) to my sd and install the latest version (1.10.28 at that time).

After doing this I've had lots of FC's and my phone have frozen many times. Updated to 1.11.4 (same problems) and then to 1.11.6 (no difference).

Decided to try A2SD. Wiped everything in recovery as I've been doing always when installing new version. Installed A2SD 1.10.14 and did the commands in terminal as instructed. No difference. FC's and phone freezing under heavy use.

Next thing I'm going to do is to remove the swap and install D2EXT again with just one EXT4 partition. I'm suspitious that the swap is causing this all. I'm not supposed to enable the swap manually, am I? It should work out of the box without any commands at terminal etc?

What is the benefit of having swap partition? Am I supposed to get better performance with swap? Can it cause my problems?

What is the benefit of having more than one ext4 partition? Can the problem be that I only have one (1Gb EXT4)?

One more thing. Everybody's talking about Class 2,4 and 6 sd-cards, is class 8 "too fast"? My SD is 8Gb Class8. Can it be a bad thing? I suppose it can't be bad thing if something is faster... can it? You guys who understand more tell me if I'm wrong...

Thank's for answers in advance.

Antti
[Desire Android Development] i.amtom:
Hi, im quite new too can you tell me what a swap partition is.

-------

By the way, there is no such class 8 card i know of, there is only 2,4,6 and 10?
[Desire Android Development] flashjordan:
Hey Juky

Flashed zip in recovery and it installed and prompted me to reboot...which I did......there's no difference in the phone qsi and terminal both say 40mb of cache which looks to be in its normal place..cache lol.

The script log is not there in the sdcard.

And wind up Knight wont download due to the usual message"not enough space" smaller apps install no probably.

I'll leave out logcat unless you want it. Here's a couple of errors from the start.

Running ENG build: no pre-dexopt!

Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.contacts (protectionLevel=2 flags=0x8be45)

Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone

Unknown permission android.permission.WRITE_INTERNAL_STORAGE in package com.miui.player

not failing over to mobile type 0 because Mobile Data Disabled
[Desire Android Development] tiputus:
Oh yes, forgot. You're right.

But then what it is? Writing speed is 8mb/s.

It's faster than class 6 and slower than class 10.
[Desire Android Development] i.amtom:
Hey guys,problem here

I fixed my 16gb class 4 sd card by formatting it on the phone.

I boot into Gparted and it says i have 14.9GB allocated memory.

I change the allocated memory to fat32 by going...

"Right click" on allocated memory

"New"

"Primary partition"

"Okay"

(I make sure that all the memory is in "New size (MiB)")

Now i have a fat32 with 14.9GB memory

I then resize it by "Right Click" "Resize" and putting 1000MiB in "Free space following (MiB)"

Click "Okay"

By now i have 1GB allocated memory.

On it I...

"Right click"

"New"

Make sure it's primary partition

"Ext4"

"Okay"

(Making sure i have 1000MiB in "New size (MiB)")

I do the same again but with

300MB

this time

I resize fat32 by "Right Click" "Resize" and putting 300MiB in "Free space following (MiB)"

By now i have 300MiB allocated memory.

On it I...

"Right click"

"New"

Make sure it's primary partition

"Ext4"

"Okay"

(Making sure i have 300MiB in "New size (MiB)")

I close down Gparted, reboot my phone and it says...

With...

Fat32 - Remaining

EXT4 - 1000MiB (1GB)

EXT4 - 300MiB (0.3GB)

SD card damaged, you may have to re Format it.

---------- Post added at 05:38 PM ---------- Previous post was at 05:28 PM ----------

This could be down to many things, normally the SD card classes are a just a rank and don't actually stand for their mb/s. You also get the manufacture differences.

Example:

SanDisk have ultra and extreme as well the normal ranks 2,4,6,10

Your SD card class will be a small number on the front of the SD card which is circled.
[Desire Android Development] flashjordan:
I.am.Tom if the gparted video clip it said a really important thing to do was either mount or unmount the SD card when you finish the partioning your card. Did you do.that
[Desire Android Development] i.amtom:
I don't actually remember, but ill try again and see what happens, be right back.

---------- Post added at 06:18 PM ---------- Previous post was at 05:47 PM ----------

I've just tried again, no luck, same problem. If what u meant was unmount USB storage before closing down GParted or pulling out USB cord then, no luck.
[Desire Android Development] tiputus:
Ok. Had to take it out and take a look. It's class 6.

Thanks =)
[Desire Android Development] MKuiter:
@i.amtom

What if you make the two or three partitions from scratch (so no resize), do you still get the damaged card message?
[Desire Android Development] sushidog:
Hey, that's an onion on status bar left side? Are you using Tor? Where did you get it? Orbot?

Sent from my HTC Desire
[Desire Android Development] flashjordan:
I never used g parted but in the video the Guy deletes the allocated spaces to make unallocated spaces...he then builds and applys an allocated space for fat32. In the remainder of the unallocated he allocates it to ext3 and sets it to primary.

You have said you allocated space for partitions in already allocated space.....this might be the problem.

If you try again do it as per video....only difference is the extra partitions.
[Desire Android Development] tiputus:
Yes. I'm using Tor with Orbot. It's on at the moment at my Desire, but I'm writing with PC. Desire must be connected to this thread via Tapatalk, that must make the onion visible. Can't see it myself though and didn't know about that. =)
[Desire Android Development] kmaq:
In the gparted, delete all the partitions, then apply. create new paritions in the unallocated space.

1. create new partition for 13.6Gb fat32 - primary

2. create new partition for 1Gb ext4

3. create new partition for 300mb ext4

then click apply (refer the video of gparted)

it should then refresh display the partition details.
[Desire Android Development] flashjordan:
I stand corrected fat32 is primary....geez wife was.nagging in my ear
[Desire Android Development] ethereal123:
Why my phone is going back to sound mute mode after call, this started since morning when i activated mute mode from toggle. restarted phone. still the same.
[Desire Android Development] flashjordan:
Its probably just remembered your settings in personnel /sound and vibration.....toggle off the silent mode and see if that helps after rebooting......

Ok I maybe missed the point ....I just called my mobile from my house phone....pulled down the answer bar....selected more and selected mute......hung up call......phoned my mobile again and the mute was deactivated.

Then again maybe I'm not missing the point......is it as described in what I've just mentioned???
[Desire Android Development] ethereal123:
Thanks for reply and SS. But even this did not solve the problem. Here is what I did this morning, may be I was not clear in previous post.

-Activated mute from toggle.

-Switched back to normal after about 1 hour of meeting(again from toggle). Now everything is fine, i dont see icon in bar any longer.

Make a new call to my home,hang up and NOW suddenly mute sign comes back in bar.

Strange,but this happening to my phone. Tried restart and changing to default theme.
[Desire Android Development] flashjordan:
I've just been mucking around with the toggle in the status bar..it mutes the ringer. It activates the switching on of the on/off switch in the previous picture

Pressing volume down also shows the mute icon in the status bar.

Try resetting volumes back to factory settings see pic.
[Desire Android Development] Shehabi:
After I install this ROM.. my headset microphone is not working

I check it on my BB and other ROMs.. it's working without any problems !!

Any help plz
[Desire Android Development] jukyO:
Hi flashjordan,

thanks for all the attempts, I'll try different approach.

Cheers!
[Desire Android Development] william2004321:
I want the htc browser back.

The MIUI browser is too laggy.

Can somebody tell me what should i do, please?
[Desire Android Development] ethereal123:
Thanks,tried reset as well, no luck. going to reflush rom again. cheers. will update if that solves my problem.
[Desire Android Development] 3f1f37:
HTC apps dont work on MIUI, as HTC modifies the entire OS including the framework. The same thing applies with MIUI apps, they dont work on Sense ROMS.
[Desire Android Development] jukyO:
Hi flashjordan and other A2SD users,

attached completely new approach to increase cache size on MIUI. It is adopted CM7 HBOOT script.

After nandroid backup and flashing in recovery, try to download 41+ Mb apk, e.g. Wind-up Knights.

Thanks in advance guys.
[Desire Android Development] xavierjohn22:
What htc browser?

From the start the browser is miui, you have two browsers there too
[Desire Android Development] _imac_:
Slow SD card speed :(

I just noticed that write speed is too slow again via USB like it was a few releases ago ((

Then it was fixed and now it appears again ((

I have class 10 memory card and now write speed 1.3 MB/s

on 1.10.23 or later I dont remember it was 9 MB/S.

I dont like this ! :mad:

xavierjohn22, can you fix this or its only miui team issue ?
[Desire Android Development] flashjordan:
Hi Juky

Flashed zip in recovery......it says installed so I rebooted......terminal and qsi reporting 40mb cache as per default....wind up night wont install due to size.....

Please note I'm s-on maybe somebody a2sd s-off can give it ago....,.is the adjusting the hboot table.

Cheers anyway.
[Desire Android Development] dziegiel:
Then change ROM
[Desire Android Development] jukyO:
This should work. It is not adjusting HBOOT table.

Can you please enter the following command in terminal:

su
cd /system/etc/init.d
ls -all

Thanks.

Sent from MIUI powered phone
[Desire Android Development] flashjordan:
Here's terminal screen dump.

Cheers.
[Desire Android Development] i.amtom:
This is annoying, I've tried the same thing with a different SD card 4GB class 2 and when I've finished, I boot up and open quick system info pro, it says no a2sd data available? i got back on Gparted and the partitions are still there without a problem?
[Desire Android Development] jukyO:
Delete old 08newcache script with root explorer. Then in terminal, do:

su
cd /system/etc/init.d
chgrp root:shell 08cacheresize

Then reboot phone and try to dl apk again.

Sent from MIUI powered phone
[Desire Android Development] flashjordan:
No working mate.

Deleted both 08 scripts with root explorer and deleted all cache zips with file explorer...

...rebooted phone and ran this command.

Downloaded your script again and flashed it.....it says installed. So I went straight to reboot other than apply zip (cmrecovery) if I try to apply I get an error saying something like can't open e the package is empty this is why I install and then go to reboot.

Anyways no change to phone.....

Ran command again and got this.

Also root explorer shows two 08 scripts again.

Any ideas.
[Desire Android Development] flashjordan:
Have you activated a2sd yet. Did you delete allocated spaces first to create unallocated space.

Then allocate the spaces as per post a couple of pages back?
[Desire Android Development] roenano:
Download "terminal emulator" app from market, open it and type:

su (enter) (approve root permissions)

a2sd reinstall (enter)
[Desire Android Development] jukyO:
In terminal:

su

cd /system/etc/init.d

rm 08newcache

chgrp shell 08cacheresize

reboot

Sent from MIUI powered phone
[Desire Android Development] flashjordan:
The command does not work. I just returns down to the next line.

I rebooted and there's still two 08 scripts.

Edit manually set intd folder to r/w and ran command and got this.
[Desire Android Development] i.amtom:
im using x-part, but the a2sd bit of quick info shows your partitions, i think
[Desire Android Development] flashjordan:
No I don't think it will. I think it will show 1 big internal storage ..someone confirm.
[Desire Android Development] jukyO:
after you enter:

rm 08newcache

confirm with "y", do not copy/paste all at once, do it line by line.

Other things are ok.
[Desire Android Development] i.amtom:
neither does my a2sd app tho
[Desire Android Development] flashjordan:
Er whilst I was waiting I done a nand restore and reflashed your latest script...no change to phone but root explorer showing one 08 script. That game still wont download.
[Desire Android Development] flashjordan:
What size did you make your ext partition and what size is your internal storage.
[Desire Android Development] i.amtom:
fat32 - remaining

ex4 - 1000(MiB)

ext4 - 300(MiB)

4gb 2 class sdhc

150MiB internal
[Desire Android Development] xavierjohn22:
If your on xpart the internal and a2sd in qsi will show the value if your ext partition, thats where the data... is.

In system settings it will show up in the a2sd+ field

Technically theres no a2sd because its data to ext. It just shows info per the ext made

Sent from my HTC Desire
[Desire Android Development] flashjordan:
Have you allocated ext space on top off allocated fat32 space.

I.e

() brackets mean

(partition start

Partition stop)

Have you done your partion like this.if you know what I mean.

(........fat32.........(...ext4...)(..ext4..))

The Guy in the video set it like below.

(........fat32........)(..ext4...)(...ext4...)
[Desire Android Development] i.amtom:
Im done for the day today but ill take pictures tomorrow first thing, thanks.
[Desire Android Development] dsbnz:
In relation to this, can SuperMarket be removed safely? As far as i understand the app only applies in China? if it can be removed can the method via gscript light be used, if so, how?
[Desire Android Development] Shehabi:
After I install this ROM.. my headset (( microphone )) is not working but the headphones works great !!!!!

I check it on my BB and other ROMs on another HTC desire also .. it's working without any problems !!

what i have to do !!!

Any help plz
[Desire Android Development] f4rell09:
+ 1 here, i agree. headset not working when using skype, viber, tango, yahoo messenger. it only works when playing music?. any ideas XJ.. OR anybody there can help.. thanks..
[Desire Android Development] MKuiter:
Don't know about the script but the SuperMarket app can be removed safely.
[Desire Android Development] dsbnz:
Just tried using same script, but replacing MXBrowser.apk with SuperMarket.apk, and seems to have done the trick.. Cheers :)
[Desire Android Development] xavierjohn22:
Yeah you can remove safely,

Same thing just replace the filename in my script.

And sorry for that mate, i wont remove it in rom, it has to be the default miui china structure

To all users,

Chinese who wants deodexed use my rom, my wife use my rom, i express before, chineses are my main users too.

Im in a more mandarin speaking country thats why the rom was zh and en in the first place

So we use it here.

Sent from my HTC Desire
[Desire Android Development] xavierjohn22:
My headset (thc desire default) works well with xpart. I called yesterday

Your headset is other brand?

Sent from my HTC Desire
[Desire Android Development] dsbnz:
No prob :), just trimming back a few things that i dont use. cheers for the info :)
[Desire Android Development] xf69:
error

hello,

i've got an error since many releases and can't find a solution for that. when i flash the rom (full wipe before), enter my google account, access the market and download a third-party contact manager (like Go Contacts EX) i've got a problem. every time i tap the "make a call" green icons on a contact my phone makes a soft reset...like hanging for 4-5 seconds and then showing the bootlogo and then the miui lockscreen. the whole process takes about 10-15 seconds. but i can't make a call from the app, same with other apps which accesses the dialer.

Have tried different versions (A2SD/XPart), different Radios and different Rom Versions...anyone a clue to solve that? thx...
[Desire Android Development] bongersj:
Take a look at the Superuser tool. Click on log and search for your contact manager. Set permissions to allow if it's not.
[Desire Android Development] whitetigerdk:
The reply by the emulator says it all.. the 08newcache is not a file but a directory.. try to do a 'cd 08newcache' (without the ' ') then do a ls .. if one or more files is listed the delete them.. then move back a try with 'rd 08newcache' - or just simply try the rd command at first..
[Desire Android Development] xf69:
that helped me. great thx :)
[Desire Android Development] mhulsegge:
Is this still about that wind up knight game ?

I haven't read your entire chain of messages, however I'm on A2SD verison of the rom, using CM7 hboot, S-Off.

I've got the CM7_HBOOT_MIUI_MOD.zip installed, and no issues here installing windup knight.
[Desire Android Development] elbatross:
Hello guys.

Can i move the entire app to the sd-card with a2sd? I download the a2sd app from the market but still lot of mb's stay in the internal memory.

In the sd-card menu settings from miui it says that i have 0,98 gb of capacity and 0,98 gb free. Very strange because i moved some apps to the sd card with the a2sd app.

I have ext3. Did in do something wrong?

Greetings frank from the netherlands
[Desire Android Development] flashjordan:
Yip im afraid its still the same thread..were trying to create a new larger cache for a2sd stock hboot table which is only 40mb.
[Desire Android Development] _imac_:
Hello guys!

Sorry that I repeat question. Does anyone have this problem?

http://xdaforums.com/showpost.php?p=19164512&postcount=16113
[Desire Android Development] i.amtom:
Everything goes to the SD card when you download it, even if it appears to be in the internal storage, some can't be moved to SD card in your app because it may have widgets etc...But still it's in the SD card.

Your internal storage still goes down though, very slowly. It because of the apps cache. I've reach 120 apps with 50mb left on my desire so far. A2sd, though now im on x-part(with my own problems lol)
[Desire Android Development] kmaq:
i think you havent activated the a2sd. check OP post#3

ACTIVATING A2SD+

THESE COMMANDS ARE WAY BACK FROYO DAYS

SEE LATEST MIUI CHANGELOG IF EVER THIS CHANGED

- get terminal from market

- Type su

- Type a2sd zipalign

- Type a2sd cachesd

- You may even need to do a2sd reinstall
[Desire Android Development] Shehabi:
i have the same default !! from HTC it self !
[Desire Android Development] i.amtom:
I've just bought a SDcard reader from Amazon, i'm starting to think my problems may be due to the fact i was making partitions from my phone via USB, good move?
[Desire Android Development] 1982Strand:
Try flashing THIS

Not sure wether it will work or not, but worth a try :D
[Desire Android Development] flashjordan:
No joy there is only one 08newchache which is in system/ect/init/08newcache.

Rd and CD or chdir don't work on terminal on phone.
[Desire Android Development] stuben32:
Problems with Miui-XJ

Hi I have been using Miui-XJ for a while and i love the rom - However i have a problem now...and its a strange one at that.

I dropped my phone the other day and now my camera and led arent working, and since this i cant have miou on phone!! Just re-boots when it gets to the home screen

Sense roms are OK to make matters stranger.....

Any ideas?
[Desire Android Development] bongersj:
I can confirm an issue with HTC headset microphone. It's not working in calls or for voice search.

When I try to do a voice search the phones microhone is disabled and the headset one not working.

Is it possible that there is a conflict with a buildin (Musicplayer) or 3rdparty app (Poweramp)?

I'm using a old Desire (Amoled) with original headset and latest xpart version.
[Desire Android Development] chickenz88:
I have cm7r2 hboot, and after flash your A2SD version, my /cache size is only 5mb, I cant install any apps from Market which larger 5mb....

Any idea?
[Desire Android Development] sp1ke11:
Flash cache fix: http://dl.dropbox.com/u/12639990/CM7_Hboot_MIUI_MOD.zip
[Desire Android Development] Amin.rapture:
hi everyone

i use 1.11.4 GB 2.3.7 EN a2sd

when i connected my phone to my wi-fi , download an update ( to 11.6 )

when i download and restart to recovery , i can not flash that Zip file..

i see abort Error..

i have Alpha recovery and ClockworkMod

What is problem?

ThnkS

.

.

.
[Desire Android Development] kmaq:
check the path of the downloaded update .zip file and try flashing it manually from the recovery mode.
[Desire Android Development] chickenz88:
It's ok now... Thanks man!
[Desire Android Development] _imac_:
Thanks ;)

Now it's much more faster! Up to 9-10 MB/s.

Great!
[Desire Android Development] kmaq:
Issue with receiving file via Bluetooth

today my friend wanted to share a photo from his Samsung GS2 and sent a photo via Bluetooth. No issue with pairing with that device and receiving. when it was 98% my phone rebooted. This happened 3rice, after reboot when i try opening the file it says file is corrupted. did anyone face this kind of issue before? Any solution to overcome this issue?
[Desire Android Development] techtechnique:
I'm using some premium BlackBerry headphones which are much much better quality and can confirm that they work perfectly with my X-part MIUI Desire.

MIUI-XJ Desire
[Desire Android Development] rmg2:
+1 for BlackBerry headphones which i use, indeed much better quality.
[Desire Android Development] xavierjohn22:
How about something like this?

CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)

if [ $CACHESIZE -lt 50000 ]

then

mount -o bind /data/local/download /cache/download

fi

rm /cache/download/downloadfile*.apk >/dev/null 2>&1

exit 0
[Desire Android Development] jukyO:
Hi XJ, thanks for reply,

I might try, but I don't believe its possible since /data partition has less then 40 Mb:

bash-3.2# df -k /data

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock5 151168 113544 37624 75% /data

and /cache is empty:

bash-3.2# df -k /cache

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock4 40960 1164 39796 3% /cache
bash-3.2# pwd

/cache/download
bash-3.2# ls -la

drwxrwx--x 1 system cache 2048 Nov 9 14:25 .
drwxrwx--x 1 system cache 2048 Nov 9 09:07 ..
bash-3.2#

Cheers.
[Desire Android Development] kmaq:
:confused: no one faced this issue :confused:

any suggestion or solution would be helpful :cool:
[Desire Android Development] sushidog:
I just HATE last version of MIUI default browser (1.11.4).

I just HATE last version of MIUI default browser (1.11.4). :mad:

I HATE not having just one home page with everything;

I HATE the last history implementation and deletion, less obvious and accessible;

and, yet to be solved,

I dislike the fact that MIUI never implemented auto-delete history on exit (like in Dolphin);

I dislike the fact in MANY occasions it's impossible to download simple image files, like jpg, png, gif (once again, Dolphin can do it).

I dislike not having an easy accessible button Android/Desktop toggle (like in Maxthon).

Well, even so I'm using it most of the time. Not the last version, of course, because I just HATE IT (I removed it and installed the one from 1.10.14). :cool:
[Desire Android Development] rawdealer:
Just hates and dislikes......hmmmmm very positive

sent from my S-OFFed Sensation