system overlay in cyanogenmod 7 rc2 - Legend Android Development

does it support it, because i had cyanogen 6.1 with system overlay but in cyanogen 7 the: adb shell /system/xbin/aufs --enable command doesn't seem to work for as in cyanogenmod 6.1
EDIT:
never mind, i'm s-off instead now

fyi: it seems that in cm7 the aufs kernel module is not present anymore.
Also i was forced to s-off my legend to apply a metamorph theme.

Related

JIT in roms that already have it

I haven't had any luck enabling JIT in ROMs that come with it as an option. The DamageControl ROM as well as the PureROM both have it.
When you check the box to turn on JIT, it pops up a little text bar that says to reboot. I know you have to disable sense and the HTC lockscreen which I have done but my phone always goes to a bootloop.
The only ROM that I have found that doesn't have this issue is the darchdroid rom that has JIT and overclocking already enabled from the start.
Does anyone have any suggestions?
I have tried wiping dalvik after enabling JIT (by enabling, then shutting the phone off and booting to recovery with volume down key on powerup).
Jit can be so fickle sometimes =). try this
1. Download a different launcher(to use in place of Rosie.apk, aka sense launcher), i would recommend Launcher Pro, or ADW launcher from the market.
2. after installing it, hit your home button, and set the new launcher as default.
3. Set your background to an image on your SDcard
4. Open DCconfig, and go into banned apps. Ban SenseUI
5. Uninstall the XDA tapatalk app if you have it installed (if you really want to use it with JIT, search for xda 0.9, it works with jit)
6. reboot
7. Be sure you now have the vanilla lockscreen, and non-rosie launcher. If you have vanilla lock screen move to step 8, if you still have HTC lockscreen perform this code to be sure its gone....
Code:
adb remount
adb shell
cd /system/app
rm Rosie.apk
rm HtcLockScreen.apk
reboot
you should now have the vanilla lockscreen..
8. enable JIT in DConfig and reboot
Can you post a logcat if this gives you bootloops?
Ic3ROM has it, and when enabled, works flawlessly (only in version 2.8, though. I had problems with 2.9)
http://forum.xda-developers.com/showthread.php?t=663366
I'll keep messing with it. I've learned to Nandroid before doing it so I don't have to lose everything I've set up.
I've kinda given up on it for now. Maybe if the Hero gets official 2.2 it won't be such a big deal.
Frankly it'd be nice if ROM makers would enable JIT off the bat so it was on after you installed and then maybe people could go in and turn it off if they don't want it.

HTC Legend: full r/w access via overlay filesystem

Hey all,
No idea at all if this is possible or even applicable to the Legend [I'm not a dev, but still learning about Android ], but I thought it deserves a thread of its own just in case the method allows us to run metamorph on the Legend...
ValMar73 posted the quoted text below HERE
ValMar73 said:
Dear All,
I just noticed that people applied a trick to desire roms to obtain a kind of writing permissions on /system. Essentially, they create a "shadow" /system dir and the system looks for files in this dir before getting the ones from system.
See the details here:
http://forum.xda-developers.com/showthread.php?t=748025
People could run metamorph on the Desire with this and they applied to CM6 nightlies (Desire version)
Now, this should be applicable also to the Legend, right? All that is needed is the aufs module for the kernel. Does anyone know if this module is in the kernel in CM6 for the Legend?
Valerio
Click to expand...
Click to collapse
If the above is not applicable to the Legend... MOD: please feel free to delete thread.
I. they havn't succeed.
II. our kernel didn't include aufs, neither desire. you should compile module. it's called cross compile to get binaries via a pc.
or you can use aufs module for desire, with your own risk. anyway, it couldn't turn your legend to a bomb.
III. you should remount aufs to "the right mountpoint".
you should change fstab with update.zip <------ it could damage your system.
IV. sorry for my pool english.
Theta did succeed. The thread is listed as Fixed. On Page 6 they are discussing how to best implement it.
Sent from my Desire using Tapatalk
thx i ll try later
it could be used on legend after "cross compile".
Yes, it could be done. The principle is the same as on those Asus EEE PCs. Haven't read that Desire thread in all but I'm familiar with procedure to achive this. But the question is... is it worth? What would one gain with this? You still won't be able to remove fileas from system partition for real and you'll have references to "deleted" files on data partition which also will take space and inodes. So basically for any "deleted" file from system partition, you'll have less space on data partition.
First as lucloner said, you need aufs module. Then you'll need rw store. It can be directory on data partition or small image with file-system in it also on data partition. Then you have to mount aufs and mount-move partitions to the right places. It is imperative that this procedure is done as soon as possible in init.rc before any other service is run. Guys at Desire thread put the script into run-parts init.d script (I believe) which I wouldn't suggest. The possibility to damage the system is really infinitesimal and everything can be reversed. Also fstab is not an issue as there is no fstab in initramfs environment.
When I have time (possibly beginning of next week) I will prepare myself a cross-compiling environment for compiling kernel and try to compile aufs module for Legend's 2.6.29-5f084974 kernel. Then I will try to prepare init.rc with integrated aufs procedure.
if you will compile a kernel, plz add compcache module which already included in the kernel.
i'm lazy lucloner. lol
Have you tried compcache on some embedded device yet? I mean what's the actual gain? You have to take into acount that you have slow processor and compression would take time thus battery would drain faster.
compcache is great! it performans in my pIII laptop with 480 ram and ubuntu 10.04.
if you want to more ram, compcache is faster and better than swap. and drain battery faster for sure.
as a module, it could be disabled. i just decide to try.
in wiki:
wiki.cyanogenmod.com/index.php?title=Swap_and_Compcache
-------------
no i've not tried it on embedded device.
forgive my damn english.
OK guys, I managed to cross-compile Legend's kernel and add aufs module. I tried it and it worked.
You can download kernel and aufs module for Legend 2.03.405.3 (kernel version 2.6.29-5f084974) and give it a shot. Be advised, that there is only kernel image (not boot.img) and actual module aufs.ko in this zip archive.
You can try aufs like this (of course you have to be root and know what you are doing):
Code:
insmod /<dir_to_aufs_module>/aufs.ko
mount -o remount,rw rootfs /
mkdir /aufs
mkdir /rw
mount -o dirs=/rw:/data=ro -t aufs none /aufs
...now you should see contents of /data in /aufs. Any changes to /aufs should now be reflected in /rw and /data stays intact. Be careful not to drain all RAM as you are playing on initramfs
Please report back or feel free to continue the implementation.
Thread Closed.
New thread from BlaY0 Here: http://forum.xda-developers.com/showthread.php?p=7983387

[Q] Super user not working

I am just about to release my new barebones build with a lot of new features but one thing is killing me. I cannot get superuser to work anymore with the latest build and the latest kernel. Rogue tools won't overclock without SU working and that just totall kills the speed of my build =(. The build is based off scoot's release 5 and I am using the latest kernel with and without the module update SU is unaffected. Everything else works though.
What happens if you write on the terminal
Code:
su
Will let you know in a second, reinstalling... just added one more thing to the build.
After typing su in console it says, " su: must be suid to work properly"
fixed! I used the userinit from my old barebones. Something changed in the update. The two looked totally different.

[Q] aufs enabled?

hi im currently using cyanogenmod stable version...
i have enable aufs through terminal emulator and rebooted...
but why system r/w is still unavailable when im trying to install/uninstall app with terminal even with su?
it is really impossible to delete the preload apps... i tried many times on wildpuzzle rom.. it still wont uninstall even i uninstall in SU. the things u can do is uninstall all the htc apps by using the patch on the rom
http://alpharev.nl/
Full root not available yet (write permission on /system forbidden)

[Q] CM6 for milestone with a working openvpn?

hi. I installed CM6.1.2 for milestone (thanks doshaska) beta on my milstone (not droid) mainly because I really want to use openvpn .
However there seems no tun/tap module in /system/lib/modules (i first looked /lib/modules hoping modules lies in the normal linux module path) and also can't connect to the openvpn server with the default vpn setting program.dmesg says "Cannot allocate TUN/TAP dev dynamically"
Is the missing tun module the reason ? If so , any possiblity in the future that someone can compile the tun module for the CM6 kernel?
btw, I heard something about 2nd-boot . Is there any possiblity to run a complete new kernel avoiding the the damn locked bootload using the 2nd-boot?
PS: sorry for my poor english....

Categories

Resources