Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
lenny_kano
Old
#61  
lenny_kano's Avatar
Senior Member
Thanks Meter 666
Posts: 636
Join Date: Oct 2011

 
DONATE TO ME
Quote:
Originally Posted by marius.a View Post
terminal

su
a2sd check


from what i see in your screen shot, a2sd is enabled, but you have dalvik on internal.

to move dalvik use also the terminal and type:

su
a2sd cachesd
Not on this Rom (afaik).

Type "mount" or "df" to see how partitions are mounted and how much memory is being used.
Lennox | Xtreamer Mobile Developer
xtreamermobile.com
All-around Android nice guy
The Following User Says Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
 
jukyO
Old
(Last edited by jukyO; 3rd May 2012 at 12:14 PM.)
#62  
jukyO's Avatar
Senior Member
Thanks Meter 220
Posts: 1,323
Join Date: Feb 2011
Location: Ogulin
Quote:
Originally Posted by lenny_kano View Post
Not on this Rom (afaik).

Type "mount" or "df" to see how partitions are mounted and how much memory is being used.

Correct Lennox. Here are outputs:

Code:
root@android:/ # df
df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   207308        32    207276   0% /dev
tmpfs                   207308         0    207308   0% /mnt/asec
tmpfs                   207308         0    207308   0% /mnt/obb
/dev/block/mtdblock3    256000    182960     73040  71% /system
/dev/block/mtdblock5    151168    135472     15696  90% /data
/dev/block/mtdblock4     40960      1180     39780   3% /cache
/dev/block/mmcblk0p2   1032088    176644    855444  17% /sd-ext
/dev/block/mtdblock5    151168    135472     15696  90% /cache/download
Code:
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro,noatime,nodiratime)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,stripe=64,data=ordered)
/dev/block/mtdblock5 on /cache/download type yaffs2 (rw,nosuid,nodev,relatime)
So obviously Titanium screenshot few post back was correct.

There is another partition on my sdcard, size 300 Mb, which is there, but empty, unused. Is there a way to mount /data to this partition (as in XJs XPART)?

Any ideas how to increase internal memory?
||HTC Desire|| Nikez-Evervolv-Turba 3.3.0p1 (JB 4.2.2)|| 32.56.00.32U_5.17.05.23|| HTC-RIL 1.6.1062G||
2.6.38.8-evervolv-turba-jellybean-nikez-perfection||1Gb Ext4+14.4Gb FAT32


GUIDES
ADB Workshop and Guide for everyone
Installation guide to ADB on Ubuntu 10.10

MY Stuff
Juwe RAMscript Flashable zip
LG Keyboard
Bravia engine for Desire
CM7&MIUI sdcard read/write fix
 
lenny_kano
Old
#63  
lenny_kano's Avatar
Senior Member
Thanks Meter 666
Posts: 636
Join Date: Oct 2011

 
DONATE TO ME
Quote:
Originally Posted by jukyO View Post
Correct Lennox. Here are outputs:

Code:
root@android:/ # df
df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   207308        32    207276   0% /dev
tmpfs                   207308         0    207308   0% /mnt/asec
tmpfs                   207308         0    207308   0% /mnt/obb
/dev/block/mtdblock3    256000    182960     73040  71% /system
/dev/block/mtdblock5    151168    135472     15696  90% /data
/dev/block/mtdblock4     40960      1180     39780   3% /cache
/dev/block/mmcblk0p2   1032088    176644    855444  17% /sd-ext
/dev/block/mtdblock5    151168    135472     15696  90% /cache/download
Code:
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro,noatime,nodiratime)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,noatime,nodiratime)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,stripe=64,data=ordered)
/dev/block/mtdblock5 on /cache/download type yaffs2 (rw,nosuid,nodev,relatime)
Any ideas how to increase internal memory?
Try pc a2sd (normal +dalvik on ext), or if your sd card is fast enough, one of the d2x options (afaik the included options are the same as mine)

---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------

And in response to the other question, no, that other partition is useless.

---------- Post added at 08:48 PM ---------- Previous post was at 08:47 PM ----------

Triple post: The d2x options mount sd ext as data, but only the first one. I don't know of any logical reason to have a second ext partition.
Lennox | Xtreamer Mobile Developer
xtreamermobile.com
All-around Android nice guy
 
jukyO
Old
(Last edited by jukyO; 3rd May 2012 at 01:55 PM.)
#64  
jukyO's Avatar
Senior Member
Thanks Meter 220
Posts: 1,323
Join Date: Feb 2011
Location: Ogulin
Quote:
Originally Posted by lenny_kano View Post
Try pc a2sd (normal +dalvik on ext), or if your sd card is fast enough, one of the d2x options (afaik the included options are the same as mine)

---------- Post added at 08:47 PM ---------- Previous post was at 08:45 PM ----------

And in response to the other question, no, that other partition is useless.

---------- Post added at 08:48 PM ---------- Previous post was at 08:47 PM ----------

Triple post: The d2x options mount sd ext as data, but only the first one. I don't know of any logical reason to have a second ext partition.
Thanks for your response Lenny.

I've tried pc-a2sd, but internal memory again shows only 16 Mb free.
Will try d2ext.

EDIT:
Lennys d2x work well, internal memory is reported as 1Gb.
||HTC Desire|| Nikez-Evervolv-Turba 3.3.0p1 (JB 4.2.2)|| 32.56.00.32U_5.17.05.23|| HTC-RIL 1.6.1062G||
2.6.38.8-evervolv-turba-jellybean-nikez-perfection||1Gb Ext4+14.4Gb FAT32


GUIDES
ADB Workshop and Guide for everyone
Installation guide to ADB on Ubuntu 10.10

MY Stuff
Juwe RAMscript Flashable zip
LG Keyboard
Bravia engine for Desire
CM7&MIUI sdcard read/write fix
 
l0minus
Old
#65  
l0minus's Avatar
Member
Thanks Meter 10
Posts: 43
Join Date: Oct 2008
As I previous mentioned, yesterday I had problems with the static ip, the settings wouldn`t be remembered, and suddenly at once it worked.

Today I did a new install, but until now it is impossible to get wifi static at work, where is the static ip stored? maybe I can edit that file myself for now. Hopefully someone got an idea to get this at work.

About the installation of the rom, what is the best hboot to use? I have now the Bravo Data++, but with the installation there is no option to use this one, am I using the stock hboot, the installation completed but the root is gone.
Quote:
Device: Xiaomi Mi2
Rom: MIUI ROM 2.12.28
Retired
Quote:
Device: HTC Desire
SD: 8 GB MicroSD Card ULTIMATE SDHC Class 10
Rom: ICS MARANGE HTC DESIRE MIUI V4
Radio: 32.56.00.32U_5.17.05.23
Hboot: AlphaRev 1.8 Bravo Stock
 
ale8530
Old
#66  
Member
Thanks Meter 16
Posts: 85
Join Date: Sep 2010
Marange Hello, I'm trying to translate your rom in Italian, but when I translate the apk "framework-MIUI-res.apk" loopboot goes, you've made ​​some changes that sends the terminal block?
The Following User Says Thank You to ale8530 For This Useful Post: [ Click to Expand ]
 
lenny_kano
Old
#67  
lenny_kano's Avatar
Senior Member
Thanks Meter 666
Posts: 636
Join Date: Oct 2011

 
DONATE TO ME
Quote:
Originally Posted by ale8530 View Post
Marange Hello, I'm trying to translate your rom in Italian, but when I translate the apk "framework-MIUI-res.apk" loopboot goes, you've made ​​some changes that sends the terminal block?
framework-miui-res is a pain.

You need to install com.HTC.resources.apk from any sense Rom as 2.apk, add the line "- 2" under the - 1 line in apktool.yml, and several xmls need to be modified to change the tags from <array name=......>.</array> to <item type="array" name=.....>.</item> (from memory IDs.xml, anims.xml, layouts.xml, xmls.xml need this done)
Lennox | Xtreamer Mobile Developer
xtreamermobile.com
All-around Android nice guy
 
ale8530
Old
#68  
Member
Thanks Meter 16
Posts: 85
Join Date: Sep 2010
Thanks Lenny_kano, but want the file apktool.ylm when decompile? you know about this problem and in fact I changed the variables arrays, ids, anims, layout, xlms. , However, I added the line to the file, but nothing, is still bootloop, compilation is fine with no problems
 
soronk
Old
#69  
soronk's Avatar
Senior Member
Thanks Meter 51
Posts: 325
Join Date: Oct 2010
somehow I can't get mobile network working properly. When i activate it, there doesn't appear an error but internet won't work. The symbol appears, but there is no real connection.
sometimes after a reboot, everything is ok, sometimes not. Is this ICS-specific?
read the forum rules, the first post and don't worry, the search-function doesn't hurt you!
enjoy your phone
 
lenny_kano
Old
#70  
lenny_kano's Avatar
Senior Member
Thanks Meter 666
Posts: 636
Join Date: Oct 2011

 
DONATE TO ME
Quote:
Originally Posted by ale8530 View Post
Thanks Lenny_kano, but want the file apktool.ylm when decompile? you know about this problem and in fact I changed the variables arrays, ids, anims, layout, xlms. , However, I added the line to the file, but nothing, is still bootloop, compilation is fine with no problems
Did you install the com.htc.resources.apk as I said? It won't work just by editing apktool.yml.

It's a bug in apktool, when decompiling framework-miui-res.apk, your public xml file should be full of 0x03....... values, but when it recompiles, unless you have the dummy 2.apk and add that line to the .yml file, it recompiles it wrong and assigns all the values to 0x02........

Decompile the framework-miui-res.apk that is causing bootloops, and if the public.xml values are all 0x02 then thats your problem, means you either didn't edit the file correctly or you didn't install the sense apk in order to force apktool to use 0x03 when recompiling.

Afterthought: Actually, from memory framework-miui-res.apk in PatchRom the original public values are 0x06? Which means you need a dummy 2,3,4,5 framework to force it to assign the correct value. 3 and 4 are both in the Primo Sense 4 roms (framework-htc-res.apk and com.htc.dummyskin.apk - not sure on which one is which number though from memory). As for 5.apk, well I don't know of one so you'll have to make it yourself (just make a copy of the decompiled folder for com.htc.dummyskin.apk, add lines - 2, - 3, - 4, change all public.xml values to 0x05 and recompile and it SHOULD work. Then install all those apk's to 3.apk, 4.apk and 5.apk, add - 3, - 4, - 5 to your existing apktool.yml for framework-miui-res.apk, recompile, and it will boot.
Lennox | Xtreamer Mobile Developer
xtreamermobile.com
All-around Android nice guy

The Following User Says Thank You to lenny_kano For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
facebook who gets miui v4, vote
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...