yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] BlaY0:
Check CM 6.1 thread...

Sent from my HTC Legend
[Legend Android Development] greenolive:
Right, I've read every post now and I do see testimonials of it working, so no fuzz there. Someone had problems with the experimental kernel though, which is do not use myself. No fuzz there either. That only leaves me to be the problem.

I have followed your instructions carfefully. Is anything obvious coming to your mind regarding my problem? I'm not looking for an easy way, just a finger pointing me in the correct direction,
[Legend Android Development] BlaY0:
File aufs_no_kernel.zip is fine. So logcat says that your kernel lacks aufs support and script itself can't load the module?

Sent from my HTC Legend
[Legend Android Development] greenolive:
adb shell stop zygote
adb shell /etc/init.d/70aufs
adb shell start zygote

These are the commands I issued from my PC while the device was running. The error I mentioned was a result of this
[Legend Android Development] BlaY0:
So all 3 commands produced errors or just 2nd one? Be specific please and post here error output! It's important. Try also issuing "modprobe aufs" before those 3 commands.

Sent from my HTC Legend
[Legend Android Development] nonamo:
Been using this for months on Azure 1.0.1

Works flawlessly!!!

Wish more ROMs had this built in...
[Legend Android Development] greenolive:
Im sorry for not being clear enough in my first few posts. Here is an logcat of the important part. The script seems to load in the beginning, as should. My SD card is a Class 4 one. Is that too slow? Hope this makes my problem more clear

- waiting for device -
--------- beginning of /dev/log/main
I/cm ( 64): Welcome to Android 2.2.1 / CyanogenMod-6.1.0-Legend
I/cm ( 65): _
I/cm ( 66): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 67): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 68): )) _))
I/cm ( 69):
I//system/xbin/run-parts( 59): Setting read-write /system overlay...
I//system/xbin/run-parts( 59): .
I//system/xbin/run-parts( 59): ..
I//system/xbin/run-parts( 59): ...
I//system/xbin/run-parts( 59): ....
I//system/xbin/run-parts( 59): .....
I//system/xbin/run-parts( 59): No SD card present or SD card too slow, using /
data for writing...
I//system/xbin/run-parts( 59): Checking for kernel aufs support...
I//system/xbin/run-parts( 59): No aufs driver present in kernel, trying to load aufs module...
I//system/xbin/run-parts( 59): Can not load aufs module, aborting...
I//system/xbin/run-parts( 59): run-parts: /system/etc/init.d/70aufs exited with code 1
I/logwrapper( 59): /system/xbin/run-parts terminated by exit(1)
I/DEBUG ( 139): debuggerd: Dec 6 2010 17:42:22
D/AK8973 ( 146): AK8973 daemon 1.3.4 Start
D/AK8973 ( 146): (Library version : 1.2.1.620)
--------- beginning of /dev/log/system
I/Vold ( 137): Vold 2.1 (the revenge) firing up
I/Netd ( 138): Netd 1.0 starting
D/Vold ( 137): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media
)
D/Vold ( 137): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 137): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted
)
D/AndroidRuntime( 141):
D/AndroidRuntime( 141): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
I/AndroidRuntime( 141): Heap size: -Xmx32m
D/AndroidRuntime( 141): CheckJNI is OFF
I/ ( 142): ServiceManager: 0xaec8
D/AndroidRuntime( 141): --- registering native functions ---
[Legend Android Development] BlaY0:
Where's your aufs.ko module?
[Legend Android Development] greenolive:
I believed the module was either included in the ROM since it has support for aufs, or that it was included in you update package.
[Legend Android Development] BlaY0:
It should be included in ROM itself (presuming you are using aufs_no_kernel.zip), but you need to know where it is if you want to load it. So find it, it should be somewhere in the /system directory.
[Legend Android Development] greenolive:
Yes, aufs_no_kernel.zip is the one I used.

I found aufs.ko in /system/lib/modules/2.6.29.6-cyanogenod/kernel/fs/aufs/
[Legend Android Development] BlaY0:
In /system/etc/init.d you should find 04modules file. Pull it to your PC and edit it so it will look like this:

#!/system/bin/sh
#
# Load any extra modules

MODULES="ipv6 [B]aufs[/B]"

for i in $MODULES;
do
modprobe $i;
done

...and push it back via recovery mode.
[Legend Android Development] greenolive:
Alright, I've done what you said. Does this mean that the module was never loaded? What caused this? I mean, are everybody supposed to edit o4modules or did I make some kind of mistake?
[Legend Android Development] BlaY0:
Look, there are numerous ways of making it work but this one is the simplest for novice users.

CM had aufs driver built in statically until kernel grew too big. After that point Alex decided to modularize aufs driver to shrink kernel a bit and since then you have to find some other way to load the module since my script is looking for it elsewhere.

But this is just temporary... I will introduce some other ways of loading module so it should work no matter what.

The other thing I'm worried about is why is your sdcard apearing so slow??? Are you aware that you are using internal storage for storing overlay data?
[Legend Android Development] greenolive:
Fair enough. Thank you for the help.

And yes, I am aware that my SD-card seems a bit slow. The logcat-reading

revealed that. It is rated for speeds of at least 4MB/sec read/write though.

Hope your vaccation is going on nicely. Shouldn't hang around here to much ;)
[Legend Android Development] BlaY0:
I'm already back from vacation...

I made some adjustments to the script... can you help me test it?

Just flash it over and put back the original 04modules.

EDIT: Updated script was moved to 1st post.
[Legend Android Development] fatthumb:
Hi BlaY0,

Thanks for this mod, you're the best :cool: I can confirm this works fine on CM6.1 (AdFree also works now because I was also having the same problem with the earlier version ) :)

Cheers!
[Legend Android Development] aikon96:
Yeah, I can confirm, that the new aufs_no_kernel.zip works on my HTC LEGEND CM6.1, too.

Just installed the zip via Clockworkmod and then enabled it via ADB^^

Thank you soo much!
[Legend Android Development] greenolive:
You are the man. It works now!
[Legend Android Development] BlaY0:
OK, can you check /data/local directory... there should be a log file, something like aufs.log... copy/paste the contents here if there are any. It's about the sdcard speed.

Sent from my HTC Legend
[Legend Android Development] greenolive:
I'm sorry, I have no such logfile
[Legend Android Development] BlaY0:
What about nosd.log?
[Legend Android Development] aikon96:
My nosd.log looks like this:
[Legend Android Development] BlaY0:
Are you using CM 6.1?

EDIT: Ahh, of course you are...
[Legend Android Development] greenolive:
I don't even have the nosd logfile. Sorry I'm of no help.
[Legend Android Development] BlaY0:
Have you flashed the latest update?

Reboot and check first few lines of logcat. If you get "No SD card present or SD card too slow, using /data for writing...", then a log file nosd.log should appear in /data/local directory and internal storage is used for overlay.

If you use a2sd, then ext partition is mounted before the overlay script is run so overlay is using a2sd partition too and there will be no nosd.log...
[Legend Android Development] greenolive:
Yep, I get it. I installed both DT and your latest script on a clean install earlier today. And as you are saying, DT is run before the overlay script. Enabling it to mount sysrw to the ext partition. But shouldn't I still have the aufs.log file in data/local?

And also, I was wondering... Wouldn't it be possible to use a overlay script like yours to also do an overlay for data/app? That would be the nandroid replacement of my dreams.
[Legend Android Development] TheGrammarFreak:
Overlay the whole damn partition layout on the SD card, what fun that would be. Lol ;)
[Legend Android Development] greenolive:
Dude, that would save me a lot of nand-writes, wouldn't it? :)

And also, it would speed up my processes of restoring a nandroid backup.

If all my apps, their settings, and the system partition were overlayed, I could

do a point in time copy and just ease through the process of restoring backups.

I suppose it's possible, but perhaps SD-performance could be a factor.
[Legend Android Development] TheGrammarFreak:
It could be done, and the backup thing would be neat. My data/app is already on the sd card. Win

Sent from my GT-P1000
[Legend Android Development] greenolive:
Yep, I have my data/app there aswell thanks to DarkTremor. But it isn't overlayed, just moved. :/

Any input on this discussion BlaY0?
[Legend Android Development] ericjwill:
Works great on my MyTouch 3G Slide. Thanks!
[Legend Android Development] BlaY0:
It can be done. If you would like to use data overlay, you shouldn't be using a2sd.
[Legend Android Development] greenolive:
Sure, I shouldn't, but thats the only way to fit my apps without filling the internal memory of the phone. But if I could use the ext-partition for data overlay I would ditch a2sd... There would be no point.

Can this be achieved by editing your script? The aufs module contains the drivers for aufs to work, no? So what's missing is "simply" the simlinks for data/app. Don't get me wrong, I'm not saying it's easy. I wouldn't even know where to start. But someone who knows his/hers way around this and likes the idea might want to have a go.
[Legend Android Development] BlaY0:
Overlay is not just symlinking a directory ;)

Caviat is also that overlay (aufs) makes some IO overhead. I'm just trying to find an optimal way without too much overhead...
[Legend Android Development] greenolive:
I knew it would never be that easy :p

But would you agree that overlaying data/app could be useful?

If you do and you actually come up with a viable solution, let me know

and I'll test the hell out of it
[Legend Android Development] BlaY0:
Using overlay, apps would definitely open and run slower than without it because of increased IO.
[Legend Android Development] greenolive:
I can imagine that it would, but how much is the question. Hope you'll cook up something someday anyway. Might be quite popular for some. And as usual, I do appreciate you being available for discussion and questions.
[Legend Android Development] TheGrammarFreak:
Why do you want overlay? I don't see how this is better than apps on an ext partition.

Sent from my GT-P1000
[Legend Android Development] greenolive:
Convenience I guess. I want to be able to only format my ext partition on the sd-card and be left with a clean install with all my baseapps and their settings.
[Legend Android Development] TheGrammarFreak:
Good point.

Sent from my GT-P1000
[Legend Android Development] BlaY0:
OK, will make a test script for data overlay if anyone is interested in testing...
[Legend Android Development] TheGrammarFreak:
I can test it.

Sent from my GT-P1000
[Legend Android Development] greenolive:
You can count me in.
[Legend Android Development] whitetigerdk:
I'm up for the testing as well..
[Legend Android Development] janarp:
Thanks!! works for me
[Legend Android Development] greenolive:
Anything new on this one Sir?
[Legend Android Development] shreaded_teddy:
cm7 support

I upgraded to the newest CM7 nightly on my mytouch slide and I can't change anything in the /system/app folder now. I enabled it and rebooted and it's still not working. tried to --enable again but it's already enabled, doing nothing... according to adb.
[Legend Android Development] BlaY0:
Hang on for day or two, I have already prepared a new version that should solve this problem.

Sent from my HTC Legend
[Legend Android Development] Smokem_I:
Sweet! Will be waiting patiently. Was coming to see if this was in progress already :-) Glad to hear that it is.

Sent from my ROOTED myTouch 3G Slide using the XDA App
[Legend Android Development] elk2210:
Hey guys,

got a problem with CM7Final and this overlay.

All thems to work fine. After enabling the overlay and the reboot i get the message

"Read-write /system overlay is already enabled, doing nothing..." if I try to enable again. But I cant write /system or use Metamorph, Adfree...

This is my Logcat (I think the necessary lines):

I/cm ( 77): Welcome to Android 2.3.3 / CyanogenMod-7.0.0-Legend
I/cm ( 78): _
I/cm ( 79): __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))
I/cm ( 80): ((_ \(/'((_( ((\( ((_)((_( (('((\( ((`1( ((_)((_(
I/cm ( 81): )) _))
I/cm ( 82):
I/mountsd ( 96): Checking filesystems..
I//system/xbin/run-parts( 72): e2fsck 1.41.10 (10-Feb-2009)
I//system/xbin/run-parts( 72): /dev/block/mmcblk0p2: recovering journal
I//system/xbin/run-parts( 72): /dev/block/mmcblk0p2: clean, 348/51744 files, 9
6369/206592 blocks
I/logwrapper( 102): busybox terminated by exit(0)
I/logwrapper( 106): busybox terminated by exit(0)
I/logwrapper( 108): busybox terminated by exit(0)
I/mountsd ( 110): /sd-ext successfully mounted
I/busybox ( 124): S2E: Initialization...
I/busybox ( 124): S2E: /sd-ext/app mount as /data/app
I/busybox ( 124): S2E: /sd-ext/app-private mount as /data/app-private
I/busybox ( 124): S2E: /sd-ext/dalvik-cache mount as /data/dalvik-cache
I/busybox ( 124): S2E: /sd-ext/download mount as /cache/download
I/busybox ( 124): S2E: Done!
I/logwrapper( 124): busybox terminated by exit(0)
I//system/xbin/run-parts( 72): Setting read-write /system overlay...
I//system/xbin/run-parts( 72): Found ext[23] partition mounted to /sd-ext, wil
l use it...
I//system/xbin/run-parts( 72): Checking for kernel aufs support...
I//system/xbin/run-parts( 72): No aufs driver detected, trying to load aufs mo
dule...
I//system/xbin/run-parts( 72): No aufs module found, aborting...
I//system/xbin/run-parts( 72): run-parts: /system/etc/init.d/70aufs exited wit
h code 1
I/logwrapper( 72): /system/xbin/run-parts terminated by exit(1)

Is there no AUFS support in the CM7-Final-Kernel?

Thanks for help!
[Legend Android Development] BlaY0:
Yeah, obviously Alex removed AUFS support from CM kernel.
[Legend Android Development] elk2210:
Could you make a ZIP with AUFS for CM7 or could we use the one in the first post? Thanks for your fast reply!
[Legend Android Development] elk2210:
Or should I use an other kernel like this one?
[Legend Android Development] BlaY0:
Yes, I think that would do.
[Legend Android Development] elk2210:
Does not work.

Got a really stucking Legend and some FCs, so I restore my Nandroid.

Any other ideas? :)
[Legend Android Development] BlaY0:
What do you mean by "does not work"? It uses interactive governor by default which I guess doesn't have default frequency setting like ondemand one so you have to manually set processor frequency to some sane value as soon as possible otherwise it will stay at 940 MHz and soon after that overheat/panic/freeze or you'll at least get boot-loops.

Sent from my HTC Legend
[Legend Android Development] elk2210:
I thought that my SetCPU-settings and -profiles will do this for me, am I wrong?

My legend became absolutely unusable with this kernel. I had to remove the battery to shutdown.
[Legend Android Development] jabbado:
elk, have you tried this kernel? I gave it a go but it only boots 10% of the time. And even then it ran like a dog. But I'd be interested in whether you have better luck.
[Legend Android Development] elk2210:
No, I didn't tried it yet.

But I will after I'm back from work in a few hours :)
[Legend Android Development] BlaY0:
It's already too late when SetCPU kicks in (it actually never kicks in coz proc freezes or kernel panicks sooner than that)... you have to do it as soon as kernel is executed and init from initramfs is run.
[Legend Android Development] elk2210:
Thanks for the info.

So the settings in CM-settings doesn't work too, right?

I have to do this via init.d script?
[Legend Android Development] BlaY0:
Exactly...
[Legend Android Development] pleasebugmenot:
My phone resets (goes back to boot animation) when i hold down the power button :S

I only enabled a2sd and the system overlay (in that order).
[Legend Android Development] BlaY0:
...and possibly installed some lockscreen theme? I assume you are talking about B?
[XPERIA X10 Android Development] Incisive:
currently i'm using R2BA020, heard that R2BA026 have improvement in battery life and became more resposive in timescape and mediascape. How do i go about updating to R2BA026? Can someone give me detailed steps? Thanks in advance:)
[XPERIA X10 Android Development] PoTi_96:
hey,

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

(thanks to jerpelea)

and to root it:

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

(Thanks to all the devs who have worked so hard for us!)

or use SEUS
[XPERIA X10 Android Development] Incisive:
I've tried that already but to no avail.

It came out like this:

please connect Xperia in flash mode.

Press any key to continue . . .

Sep 3, 2010 9:21:52 PM X10flash main

INFO: start

java.io.IOException: Unable to open channel, GetLastError=0

at com.sonyericsson.cs.usbflashnative.impl.USBFlashNativeImpl.openChanne

l(Native Method)

at X10flash.main(X10flash.java:410)

Exception in thread "main" java.lang.NullPointerException

at java.lang.String.<init>(Unknown Source)

at X10flash.testPluged(X10flash.java:103)

at X10flash.run(X10flash.java:375)

at X10flash.main(X10flash.java:417)

Press any key to continue . . .

Wonder what went wrong.
[XPERIA X10 Android Development] realunited123:
you didn't get the device id correct... Try again with another one. I would suggest using SEUS and using the one click root if you don't get the divece id right.
[XPERIA X10 Android Development] Incisive:
How do i get the device id? i used the x10root but did not manage to see any deviceID
[XPERIA X10 Android Development] mattiL:
You have to make a decision, either you use the "5 step root" OR the "One Click Root".

Using the One click Root method requires no knowledge of the device id.

Just use Sony Ericsson Update Service (SEUS) and update your phone to the latest and greatest, and then run the x10root.apk to get rooted.

That's it !
[XPERIA X10 Android Development] Incisive:
Okay, Thanks. I got everything working.

Glad to have helpful people in this forum :)
[XPERIA X10 Android Development] SGK128:
I have the 020 on the x10a, and update service still says its up to date. Anyone got the x10a to 026? If so, how did you do it?
[XPERIA X10 Android Development] MacDrunk:
were u from,, same happend to me but i redownload SEUS and run the update service and then it work fine
[XPERIA X10 Android Development] NightSidew1nd3r:
My x10a was on r2ba016 and was saying it was up to date. I used original root method as it debrands phone aswell as updating and rooting. Currently running 026
[XPERIA X10 Android Development] SGK128:
i already rooted my phone. anyone know how to update to 026? I dont see the roms in decrytd rom
[XPERIA X10 Android Development] NightSidew1nd3r:
Just follow instructions in the root package, it doesn't matter if you are already rooted. It's the best way I can think of
[XPERIA X10 Android Development] olafski72:
So, when I have a branded Vodafone X10, Dutch 024 and I only want to debrand it, I could do the root-apk and then it is debranded as well? So then I can run SEUS and update it to 026?
[XPERIA X10 Android Development] TrietHocNhanSinh:
What "package" are you talking about? How do we access the control prompt screen?
[XPERIA X10 Android Development] TrietHocNhanSinh:
No one can answer my question?
[XPERIA X10 Android Development] razer_irl:
Ive a similar problem to the others here.

Im Vodafone Ireland branded and still on 014.

Whats the easiest and best method to not end up with a brick for debranding??

Nightsidewinder--What method did you use to debrand??

Thanks in advance.

Richie.
[XPERIA X10 Android Development] SalThach:
it you want to update to Generic_R2BA026

go here

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

and download Generic_R2BA026 and Flash Tool (can unbrick X10i with provided files)

intructions:

1.unpack both .zip folders (i_R2BA026 & X10FUB) and copy all files R2BA026 folder to X10FUB folder (flash app folder)

2.follow the instructions from flash folder

2.1.) Open regedit and press Ctrl+F to open search window:

Search for "USB\Vid_0fce&Pid_adde\"

You will find the "DeviceInstance" should look like this :

"USB\Vid_0fce&Pid_adde\1&23cfa456&7&8"

copy the last part "1&23cfa456&7&8" into the DeviceID.txt file. Don't paste any free lines/blocks before or after!

2.2.) Start X10flash.bat in X10FUB folder

2.3.) Connect X10 in flash Mode:

a) Power down

b) Hold "back" Key

c) connect USB cradle on PC

If the LED is green everything is good!

2.4.) Press ENTER :)

To Root go here

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

and download Standalone X10 root.apk v. 1.06

install X10 root.apk and click Root!

That is all...

Hope this helps
[XPERIA X10 Android Development] razer_irl:
Cheers for the guide Salthach.Having one small problem though.Total noob question!!!

Do I have to have the phone connected before I search the registry for the key above??Ive tried it without the phone connected and the search comes up with nothing found.

Also I got my x10 unlocked with a network unlocking code--Will the X10 still be unlocked when I debrand??

Thanks

Richie
[XPERIA X10 Android Development] TrietHocNhanSinh:
My question is the same!!
[XPERIA X10 Android Development] SalThach:
1. connect your Device but do not mount SD card

2. Open regedit and press Ctrl+F to open search window:

Search for "USB\Vid_0fce&Pid_adde\"

or

download this it will help you find DeviceID

http://rapidshare.com/files/404363083/i_R1FA16_ft.rar.html

Thanks to Synlar

2. Unrar i_R1FA16_ft.rar

3. Open the DeviceID.jar in 1st folder

this should give you 2 Device ID. try one, if dosen't work, try another.
[HD2 Windows Mobile 6.5 Themes and Apps] nkanyiso:
guys i recently got a HD2 from O2 & i love the default ringtone it came with, stupid me decided to upgrade my Rom & i forgot to save those ringtones can somebody pleas help me find them especially the default O2 ringtone.
[G1 Q&A, Help & Troubleshooting] dimacve:
Hi I was searching for somthing like this for several days... but not found..

phone I bought from US and its locked to T-Mobile today I'll get the unlock code..

but the problem is when I press Home+Power it shows only black screen,but no sign of triangle..

and other problem is when phone boots up, (I made hard reset) I need to touch android, I touch it but nothhing happens only when I press power button (turn off screen) and then turn on... it redraws and shows next step..and so on...

i don't know what to do..tried reflash RC29.. nothing changed..(computer don't see the phone) I don't have installed drivers for adb and fastboot.. how could I install drivers without atached phone.??

drea100 PVT 32b

Hboot-0.95.0000

CPLD-4

Radio-1.22.12.29

sep 2 2008

Please help me.. :)