yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] GPS_Music:
I am quite unfamiliar with what to do on a step by step basis.

I looked at the thread Vpr2006 posted an saw this:

My S2 Is currently on UCLK3 so i clicked the link there (http://xdaforums.com/showthread.php?p=35512626).

I do not seem to see specific instructions as to how to go about this though, and I don't think it specifies how to install CM9 specifically.

Also, I have a mac, but I can access a PC if need be.

Thanks
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
If you don't feel comfortable using the ExynosAbuse Exploit by Chainfire to get root access on your existing firmware, then flash the [Heimdall][Odin][Stock][Root]UCLE5 Stock ICS with Root which is 4.0.3 ICS with root included.

Once you have root, use the instructions in that thread to install a custom kernel which contains ClockworkMod Recovery, preferably by installing Mobile Odin Lite or Mobile Odin Pro. I would suggest you use the "AJ Newkirk/Siyah v3.3.3d ICS" kernel, which is somewhat old but will only be on there long enough for you to flash your firmware of choice. Then enter recovery and flash your firmware, following the instructions in the OP of the firmware thread. As previously stated, you will need to use Heimdall on the Mac, or borrow a Windows PC and use Odin.
[HTC One X] tonypello:
Hi guys,I extracted the apk of message from CM nighlty.

It work perfectly with JB Sense 4+.

I tested it on ViperXJB and it works fine!

INSTALLATION

Put mms.apk in sd card

Rename mms.apk in Message.apk(big M)

With Root Explorer(or similar) put this file in system/app and overwrite the stock Message.apk(if you want to return back,save before the stock Message.apk)

Reboot

SCREENSHOT

http://www.2shared.com/file/KAAF43R9/Mms.html

Thanks a lot TeamCyano

Say thanks if you appraciate my work
[HTC One X] monchee:
May I ask some screenshots of this?
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

It is the stock message apk of cyano rom. Screen in first post :)

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] dreadflopp:
Sv: [APK]MMS.apk||message from AOKP/CM

Does mms work?
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

There should be no problems

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

I will post other colour for message stay tuned:D

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] dan.kels.r:
Do you suggest the this version over the sense app? If so why ?
[HTC One X] dreadflopp:
In ICS, the AOSP (cm/aokp) mms app didn't function properly on ICS sense roms. Sending an mms caused the app to force close if i remember correctly but I will try with this. Thanks!
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

Do you like aokp message apk?

If your answer is yes, try and install this apk over sense stock app.

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

I dont know sorry.

Try to send mms and report here.

I Will find a solution

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] bigdave79:
Seems to crash on mine when trying to send MMS. It would be perfect if that worked.
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

Try this file.

Extract mms.apk and rename it Message. apk and overwrite in system/app.

http://d-h.st/eot

I am not sure mms work

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

Report to me if it works

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] bigdave79:
Hey tony. So first I had just installed the mms.apk from this thread like a regular app, this installed fine, the app opens and sms worked but MMS didn't work. I then did as you suggested and replaced the stock message.apk with the apk in this thread using solid explorer (after renaming it of course) - then the app would just FC every time I tried opening it. I then re-installed mms.apk and I am back to square one.

Let me know if you can figure out how to get mms messages working. Thanks!
[HTC One X] tonypello:
R: [APK]MMS.apk||message from AOKP/CM

Thanks for report.

I'll try to work on it ;)

Inviato dal mio HTC One X con Tapatalk 2
[HTC One X] bigdave79:
Hey Tony, did you ever get mms to work?
[Galaxy S III Q&A, Help & Troubleshooting] starbucko:
I rooted my fone a week ago with TWRP as my recovery mode.. Then I rerooted my fone to replace the TWRP recov with clockworkmod recov.. now I was going through my storage and found out that there is a folder of the old TWRP which takes 1.+Gb.. I was kinda thinking of deleting it.. would it be alright if I just delete it straight or would it affect my current mod if it got deleted..

Currently on cm9.1

Any help would be very much appreciated.. cheers
[Galaxy S III Q&A, Help & Troubleshooting] Glebun:
It has the TWRP backups.
[Galaxy S III Q&A, Help & Troubleshooting] starbucko:
Don't think I would really need my backup in that one as I've backed my system up using the clockworkmod before flashing cm9
[Galaxy S III Q&A, Help & Troubleshooting] Glebun:
..okay?
[T-Mobile Samsung Galaxy Note II] canito63:
Can someone post a system dump so that I can get it to the a dev from the Sprint GN2 thread to do this for us... http://xdaforums.com/showthread.php?t=2086769
[T-Mobile Samsung Galaxy Note II] billard412:
A full dump is most likely unneeded but rather one small portion. If someone on newest LL4 firmware who's interested in this can pm me ill let you know what's needed. Will only take about a minute.
[Desire HD Q&A, Help & Troubleshooting] FSX-Download:
Hi together

So, i'm using the Daemon Controller.

That are my settings:

Wake:

Min: 806400

Max: 1200000

Screen off:

Min/max: 122060

This allows a very good performance.

My question now:

Deeper frequenzy = longer battery life? (Especially in the sleep modus!)

When yes: Are there any problems by using the lowest frequenzy in the sleep modus?

Thanks for all answers!
[Desire HD Q&A, Help & Troubleshooting] ygpramod:
Deamon Controller - Lower Frequency

If I am not wrong, if you make the frequency too low, your device might not wake up from sleep at all!

Phone: Desire HD

ROM: JellyTime_R31
[Desire HD Q&A, Help & Troubleshooting] FSX-Download:
AW: Daemon Controller save battery

Ok, so can you recommend any frequenzy?
[Desire HD Q&A, Help & Troubleshooting] ygpramod:
Please check the link below... You should get some kind of idea about oc deamon...

http://xdaforums.com/showpost.php?p=14638641&postcount=34279
[Desire HD Q&A, Help & Troubleshooting] FSX-Download:
AW: Daemon Controller save battery

Ok i'll do
[Desire HD Q&A, Help & Troubleshooting] ygpramod:
Please make a habit of clicking the "Thanks" button if anyone has helped you with anything :) even if you think the answer is not that much helpful to you, atleast they tried :) Hence, they deserve a thanks :)

Phone : HTC Desire HD

ROM: Jellytime_R31
[Nexus 4 Q&A, Help & Troubleshooting] warfexion:
I mean seriously! ICS Galaxy Nexus had no shutter lag, then I heard for Jelly Bean or an ICS update they slowed it down a bit to focus better, but it seems with 4.2 the camera shutter speed is just beyond slow.. Anybody have a fix or agree with me?
[Nexus 4 Q&A, Help & Troubleshooting] tocirahl:
This is a hardware limitation. The lagless shutter was a feature of Samsung's hardware (much like in the Galaxy S3). It does NOT depend on software. For example, a SGSIII running AOSP will still have zero shutter lag.
[Nexus 4 Q&A, Help & Troubleshooting] warfexion:
Damn I never thought of that! But it still seems slow on my galaxy nexus with 4.2.1 Think this is another 4.2 bug that google has to fix?
[Nexus 4 Q&A, Help & Troubleshooting] warfexion:
Also interesting to add that if I use Camera JB + I have no shutter lag...
[Nexus 4 Q&A, Help & Troubleshooting] Mr.Mischief:
What shutter lag?

;)
[Nexus 4 Q&A, Help & Troubleshooting] AdamLange:
0,0001ms ;) didn't you noticed? :PP
[Nexus 4 Q&A, Help & Troubleshooting] clockcycle:
Perhaps Samsung's memory is faster saves?

On my sgs3 i9300 I could snap as fast as I could press.
[Nexus 4 Q&A, Help & Troubleshooting] warfexion:
Did a clean install of cm10.1 with the actual cm camera app and the camera seems fast again.. something must have messed up when I have been flashing nightlys or possibly camera improvement mods.
[Nexus 4 Q&A, Help & Troubleshooting] vindikleuk:
It's not only hardware related, it's also related to the way the device focuses. Whenever you would set it's focus point to "infinite", you would have much less shutter lag than you'd have in, say, macro mode.
[Nexus 4 Q&A, Help & Troubleshooting] wmm:
Camera ZOOM FX has four focus modes: auto, infinity, normal, and macro. I'm pretty sure I understand three of those, but what's "normal"? Presetting the focus to something like 4 feet? A duplicate of "auto"?
[Android Software/Hacking General [Developers Only]] mkasick:
Android 4.2 breaks Dalvik-apps that mount file systems to be shared with other apps. This includes CifsManager, Mount Manager, essentially anything that mounts cifs shares, FUSE file sytems, etc. The symptom is that the mounted contents appear fine to app that peforms the mount operation (assuming the app itself provides the ability to browse the contents), but every other app only sees an empty directory at the mount point.

It turns out that this problem is a side-effect of the approach used to implement multi-user storage in Android 4.2. I've explained the problem in detail in the commit log for a Gerrit issue we're reviewing for CyanogenMod 10.1 that addresses the problem:

Ideally, any 4.2 ROM can provide support for CifsManager by applying a change to Dalvik, and a second change to the boot ramdisk's init.rc:

Dalvik change: Zygote: Restrict slave mountspace so Dalvik apps can mount system-wide volumes

init.rc change: init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

Alternatively, ROMs that can't/prefer not to use a source-build Dalvik (libdvm), I've also provided a kernel patch that implements a similar workaround within the kernel. It also requires the above init.rc modification:

Kernel commit: Restrict slave mountspace so Dalvik apps can mount system-wide volumes

init.rc change: init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

With either of the above two fixes, CifsManager et al. should work when using a mountpoint outside /storage (and /mnt/shell/emulated). I'd recommend using "/mnt/cifs" or something similar. Attempting to mount inside /storage retains the previous behavior where the mount can not be seen by other apps.

Note that ROMs only need one of the above two fixes, although they are compatible with each other and will function correctly if both are present. The Dalvik approach is preferred over the kernel workaround where feasible. Attached are the three patches referenced in the issues/commits.
[Android Software/Hacking General [Developers Only]] wadimka:
So is it possible, for a noob like me, to get it working wihtout learning all that coding stuff etc.?
[Android Software/Hacking General [Developers Only]] vorcers:
I wanted to know if it really works - and it works! :good:

I created a Nexus 7 wifi kernel and shared it. Thank you so much!
[Android Software/Hacking General [Developers Only]] debully:
Can anyone noobproof this into a flash able zip?

PA is perfect for me except for no cifs.
[Android Software/Hacking General [Developers Only]] timduru:
dalvik patch works great on TF101

I've integrated it into TeamEOS4 rom.

many thanks ! :)
[Android Software/Hacking General [Developers Only]] bubbleguuum:
It would be really awesome if a fix or hack to this issue (empty directories if app is not launched before mounting) could be found without requiring a kernel patch.

I tried the debuggerd method supposedly used by StickMount and found that it didn't work: app still sees empty mount if its process is started after mount.

Btw, app sees mounts if its process is started before because mounts are propagated in that case. They are just not inherited on process creation due to how zygote spawn app processes and initializes their mounts.

I never understood how hacking debuggerd could work to fix this issue as this is not much different to me than running a shell script invoking adb shell in loopback mode (requires root), since debuggerd and adbd run with identical priviledges:

setprop service.adb.tcp.port 5555
stop adbd
start adbd
adb connect localhost
adb shell mount ....

I've found a workaround that involves hijaking the obb directory by mounting whatever you want over /mnt/shell/emulated/obb. This directory is systematically bind mounted by the Zygote process in <external storage root>/Android/obb (see source code) when it spawns an app's process

Unfortunately this hack is not very usable because it has the side effect that any app expecting its data in the obb directory will not find it. And you can only mount one filesystem here.

Conclusion: with the new 4.2 multiuser support, Google made miserable all apps dealing with mounting.
[Android Software/Hacking General [Developers Only]] pjsports:
kernel patch works on acer picasso

many thanks ! :good:
[Android Software/Hacking General [Developers Only]] ayysir:
Added the patch on ramdisk and kernel level,

will compile and try this out!! thanks man!
[Android Software/Hacking General [Developers Only]] xdadevnube:
Just found this thread. This is seriously sweet! I had to roll back to 4.1.2 ROMs on the Nexus 7 because of the CIFS issue. Thanks for all the hard work creating this fix.
[Android Software/Hacking General [Developers Only]] Deleted member 4845507:
Seems like it's Merged on CM 10.1, im right ? its says "Merged" on github. It happened today. Maybe on tomorrow nightly :)
[Android Software/Hacking General [Developers Only]] tristaoeast:
I do hope so, as I have spent a few weeks already trying to find some "workaround" for this issue... If not maybe I'll try to merge it myself...
[Android Software/Hacking General [Developers Only]] Deleted member 4845507:
same here. I'll wait for next nightly. Otherwise i'll do by myself.
[Android Software/Hacking General [Developers Only]] lopez1_de:
This are really good news. Can you please post your success here guys? :cowboy:
[Android Software/Hacking General [Developers Only]] moliverac8:
Now,on any ROM with 4.2 I can use app like directory bind to transfer data to sd and it will work?

Enviado desde mi GT-P3110 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] lopez1_de:
with the monthly cm 10.1 build 01/21 it's not working for me on nexus 4. maybe tomorrow
[Android Software/Hacking General [Developers Only]] moliverac8:
But the nexus 4 hasn't got external sd,how can you confirm that?

Enviado desde mi GT-P3110 usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] lopez1_de:
This thread is not about sd. It's about mounting things like cifs/usb drives.
[Android Software/Hacking General [Developers Only]] tristaoeast:
Today's Nightly of CM 10.1 has this already working. I mounted a Network share on my Nexus 7 with Cifs Manager under /mnt/cifs/my_subdir (I don't remember if I had to create the my_subdir first) and it worked!! you should try it ;D
[Android Software/Hacking General [Developers Only]] Doncabezon:
I was under the impression that with this fix, your mount point had to be outside of mnt. Basically, you couldn't use it to bind data for apps ex. Directory bind. Has directory bind been tested?
[Android Software/Hacking General [Developers Only]] vorcers:
The directory need to be outside of /storage and its links:

/storage

/mnt/sdard

/sdcard

/mnt itself isn't affected. Maybe only the subfolders are affected...
[Android Software/Hacking General [Developers Only]] :
Amazing! thank you for info. In meantime coul you test Directory Bind or http://code.google.com/p/cryptonite/ ? and check it they are working ?

thanks again mate.
[Android Software/Hacking General [Developers Only]] mkasick:
CM 10.1 M1 doesn't include this patch as it came in too late to be thoroughly tested in time. It has been merged in the 10.1 nightly series and, assuming there's no issue that would result in a revert, it will be in M2 also.
[Android Software/Hacking General [Developers Only]] xdadevnube:
The problem with that is many apps that read the sdcard such as Poweramp and various media players don't seem to read outside the /sdcard directory. I may indeed have to stick to 4.1.2. I wonder if Google needs a polite and concise letter to get the to resolve the issue themselves.
[Android Software/Hacking General [Developers Only]] lopez1_de:
Yes, Google should change it. 4.2 is missing a public folder for data exchange between user profiles and for mounting. :)

---------- Post added at 09:41 AM ---------- Previous post was at 09:31 AM ----------

OK. Can confirm that it works with LUKS Manager. It mounts crypted containers into a directory. I'm on Nexus 4. Will test on Nexus 10 later.

I have a question every time I create a folder in /mnt and restart Android, the folder is gone. Any ideas how to create and keep a folder called cifs? I'm using the existing folder obb now and it works.

Thank you so much for making this running again.

EDIT: Any idea how to make this foders visible in /sdcard ? USB OTG is using the same approach?
[Android Software/Hacking General [Developers Only]] StephenC82:
Looks like it's been reverted from cm10.1?
[Android Software/Hacking General [Developers Only]] :
wich rom and version are you running ?

---------- Post added at 04:17 PM ---------- Previous post was at 04:17 PM ----------

Im asking myself the same :(

Im trying to mount using Cryptonite (http://code.google.com/p/cryptonite/) on cm 10.1 nightly 01/21/13 and its not working.
[Android Software/Hacking General [Developers Only]] lopez1_de:
I'm on CM10.1 nightly 2013/22/01 (NOT the monthly! from 22/01)

Please read this thread carefully. You can NOT mount to /storage /sdcard and any other folder symlinked to /storage
[Android Software/Hacking General [Developers Only]] :
Tried mounting to /mnt/MY_DIRECTORY no sucess. I was on 01/21 nightly.
[Android Software/Hacking General [Developers Only]] lopez1_de:
I used /mnt/obb/MY_DIR and it worked. Not sure that obb is the best solution, but for now it's ok for me.
[Android Software/Hacking General [Developers Only]] xbox1513:
I also couldn't get it to work, and i am on cm 10.1 1/22 nightly. What permissions did you set for /obb and /mnt/obb/my_dir. What kernel are you using, and if possible, can you post the URL for the ROM, and kernel? Thanks
[Android Software/Hacking General [Developers Only]] ozgreg:
All,

The change has been reverted from last nights CM 10.1 builds..

Revert "init.rc: Create /storage mountpoint so Dalvik can mark as sla…
[Android Software/Hacking General [Developers Only]] mkasick:
Crud, yes it was. I thought it would be safe to mount the /storage tmpfs right after /storage is created. However there's some devices (not all non-emulated ones, but some) that build /storage in early-init which the tmpfs breaks. My hope with this was to avoid creating device-specific patches, but that may be inevitable.

I'll have to work out an updated solution for CM. In the meantime, the existing patches in the OP will work for other ROMs. Once I find a reasonable solution for CM I'll update the OP so folks can stay in sync if they'd like.
[Android Software/Hacking General [Developers Only]] lopez1_de:
http://www.get.cm/get/jenkins/18408/cm-10.1-20130121-NIGHTLY-mako.zip

This one (Nexus 4) workes for me. I didn't set any special permission.

Another question. I have an Galaxy S2 and updated it from CM9 to CM10 to CM10.1

AND mounting is working perfect

even if I mount into /storage !!! Any idea why it's working here?
[Android Software/Hacking General [Developers Only]] xbox1513:
I have a nexus 7, and i could not get it to run on cm10.1 1/21/13 and 1/22/13.

Does you Galaxy S2 have emulated storage, or users on 10.1?
[Android Software/Hacking General [Developers Only]] mkasick:
That's expected.

On devices without emulated storage, a mount performed by one Dalvik-based app will be visible to all other Dalvik-based apps, but not to non-Dalvik processes (e.g., adb). So yes, CifsManager would work mostly normally on a Galaxy S 2, except that mounts that would be visible to an "adb shell" in Android 4.1 won't be in 4.2, but that's not a problem for most folks.

However, on devices with emulated storage, a mount performed by one Dalvik-based app is only visible to that app, not any others. This is necessary to provide multi-user storage support. Thing is, this behavior isn't necessary across the entire filesystem, so we can restrict it to /storage and allow mounts to be universally visible outside storage, which is what the patches do.

For what it's worth, there's a new CM Gerrit issue under review to replace the one that was reverted earlier this week. It has a workaround to fix the issue we had on devices that were populating /storage early. Generally speaking this shouldn't be a problem on non-CM ROMs (or where it is, ROM maintainers can move /storage population to "on init") and so I'd recommend that others stick with the patch set in the OP.
[Android Software/Hacking General [Developers Only]] giveen:
Will this patch work for CM10?

i am looking at the line

static const char source[] = "/mnt/shell/emulated";

which is only seen in CM10.1. Can I remove this line and keep it working with /storage?
[Android Software/Hacking General [Developers Only]] ozgreg:
thanks again for taking up this issue and working to find a resolution, I love having CIFS support back in my N7 CM 10.1 although I did get CIFS to work via the ADB mount it was a pretty ugly solution..

I guess one of the issues remaining is the inability to mount off /storage thus providing support for apps who only see this mount. I toyed with the idea of proving a link via ln -s back to /mnt via a subdirectory but failed to get this to work. Most likely my ancient rusty unix skills are no longer help me out here :)

Any Thoughts?
[Android Software/Hacking General [Developers Only]] ozgreg:
Unfortunately your new patch (http://review.cyanogenmod.org/#/c/30872/) does not seem to be getting reviewed.. Maybe some issue with the Gerrit notifying reviewers?
[Android Software/Hacking General [Developers Only]] Aerowinder:
Looks like it's been merged now, should be in the next nightly.
[Android Software/Hacking General [Developers Only]] mkasick:
If the app is restricting itself to subdirectories of /storage, you can try:

mount -wo remount /
mkdir /mnt/cifs
ln -s /mnt/cifs /storage/cifs
mount -ro remount /

Then mount to /mnt/cifs, and I think it should be visible at /storage/cifs.
[Android Software/Hacking General [Developers Only]] :
hey mkasick, says merged on gerrit. Next cm 10.1 nightly ? maybe ? btw thanks for your efforts fixing this issue. :good:

no on else tried or at least pointed out that was going to take a look at this issue. I really hope it works, google screwd things and you fixed.

good work!
[Android Software/Hacking General [Developers Only]] Aerowinder:
There are two 20120127 nightlies (at least for d2tmo). The newer one has this change merged. Tested and working.
[Android Software/Hacking General [Developers Only]] :
where ? on http://get.cm/?device=i9300&type=nightly there's only one.
[Android Software/Hacking General [Developers Only]] ozgreg:
Yeah this would work but you would need to mount off /storage/sdcard/cifs which will not work.. Just updated to latest nightly, works a treat, thanks for providing the fix and your help..
[Android Software/Hacking General [Developers Only]] :
Installed latest nightly on I9300, its working. I was able to mount under /mnt/obb/My_Directory. I can't mount under any other directory in /mnt.

Thank you, for me at least. It's fixed.
[Android Software/Hacking General [Developers Only]] lopez1_de:
The cifs folder was created, but had insufficiend permissions. I set chmod 777 on /mnt/cifs but had no luck to get it running. After a reboot, the folder /mnt/cifs was gone. :confused: But /storage/emulated/0/cifs is still there and I can't delete it. :eek:

Is there any way to get md4.ko and nls_utf8.ko?