yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] FloHimself:
Nice scripts. BTW: instead of clearing the dalvik-cache you may use fusecompress_offline to compress on first run...
[Desire Android Development] FloHimself:
The option allow_other doesn`t change the permissions on the files. Without this option fuse would protect other users processes from using this filesystem and it would only be visible to the mounting user. Otherwise the mounting user could do nasty things to other users processes...
[Desire Android Development] FloHimself:
Try this one...
[Desire Android Development] kubus-x:
Hmm, strange...

I played around with this for some time. To be able to compare what's really happening, I put the compressed data in a different directory, and compared the file sizes.

I noticed that files owned by root are apparently not compressed at all.

Is this intented, or is it just coincidence? I can't find anything in the current fusecompress sources suggesting this behavior.
[Desire Android Development] FloHimself:
What options do you use?
[Desire Android Development] kubus-x:
fusecompress -o cache,cache_size=20 /data/dalvik-cache-compressed /data/dalvik-cache
[Desire Android Development] FloHimself:
Here it seems to work correct...

File test is created by root:

sh-3.2# ls -la /data/dalvik-cache/test
-rw------- 1 0 0 10858 Sep 3 11:47 test
sh-3.2# /data/local/bin/du -sh /data/dalvik-cache/test
6.5K	test
sh-3.2# /data/local/bin/du -sh --apparent-size /data/dalvik-cache/test
11K	test

What options show "mount"?
[Desire Android Development] kubus-x:
Here:

sh-3.2# ls -l dalvik-cache/system@framework@framework.jar@classes.dex

-rw-r--r-- 1 0 0 9434128 Sep 2 11:42 dalvik-cache/system@framework@framework.jar@classes.dex

sh-3.2# ls -l dalvik-cache-compressed/system@framework@framework.jar@classes.dex

-rw-r--r-- 1 0 0 9434128 Sep 2 11:42 dalvik-cache-compressed/system@framework@framework.jar@classes.dex

sh-3.2# mount

[...]

fusecompress on /data/dalvik-cache type fuse.fusecompress (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
[Desire Android Development] kubus-x:
Hmm...

sh-3.2# for i in $(find . -user 0 -type f -print); do ls -l $i ../dalvik-cache-compressed/$i; done

-rw-r--r-- 1 0 0 5573480 Sep 2 11:41 ../dalvik-cache-compressed/./system@framework@core.jar@classes.dex

-rw-r--r-- 1 0 0 5573480 Sep 2 11:41 ./system@framework@core.jar@classes.dex

-rw-r--r-- 1 0 0 627488 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@ext.jar@classes.dex

-rw-r--r-- 1 0 0 627488 Sep 2 11:42 ./system@framework@ext.jar@classes.dex

-rw-r--r-- 1 0 0 9434128 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@framework.jar@classes.dex

-rw-r--r-- 1 0 0 9434128 Sep 2 11:42 ./system@framework@framework.jar@classes.dex

-rw-r--r-- 1 0 0 240896 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@android.policy.jar@classes.dex

-rw-r--r-- 1 0 0 240896 Sep 2 11:42 ./system@framework@android.policy.jar@classes.dex

-rw-r--r-- 1 0 0 1672840 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@services.jar@classes.dex

-rw-r--r-- 1 0 0 1672840 Sep 2 11:42 ./system@framework@services.jar@classes.dex

-rw-r--r-- 1 0 0 2225672 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@com.htc.framework.jar@classes.dex

-rw-r--r-- 1 0 0 2225672 Sep 2 11:42 ./system@framework@com.htc.framework.jar@classes.dex

-rw-r--r-- 1 0 0 90096 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@com.htc.android.pimlib.jar@classes.dex

-rw-r--r-- 1 0 0 90096 Sep 2 11:42 ./system@framework@com.htc.android.pimlib.jar@classes.dex

-rw-r--r-- 1 0 0 27112 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@com.htc.android.easopen.jar@classes.dex

-rw-r--r-- 1 0 0 27112 Sep 2 11:42 ./system@framework@com.htc.android.easopen.jar@classes.dex

-rw-r--r-- 1 0 0 7096 Sep 2 11:42 ../dalvik-cache-compressed/./system@framework@com.scalado.util.ScaladoUtil.jar@classes.dex

-rw-r--r-- 1 0 0 7096 Sep 2 11:42 ./system@framework@com.scalado.util.ScaladoUtil.jar@classes.dex

all the other files appear to have different sizes in the 2 directories. Really strange.

I've looked into the current C++ source code of fusecompress, but honestly I can't find any file owner dependency in there. Surely I'm missing something here. What am I overlooking?
[Desire Android Development] FloHimself:
Have a odexed rom and can`t test this file. Did you wipe the /data/dalvik-cache before mounting with fusecompress? If not you could try:

fusecompress_offline -c lzo /data/dalvik-cache/system@framework@framework.jar@classes.dex

Don`t see why it shouldn`t work...
[Desire Android Development] kubus-x:
Now I'm completely baffeled:

sh-3.2# cp system@framework@framework.jar@classes.dex /data/dalvik-cache/xxx

sh-3.2# ls -l /data/dalvik-cache/xxx /data/dalvik-cache-compressed/xxx

-rw-r--r-- 1 0 0 9434128 Sep 3 13:02 /data/dalvik-cache/xxx

-rw-r--r-- 1 0 0 5458477 Sep 3 13:02 /data/dalvik-cache-compressed/xxx

here's the init script I'm using ATM:

if [ -e /system/lib/modules/fuse.ko -a -x /system/bin/fusecompress ]; then
# we have fuse and the fusecompress filesystem. put it to good use!
insmod /system/lib/modules/fuse.ko

# first, see if the dalvik cache has been wiped
if [ ! -e /data/dalvik-cache/cache-not-wiped ]; then
# it has. throw away the compressed files as well.
rm -rf /data/dalvik-cache-compressed
fi

# prepare the directories
mkdir /data/dalvik-cache-compressed

rm -rf /data/dalvik-cache
mkdir /data/dalvik-cache

# the wipe marker must be written to the directory before the mount
touch /data/dalvik-cache/cache-not-wiped

fusecompress -o cache,cache_size=20 /data/dalvik-cache-compressed /data/dalvik-cache
else

mkdir /data/dalvik-cache
fi

Yes, I did wipe when restarting with this script. The scripts runs immediately after the leedroid module loading script.

Where's the magic? I don't get it.
[Desire Android Development] iscaela:
fusecompress uses a primitive LRU queue for background compression, so recently accessed files may not be compressed until unmount.
[Desire Android Development] iscaela:
Thanks, updated the original post (I managed to avoid adding fusecompress_offline).
[Desire Android Development] FloHimself:
BTW: This is the lagacy C implementation (0.9.x tree) from http://code.google.com/p/fusecompress/
[Desire Android Development] teppic74:
I'm having some strange problems too. I loaded the module and ran the fusecompress command at boot up, and it successfully runs:

mount output:

fusecompress /data/dalvik-cache fuse.fusecompress rw,relatime,user_id=0,group_id=0,default_permissions,allow_other 0 0

However, none of the .dex files are being compressed according to du. I've tried clearing the dalvik cache and the files are regenerated but still aren't compressed.

What's really odd is that if I copy a file into the directory myself it is compressed, e.g.

sh-3.2# cp /system/xbin/busybox .

sh-3.2# ls -lh busybox

-rwxr-xr-x 1 0 0 1.8M Sep 4 21:12 busybox

sh-3.2# du -h busybox

1.2M	busybox

I'm wondering if it's something to do with permissions, as I'm copying the file as root, but the dalvik files are created as id 1000.
[Desire Android Development] miyu-hitori:
thank you,I will try it;)
[Desire Android Development] worstenbrood:
Rom based on 2.10.405.2:

- busybox

- openvpn

- App2sd

- Superuser 2.3.5 + su

- CIFS,TUN,UTF8

- EXT4

- wpa_supplicant with adhoc support

- hosts with adblock

- fuse

- rw /system (needs ext partition)

- ...

http://www.multiupload.com/SBV4B96EZM
[Desire Android Development] Pyr0x64:
thanks for sharing worst :)

unfortunately, despite wiping everything I'm just getting the boot animation looping after flashing :(
[Desire Android Development] worstenbrood:
Try to delete your apps2sd symlinks in /data via recovery, i had to change the mount path for apps2sd to /sd-ext (instead of /system/sd) and i had the bootloop too.

Go into recovery, do a adb shell:

mount /data

ln -f /data/app

ln -f /data/app-private

ln -f /data/dalvik-cache

Then flash the rom.
[Desire Android Development] Pyr0x64:
surely if i wiped everything before flashing, the symlinks are removed anyway?

i tried wiping and then deleting the apps2sd symlinks with those commands and each line after mounting data tells me ": No such file or directory"
[Desire Android Development] worstenbrood:
That error is normal, try again after that, if it doesnt work, check dmesg via adb
[Desire Android Development] Pyr0x64:
still not working :(

i've put the dmesg output here:

http://pastebin.com/WSp00TB4
[Desire Android Development] worstenbrood:
try this one: http://www.multiupload.com/RW2AYADA72

Must say that i didnt wipe /data (which was from a 2.09 rom) before flashing this :/
[Desire Android Development] Pyr0x64:
thanks, this one seems to work perfectly :)

i wiped the phone before flashing and it booted without issue.
[Desire Android Development] worstenbrood:
http://www.multiupload.com/2IKEZXCVX7

- Added Superuser 2.3.6.1

- Added undervolt

- Adjusted unionfuse script, if /sd-ext available it uses /sd-ext, otherwise /data

- Added checks in all init scripts

New script:

#!/system/bin/sh
#
# UnionFS-fuse /system overlay script
# Created by worstenbrood (worstenbrood@gmail.com)

# Use /data by default
location=/data

# Use sdext if available
if [ -e /dev/block/mmcblk0p2 ];
then
# mount and set perms
busybox mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /sd-ext;
busybox chown 1000:1000 /sd-ext;
busybox chmod 771 /sd-ext;
location=/sd-ext
fi

# Create directories
for i in system_rw system_ro system_union;
do
mkdir $location/$i
busybox chown 1000:1000 $location/$i
busybox chmod 771 $location/$i
done

# Load fuse module
insmod /system/lib/modules/fuse.ko

if [ $? -eq 0 ]; then
# Mount
busybox mount --move /system $location/system_ro
$location/system_ro/xbin/unionfs -o cow,max_files=32768,allow_other,suid,nonempty $location/system_rw=RW:$location/system_ro=RO $location/system_union
$location/system_ro/xbin/busybox mount --bind $location/system_union /system
echo "+++ UnionFS-fuse activated"
fi
fi
[Desire Android Development] Pyr0x64:
thanks worst :)

wiped & flashed, no problems so far :)

[edit] just noticed when trying to delete a file from /system, unionfs hides them so you can restore again by deleting the 0 byte "_HIDDEN~" files, very cool :)
[Desire Android Development] padlets:
How can i check if the fusecompress works?

and can i use fusecompress and unionfuse?
[Desire Android Development] Alex-V:
Did anyone have a working init.d script for me and all the things i need...???

thanks in advance...with kind regards..Alex
[Desire Android Development] Alex-V:
no one..??

with kind regards..Alex
[Desire Android Development] FloHimself:
For what? unionfs-fuse or fusecompress? And what do you need? Update.zip? Just kernel modules and init scripts? For what ROM?
[Desire Android Development] FloHimself:
Push "du" to /data/local/bin via adb:

http://dl.dropbox.com/u/31174/android/du

sh-3.2# /data/local/bin/du -sh /data/dalvik-cache/
12M	/data/dalvik-cache/
sh-3.2# /data/local/bin/du -sh --apparent-size /data/dalvik-cache/
20M	/data/dalvik-cache/

and yes you can use both fs on one device...
[Desire Android Development] Alex-V:
for my rom (look in my signature) i tried neophyte´s rom and i would try to add it to mine...(i have patched init.rc...your disabled perflock and your cpu covenors running) but this i can not run...So it´s cool when you help me..

what´s the difference between..?? ...i have downloaded the fuse.ko and add a script to init.d ...

So it will be fine to have a update.zip :)

In the past i build a long time wm 6.5 builds for polaris...and all the android stuff is very new for me...with all the scripts and so on...

thanks..with kind regards..Alex
[Desire Android Development] FloHimself:
Difference:

* You can use fusecompress to compress parts of the /data partition. I use it for compressing the /data/dalvik-cache.

* Unionfs is for the overlay RW filesystem on /system to gain pseudo write access.

Is the fuse.ko running ok? Check with lsmod...
[Desire Android Development] Alex-V:
Aha ok :)

...No is not running...So my init.d script is wrong...did you have a working Script for me...?
[Desire Android Development] Rudolfje:
For SystemRWOverlay I used the script from ieftm's ShadowSense ROM.

Push the module, the script and the unionfs binary into the proper folders.

Connect your phone to your computer, so you can fire up logcat when needed.
[Desire Android Development] Alex-V:
not work...can it be because i have the newer 2.6.32.15-gd96f2c0 kernel..??

(because in undervolt i have the same problem..if i put in the ko from gf kernel it don´t load...if i put in the one for gd it load the ko)

with kind regards..Alex
[Desire Android Development] Rudolfje:
These modules are compiled for a specific kernel version.

I'm not sure if the modules for your kernel can be found on XDA.
[Desire Android Development] worstenbrood:
Alex-V: Change the version string inside the modules to match your kernel with an hexeditor
[Desire Android Development] Alex-V:
Ok ...first thanks...i canged the vermagic string and now it load the fuse.ko (checked with lsmod)....but it seems i have another problem...because the filesystem is on ro....Can you look at my attached update.zip...and give me a tip whats wrong..??!? please

I checked it in root explorer and also in a terminal with command: # touch /system/w00000t

thanks in advance..with kind regards..Alex
[Desire Android Development] worstenbrood:
What does the output of mount gives you ?
[Desire Android Development] Alex-V:
wait a moment...please :)
[Desire Android Development] Alex-V:
look in the picture

with kind regards..Alex
[Desire Android Development] Moe5508:
Thanks for sharing this Worsten. Just a quick question, is this Deodexed? If not, do you please mind sharing some instructions for how to use your AutoDeodexer tool e.g. where to put the ROM/framework.res of the zip to be deodexed?

Thanks

EDIT: Care to share the change log for your r7 release?
[Desire Android Development] FloHimself:
I guess you have to set the correct permissons on the unionfs binary in your update-script...
[Desire Android Development] Pyr0x64:
r7 is deodexed, zipaligned and has a reboot option when holding down the power button
[Desire Android Development] Moe5508:
Ah fantastic - just perfect, just perfect! Thanks.
[Desire Android Development] Alex-V:
Ok :) Now i have it .... thanks to all who help me :) :)

So here is a flash update.zip for the rw system access (fuse/unionfs)..for kernel : 2.6.32.15-gd96f2c0

have fun :)
[Desire Android Development] Alex-V:
Ok i try to build my next version with ext 3...because i see i loose some memory with the data local version....

I extracted the kernel...put the init.rc (the one who made the sd-ext directory) in my kernel and made a new update.zip with the scripts from the attachment

But i get a boot loop (its not from the kernel..if i leave it it came also) or if i make a update with only the kernel it boot

So can it be...because i have a running system with ext3 (System/sd) that will only work if i put this to my rom.zip and flash it...

So maybe i can not run this with a update.zip

Can anyone look in my update.zip if all is right...??!??

Thanks again.

edit: if i put in the rom.zip it boot but only ro access (also i updated the update script) (update script to the one without ext3) is the same...

Any suggestions..???!???

with kind regards...ALex
[Desire Android Development] worstenbrood:
http://www.multiupload.com/57UHYTMR8H
[Desire Android Development] andworker:
hello,

I'm enrolling within a project that needs to come up a fuse binary and therefore I'm curious about toolchains and linkage you use to make so. Would you mind sharing your experience? that will be a great help ;)
[Desire Android Development] FloHimself:
I used scratchbox as build environment. The tools in this thread are staticly linked binaries. But you should be able to achieve dynamic linkage within scratchbox. A good start is this blog post: http://www.macrobug.com/blog/2007/11/25/using-scratchbox-to-build-complex-arm-binaries-for-android/
[Desire Android Development] ggoogle:
Hi everyone, could you tell me how to compile these for my own ROM? I am using another type of phone, so the attached files may not work for me. Thanks!
[XPERIA X2 General] iopy:
I've just experienced a major crash of my X2. Had to update it to get it started again. Now I just cant find how to disable the sms sent notification. Can someone please tell me how to do that. I've tried searching the forum with no luck...
[XPERIA X2 General] michaelthemage:
Advanced Configuration Tool

One way is to install the program Advanced Configuration Tool, there you can easily enable/disable the SENT and/or the Delivered Confirmation! Great ;)
[XPERIA X2 General] iopy:
Thank You! :)
[XPERIA X2 General] thomasweb:
Advanced Configuration tool is good to stop the sent notification at all... but how can u just stop the sound of the notification :confused:
[XPERIA X2 General] michaelthemage:
Just go to Sounds and Notifications and change any settings there ;)
[XPERIA X2 General] anirudhchokhani:
went through all the options within Sounds and Notifications, but couldn't find anything about sent message notifications :(

do you need to have the Advanced Confirguration Tool installed for you to have access to this particular option?
[XPERIA X2 General] michaelthemage:
If you have the Sent Notification disabled, then there should not be any sound either! It disables Sound and Picture Notification!

I the settings for Sounds and Notifications, those sounds are for INComing.
[Android Apps and Games] finalrequiem:
Please tell me that someone has seen, and is working on something like, the pedobear app for the *shhhh*iPhone*shhhh*. It's in Cydia and done by chris-software.com.

Mods, if this is the wrong place for this kind of question/request/thread, please move it or let me know. Thanks!
[Android Apps and Games] Skye Menjou:
Post a description.
[Android Apps and Games] finalrequiem:
It's basically a photo editor that has several hundred pedobears to add to your pictures. Basically completely juvenile and completely hilarious.
[Android Apps and Games] SXUsr:
"Pedobear", not the greatest of names for an app. :rolleyes:
[Android Apps and Games] khaytsus:
That's the point, 4chan lusers who use Android.
[Android Apps and Games] finalrequiem:
Just for the record, I'm not a 4chan'r. Just saw someone with the iphone app and got a chuckle and was curious.
[Android Apps and Games] MacaronyMax:
haha great app its from cydia for i devices, havent seen it for android yet
[Android Apps and Games] sensi_:
what an idiot
[Android Apps and Games] Anderdroid:
I'll make it if you post a video of the ipod version and are willing to buy it off the market. Lol
[Android Apps and Games] Uppy:
Just like to point out that "pedobear" features a lot in UK clipshow "Totally Viral" Seen the app, pointless but can see why *some* people would find it funny. nothing pervy or sick about it. apart from the name :P
[General Questions and Answers] evil8989:
After root or flashing the rom, is it can free use those apps that supposed had to pay ?? sry for broken english .. I wish got someone can answer my question, i research many forum le, but i cant get the answer yet..

thx very much ..
[General Questions and Answers] evil8989:
anyone can answer my question ?? pls ..
[General Questions and Answers] Maltadav:
Very hard to understand what you mean. Try to use a better translator, like google translate.

If you mean that you can get apps that you were supposed to pay for, for free, then no. You can't.
[General Questions and Answers] LABARINTH:
after rooting your phone you still have to pay for apps.
[General Questions and Answers] evil8989:
thx for answering my question .. ^^ thats wht i wan de answer
[Imagio ROM Development] dimokaktepa:
Can any tall me where can I find russion ROM for Imagio?
[Imagio ROM Development] fishers:
russion ROM for Imagio?

and me, Can any tall me where can I find russion ROM for Imagio?
[Imagio ROM Development] saracen_d:
It agree, could and include in insertions and Russian

P.s. обратись на прямую к ромоделам, на форуме обсуждения прошивки, а я поддержу, и людей из русскоязычных форумов подтяну, может прислушаются
[Imagio ROM Development] Nomad14:
Странные люди, зачем вам русский ром? - руссификация любой WinMo делается элементарно, прямой заменой файлов. Сам так всегда делал, часа два работы - и русская винда. :)
[Imagio ROM Development] Patam:
Хоть бы ссылку дал людям. :) Задолбаются искать.
[Imagio ROM Development] coolpoete:
user NRGZ28 on PPC Geeks makes custom ROMs for the Imagio. He has made other language ROMS for other devices. I would contact him on PPC Geeks and Twitter and see if he will make one for you, perhaps for a small donation. There are little to no requests for a foreign language ROM on this device, but NRG would be the one to ask.
[Imagio ROM Development] pak1to:
с записями реестра делать что будешь,а ключей порядка ~400шт

без них не венда а УГ будет ;)
[Imagio ROM Development] g.t:
If you cant find any solution PM me. Maybe i can help to translate any rom you like.

I have an imagio and i am located in Greece. I manage to translate all the roms i have tried it.
[Imagio ROM Development] pak1to:
Russian rom exists, but unfortunately not a public - private order
[Vibrant Themes and Apps] xplanowestx:
Theres a rom thats been themed on the Galaxy S I9000 That I really love what he did with the notifcation dropdown I would love to have the transparent/black look

Is there anyone that could port this over to our device w/ an updated Battery Icon and the evo black bar mod?

Thanks!
[Vibrant Themes and Apps] Demonloki:
Eugene's Vibrant6 rom has that transparent bottom, and you can also apply a metamorph to have the little android guy at the bottom in a variety of different colors as well. The metamorph should give you the look you want, but the rom gives great performance.

Android Guy in Notification Window

Vibrant 6 Rom by Eugene
[Vibrant Themes and Apps] xplanowestx:
Yeah i Saw all that, i wouldn't prefer to have the Android guy in the notification bar... I just want a simple black themed notification drop down with a transparent center.
[Vibrant Themes and Apps] Demonloki:
This is a screenshot of using both Vibrant6 and the metamorph'd notification window
[Vibrant Themes and Apps] xplanowestx:
Yeah i've seen it... its not too bad, but i'm pretty happy with the stock rom, i'll start getting into custom roms once we get some 2.2 roms going out here. For now, i'd just like a simple notification drop down look
[Vibrant Themes and Apps] 3des:
Im going to bump this because I too want the black notification bar drop down; MINUS the droid guy :);

I also love the battery icon and the signal bars as well; any way to port those over as well?

I believe the rom with the black notification pull down bar is called samset1.9f...
[Vibrant Themes and Apps] junkdruggler:
here is a grey one I did... I can make a black pulldown right now...

http://www.mediafire.com/download.php?40jav7luw03vnmr

Both the framework and twframework have apk at the end of their name that have to be deleted before you flash or it errors..

Go to astro, android themes, clean_clear, and delete apk from folders names...

http://db.tt/Vnx3ztU here's a new one with a black transparent status background.. I just used the same bg as "phone locked, sweep screen to unlock" from the lock screen.. with some small tweaks added..
[Vibrant Themes and Apps] acjames:
I wish someone would make a glass notification bar. The clear one that someone made isnt really clear.
[Vibrant Themes and Apps] firekesti:
I'm currently working on a "Super Battery Life" theme that uses as much flat black as possible, and I'll be theming the notification dropdown much like this. I can post it up here when I'm done :)

It's my first theme so it might take a while to figure out which image files apply to which parts of the screen...but don't panic, I'm an art student. It'll look sleek, even if it's meant to be used with a flat black background as well.

Let me get some dinner and I'll get back to work! XD
[Vibrant Themes and Apps] junkdruggler:
Acjames... how about I teach you how to do it?

Crash course in Theming 101...

Its not that hard... You can do it all from your phone..