yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] intronauta:
Seems that problem comes when vold is trying to mount the secure containers (asec) in /mnt/sdcard/external_sd (I thought that vold used /mnt/sdcard for it).

Anyway, after several unsuccessful flashes cfroot->stock->cfroot->stock->...., I tried to reassign permisssions/uid to the ".android_secure" folder in the external_sd path

mount -o rw,remount /mnt/sdcard/external_sd/.android_secure

chown 1000.1015 /mnt/sdcard/external_sd/.android_secure

chmod 777 /mnt/sdcard/external_sd/.android_secure

Flash stock kernel (Mobileodin)

Flash CF root XXJPQ(Mobileodin)

and voliá! no more problems installing apps like teamviewer or restoring with titanium svox classics or some games.

It's very annoying and I don't see the logic in it, because I think that permissions are reseted/created by vold when folder is mounted at boot, but it's works for me :confused:

(I've never flashed a sammy-leak of ICS, only CM9)
[Galaxy S II Original Android Development] confusedmuse:
You're right about the kernel, but what's with Mobile Odin?

The time i've bought Mobile Odin and SU Elite, how should i know Mobile Odin changes eventually without giving me any choice??
[Galaxy S II Original Android Development] Chainfire:
You still have the choice - after flashing with Mobile ODIN, simply install Superuser from Market. Or downgrade to Mobile ODIN v2.15, which doesn't install SuperSU. By default things are a bit different, but you are still perfectly able to use Superuser ...
[Galaxy S II Original Android Development] Chainfire:
Actually those two steps alone will fix the problem, for a little while ... :)
[Galaxy S II Original Android Development] confusedmuse:
That did't work unfortunately, i've waited and waited... the download bar for SU or any other app in Play Store is stuck. Can't download anything. Waited for 3 hours... endless loading.

When pressing back, it takes up to 5 minutes till the market closes... Any action takes minutes. Also can't install or uninstall anything. Bar is stuck anytime.

As long as SuperSU is installed, i can't use the phone.

Only solution for me, like i said, is to flash a CF-Root Kernel that contains the old SU with Odin, then a Stock Kernel with Odin.

Flashing with Mobile Odin automatically injects SuperSU and this makes my phone unusable from start. Therefore MO lost its functionality for me...
[Galaxy S II Original Android Development] Chainfire:
If that is your only problem, the problem has already been replicated and will be fixed with the next Mobile ODIN update... tonight ?
[Galaxy S II Original Android Development] confusedmuse:
Thanks. btw. i've overlooked the 2nd solution you've mentioned at all...

But i didn't made any backups of MO, so i don't know how to downgrade...

Would be great if i could just select inside MO, which SU version will be injected.
[Galaxy S II Original Android Development] intronauta:
I'm a little bit confused, sorry. I tried several times changing between stock and cfroot (always with mobileodin) and some specific market apps/titanium never worked with cfroot until I did "the irrelevant permissions trick" XD. I don't know if this did the trick or was only randomness.

¿what do you mean with "for a little while"? ¿is it only a temporal solution??. :(
[Galaxy S II Original Android Development] Chainfire:
It appears to be randomness that that worked, yes. And for a little while I mean, it can take a number of reboots, hours, etc to make the problem appear again. But usually it does. I'm working hard to figure out what causes the problem.
[Galaxy S II Original Android Development] jamesking420:
Chainfire does this for FREE, no questions asked. Why on earth you think you "deserve" something from Chainfire is beyond me. I've made requests of him, and he's kindly accomodated me (over on Google Plus), but to demand an explanation for his decisions is ridiculous. He is giving up his time/money/effort for us, so stop complaining.

Chainfire - I hope yo don't think we're all as ungrateful as a few of these guys!

James
[Galaxy S II Original Android Development] Krookd:
+ 1
[Galaxy S II Original Android Development] CamoGeko:
People that moan about free stuff should be banned and sent to the arctic circle to live with polar bears.
[Galaxy S II Original Android Development] dragon135:
The reason why he created SuperSu is in the 2nd post of SuperSu thread (click first item in supersu setting)

Sent from my GT-I9100
[Galaxy S II Original Android Development] Mr.Greg:
HA ha ha:D:D, You again:D You should be in xda senior moderator and internet eraser, to clear all unusable posts:D
[Galaxy S II Original Android Development] CamoGeko:
LOL yeah, I did apply last summer but never got any Yes or No answer. It seemed they forgot about me. :( :rolleyes:
[Galaxy S II Original Android Development] Mr.Greg:
You should apply one more time, why not? Nothing to loose
[Galaxy S II Original Android Development] CamoGeko:
Hmm... I guess I will when they will be recruiting again. :)
[Galaxy S II Original Android Development] reddeath:
CFROOT for LPQ NEE

Hi All,

Could you please let me know if there is already a stable CFROOT kernel that could be used to root the official LPQ NEE (nordic) update done via Kies? I read few posts back that there are issues with SD card or others when using XEO kernel.
[Galaxy S II Original Android Development] Stink:
With CF-Root still remained a problem with the card and the radio on LPQ?

Will these problems resolved?

I'd like to use a custom bootanimation and bootsound, but with the stock kernel to it is not possible (((
[Galaxy S II Original Android Development] MeX_DK:
Just to stay clear, I wasn't moaning more so then wondering the change. I know most of the developers here do their work for free and in their spare time and I have actually donated to more then one of them as a token of my appreciation or hosted some files of theirs.

How many of you can say the same?.

I fully understand Chainfire's reasons for doing what he did, i honestly did. It makes perfect sense for me, that he would rather include his own app, rather then an app someone else made. I might not agree with the decision that but thats on me.

But I can either accept it and keep flashing CF-Root and then replace the SuperSU myself, or go find another rooting kernel for the SGS2.

Chainfire, thanks for a prompt and to the point answer to my question. Its a delight when developers actually takes the time to reply to question rather then simply ignore them :)
[Galaxy S II Original Android Development] vodanhdaisu:
Im sorry but how can i install CF-Root_LPQ ? I went to recovery mode and choose install from external storage, but it's failed. I unzipped the file and then there was another rar file inside, i unrar that rar file and there is Zimage inside :( Are there any alternative file to install by odin ?
[Galaxy S II Original Android Development] aeroman:
@vodanhdaisu

you must extract the zip and flash the tar (Download Mode) file with Odin, select Phone and flash. ;)
[Galaxy S II Original Android Development] reddeath:
PLQ kernel?

Sorry for repeating myself, but here we go again:

Could you please let me know if there is already a stable CFROOT kernel that could be used to root the official LPQ NEE (nordic) update done via Kies? I read few posts back that there are issues with SD card or others when using XEO kernel.
[Galaxy S II Original Android Development] jamesking420:
Where is this talk about problems? I've not experienced any problems with it.
[Galaxy S II Original Android Development] reddeath:
The problem with unmanaged forums is that information is scattered like a needle in a mountain of ...
[Galaxy S II Original Android Development] redzion:
Have 8GB microSD card, same problem.. aps which should be installed on ext-sdcard can not be installed neither can be used.. on stock rom is OK, in cf-root problem persist..
[Galaxy S II Original Android Development] kenkiller:
Chainfire is aware of the sd problem, he's working on it as much as possible guys....
[Galaxy S II Original Android Development] marouane80:
the last kernel cf-root XXLPQ doesn't work. back to LPJ
[Galaxy S II Original Android Development] ndy4eva:
I got a following error message when I use CF-Root LPQ kernel.

"Couldn't install on USB storage or sd card"

When I went back to stock LPQ kernel, the error message went away.
[Galaxy S II Original Android Development] stormtroopercs:
It happens because Samsung put in a check so if the kernel isn't signed by Samsung you can't install to as card
[Galaxy S II Original Android Development] Silverwolf2:
Reed before ask for solutions. Solution it's on first page.
[Galaxy S II Original Android Development] redzion:
Give me a break, there is no solution for now so... ;)

And this was not a question but report that developer would know if problem persist also on tinny microSD cards aka 8GB, 4GB etc...
[Galaxy S II Original Android Development] Chainfire:
I'm pretty sure I've found which signature is checked, its location, and its size, which causes the SD to not be mounted.

No idea how to fix it yet, though, or generate the correct signature myself.

I suspect it's a SHA-256 signature, but no idea what the salt or content may be. With a +- 5 MB payload, hard to bruteforce ... (this opinion may be completely different in a few hours, hehe)

EDIT: I *may* have found the solution... will report back later.
[Galaxy S II Original Android Development] Dimer81:
u can root without unsecured kernel, there r limitations but nothing serious for the average user. look for the tread in this section.

GOOD NEWS!!! :)
[Galaxy S II Original Android Development] officiallyme:
VERY cool!

do you think the signature is different for each release?

i.e. the polish firmware will have a different one than the upcoming uk et al?
[Galaxy S II Original Android Development] Chainfire:
LPQ / PROPER / v5.4 released !

A CF-Root v5.4 "Proper" for XX_XEO_LPQ has been posted on the first page.

This should fix the SD card issue. If it doesn't, I'm not sure I want to know anymore :)

ro.secure is also set to 1 again, because some apps check for this and refuse to run otherwise. I have patched ADB to run as if ro.secure was set to 0, though, so you still have root from ADB shell, and ADB remount also still works.

SuperSU has also been updated to the latest version.

Enjoy!

P.S.: I have also looked at the LPE kernel, it's built from the same source as LPQ, so just use LPQ CF-Root for LPE firmware! Of course you can also use this LPQ kernel for other LPQ variants.
[Galaxy S II Original Android Development] Crugath:
Thanks, Chainfire!!

This appears to have worked for me so far. Thanks for the quick work in repairing it :)
[Galaxy S II Original Android Development] diemadedrei:
works for me as well...good work :)
[Galaxy S II Original Android Development] flydev:
you are the one (like neo)

don't forget to clear dalviks cache after flash!!
[Galaxy S II Original Android Development] antt00:
Confirm SD card issue fix on LPQ. Thanks a lot.
[Galaxy S II Original Android Development] Cowboy X:
Excellent thanks, I will install tonight.
[Galaxy S II Original Android Development] hotsync100:
Could I flash it with Mobile Odin Lite ? or Should use Odin ?
[Galaxy S II Original Android Development] Krendelrus:
you can use CWM Manager
[Galaxy S II Original Android Development] danmullen:
If you're already running CF-Root 5.3, you might as well just use CWM to flash it - really simple :)

Sorry, just saw the post above... :/
[Galaxy S II Original Android Development] shaq1907:
New fix works, thanks for LPQ update.
[Galaxy S II Original Android Development] lenbak:
Can I flash CF-Root-SGS2_XX_XEO_LPQ-PROPER-v5.4-CWM5.zip safely with CM9 (latest build) and Siyah Alpha 5 kernel, since I'm having the SDcard problem ?
[Galaxy S II Original Android Development] hIdd3N-:
Confirmed! SD Card is fixed! Well done Sir, well done. :D
[Galaxy S II Original Android Development] dinoc:
This fixed my Exchange server "Connection error" issue, too :)

Many thanks!
[Galaxy S II Original Android Development] akbarhash:
Fixed for now. Am going to wait for two days before confirming though. Thanks.

Sent from my GT-I9100
[Galaxy S II Original Android Development] rizcom:
Chainfire king of mods
[Galaxy S II Original Android Development] seavers11:
Works great only Adobe Flash Player says "Not enough memory" ???
[Galaxy S II Original Android Development] fasst:
Problem!

I'm trying to flash CF-5.4 over CF-5.3 but both in recovery,CWM and Odin Mobile it aborts.

With Odin (pc) it says success and at boot the yellow triangle apperars.

But still CWM says CF-5.3

Anyone have a clue on whats going on?
[Galaxy S II Original Android Development] hIdd3N-:
Hmm make sure have the correct "PROPER" file. I extracted it and flashed the zImage with CWM "Flash a Kernel" worked flawless from stock. Maybe flash stock first then try 5.4 this way.
[Galaxy S II Original Android Development] rosgr100:
problem is gone i have installed 20 apps which caused me problems before and i make a restore with tibu with no problem also!

GOOD WORK CHAIN!! THANKS FOR ALL YOUR HARD WORK!
[Galaxy S II Original Android Development] dzontra83:
Root explorer problem

I installed cfroot 5.4 in lightening rom 2.0 and root explorer doesnt work. Every other app that reqires root works excelent. Is there any fix for this?
[Galaxy S II Original Android Development] Chainfire:
Nope... some more people have reported issues with root explorer, but it works fine here. As long as I can't replicate a problem it's not something I can fix.
[Galaxy S II Original Android Development] stormtroopercs:
It has something to do with supersu. It does not play well with root explorer
[Galaxy S II Original Android Development] marvi0:
Thanks for your work buddy, have gone in market or play, whatever Google wants us to call the new market, and have bought a couple of yo apps, Chainsfire3d, supersu and mobile odin, in recognition of your great work here, I wander were our gs2, would have been without your development.
[Galaxy S II Original Android Development] goolby:
Try to clean catch and dalwik catch, after update from 5.3 my supersu won't work so i cleaned them booth....
[Galaxy S II Original Android Development] fasst:
Thanks. Flashed stock kernel and then CF-5.4. Everything is like it should be now.
[Galaxy S II Original Android Development] RTP:
I am getting one problem with 'Extended Controls' when trying to add a widget. It says 'Please reconnect your SD card first'. Don't know if that is the SD card issue, or an ICS issue.
[Galaxy S II Original Android Development] shr33kant:
I can also confirm that the sd card issues are now gone! :-D

Sent from inside a black hole.
[Galaxy S II Original Android Development] danmullen:
Root Explorer working fine for me. I did wipe dalvik cache after flashing.
[Galaxy S II Original Android Development] codo2003:
Does this give the set a full ROOT?.

Mybackup Pro is not getting full root function working well, does this fix it?

Thanks Chainfire for your help...
[Galaxy S II Original Android Development] ahmed534:
hi,

please help me guys !! i have a big problem !!

I was in Beta stock 4.0.3 (LPB)

i flash kernel (CF-Root-SGS2_XX_XEO_LPQ-PROPER-v5.4-CWM5.zip (fixed, use also for LPE)) properly with odin !!

then the phone wont start !! even when i remove the battery and put it back !!

and when i put in charger it just show battery icon then disappear agin and again !!

cant access even recovery or download mode !! please what to do ?? :(
[Galaxy S II Original Android Development] allgsmnetwork:
hi all friends and chainfire master ;)

one kernel for increase perfermonce?or script for oc uv?

trhanks :D
[Galaxy S II Original Android Development] OGroteKoning:
I think if you get a jig you will be able to get into download mode. Then flash stock LPB kernel

Sent from my Galaxy S II
[Galaxy S II Original Android Development] ahmed534:
thks all ! SOLVED :)
[Galaxy S II Original Android Development] redzion:
last update resolve ext-sd card problems.. tnx
[Galaxy S II Original Android Development] Twomorecharacters:
I'm on LPQ with the previous CF kernel installed and whenever I try to flash the proper 5,4 it immediately gets aborted. Tried wiping the cache. Should I do a full wipe? I'm thinking of reflashing LPQ to stock unrooted state and then try again, anyone had to do this?
[Galaxy S II Original Android Development] Urokinase:
Do you unzip the file and flash the .tar ?

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Original Android Development] andres3d:
I have a big problem here, i flash CF-Root-SGS2_XX_XEO_LPQ-PROPER-v5.4-CWM5.zip, but when i try to mount USB Storage on CWM recovery, i get this error "Unable to open ums lunfile (No such file or directory)", any help?
[Galaxy S II Original Android Development] Twomorecharacters:
Sigh. Been going back and forth with ICS Domination and WanamLite that I didn't think of it :/

All's well, thank you.
[Galaxy S II Original Android Development] nilezon:
Great work. Donated: 7YU42673X2740500E
[Galaxy S II Original Android Development] fatbax:
Urgent please help

Hi all i need help installing siyah kernel using cwm manager i put the zimage fle on the internal storage and went into cwm.app and flash kernel select zImage and then one small dialog box appears and nothing happens. kernel still old one in settings

im on criskelo's V05 4.0.3 LPQ

i rooted my phone on stokc lpj and then installed criskelos

PS: my battery is 50%
[Galaxy S II Original Android Development] poyda69:
I had the same issue, to fix delete "Root Explorer" reboot phone then install it again.
[Galaxy S II Original Android Development] hIdd3N-:
wrong thread/kernel dude. anyways, if cwm app fails try recovery mode and flash the siyahwhatever.zip. be aware that the siyah kernel doesn't include the latest sd card fix, so i don't recommend using it.
[Galaxy S II Original Android Development] fatbax:
can i flash the latest cf-root 5.4?
[Galaxy S II Original Android Development] andres3d:
There is my logfile with "E:Unable to open ums lunfile (No such file or directory)"... any help will be appreciated.
[Galaxy S II Original Android Development] RTP:
My error. For some reason my SD crd was unmounted.
[Galaxy S II Original Android Development] X-Plosiv:
So did you use jig or? Be free to answer, might help someone in the future...

Sent by powaaaaah of GT-I9100 Taparatatatalk!
[Galaxy S II Original Android Development] hIdd3N-:
If you are on XXLPQ (XEU) yes.
[Galaxy S II Original Android Development] fatbax:
im on criskelo's 4.0.3 xxlpq but when i rooted my s2 to install the rom i was xxlpj? so can i do it ?
[Galaxy S II Original Android Development] so_ony:
Hey Chainfire hey Guys,

but i

i need your help !

i flashed CF-Root 5.4 Kernel for installing correct ICS 4.0.3 LPQ but i have a big problem now!

I cannot mount my usb storage ! always getting the error : E:unable to open ums lunfile

and another problem is if i want to flash Checkrom or another rom and want to use another Kernel , for example N.E.A.K or SpeedMod Kernel, my phone boots to "Triangle" Part and stops there, and after i am reflashing CF-Root it boots normaly oO what can i do ?
[Galaxy S II Original Android Development] Mr.Greg:
May be you need another bootloader?
[Galaxy S II Original Android Development] ste1164:
I also had this error and I'm not sure why.
[Galaxy S II Original Android Development] so_ony:
have you fixed this issue? don't know what i can do for fixing it
[Galaxy S II Original Android Development] alexnative:
deleted

solved.......... LPE can use LPQ :p
[Galaxy S II Original Android Development] sun-drop:
i'm on LPQ offical at the mo, rooted, but with the stock kernal flashed back ... and i can't flash this via odin ... gets stuck on setupconnection :/

---------- Post added at 06:37 PM ---------- Previous post was at 06:15 PM ----------

worked fine via mobile odin. WIN
[Galaxy S II Original Android Development] Ed_Gein:
Good morning guys!

Rooted with the "proper" LPQ kernel but I still get the SD card read error. Any suggestions?

It passed through odin, although i have NEE as product code. But since it "succeeded" i figured it didn't matter.

Thanks in advance mates!

/Ed
[Galaxy S II Original Android Development] redzion:
Latest cf-root has sd card problem.. cant mount sd card, I notice this when I try to make picture but camera return msg that it need sd card to be mounted..
[Galaxy S II Original Android Development] Chainfire:
If you've using Triangle Away, try rebooting (kernel bug). If not, can't replicate either problem here... working fine.
[Galaxy S II Original Android Development] Ed_Gein:
Tried rebooting and for some reason i tried fix permissions in CWN, still no SD card for me.

Tried to root with the CWM.zip and Su-BusyBox.zip method first if it matters

Gonna have to reflash everything *sigh*

EDIT: Tried to do a Nandroid from CWM now with error code: Can't mount backup path.
[Galaxy S II Original Android Development] hIdd3N-:
delete... 10char
[Galaxy S II Original Android Development] elban:
look at this thread:

http://xdaforums.com/showthread.php?t=1121971
[Galaxy S II Original Android Development] hacksome:
Hello ChainFire, here is the stock kernel for KF1.
[Galaxy S II Original Android Development] hovnovice:
Thanks I am not yet rooted, How to install this ROM , via ODIN ? just as PDA ? or .. I am now on KE2 . Sorry for noob question , once I learn , will not ask again ..)
[Galaxy S II Original Android Development] hacksome:
This is chainfire's thread on his kernel. You should not hijack this for asking questions. Looking at the stickied posts should answer most of questions. Like this. http://xdaforums.com/showthread.php?t=1075278
[Galaxy S II Original Android Development] frogfoot:
Another request here for KF1

Thanks

Tom
[Galaxy S II Original Android Development] Sonic7:
+1 :-)
[Galaxy S II Original Android Development] BoneMo:
also +1

PS: but chainfire is offline now... :(
[Galaxy S II Original Android Development] gn00my:
And another request for KF1 :-) thanx in advance
[Galaxy S II Original Android Development] TAEL:
I think it's time to implement CWM4 too. :)
[Galaxy S II Original Android Development] shahadat:
KF1 please :)
[Galaxy S II Original Android Development] lukemo:
+1 for kf1 - thanks a lot for your job
[Galaxy S II Original Android Development] CamoGeko:
+1 on the KF1 kernel.

Thanks chainfire! You're awesome.
[Galaxy S II Original Android Development] Vertumus:
Go go master Chain, kf1 kernel needed :)

Sent from Samsung Galaxy S II mobile
[Galaxy S II Original Android Development] jdmusicman72:
Where can I find CWM Manager? I had it, but now I don't. We all know how that goes...
[Galaxy S II Original Android Development] Chainfire:
I'm out of town. Hopefully tomorrow :)
[Galaxy S II Original Android Development] gn00my:
Thanks, until tommorow then :-)
[Galaxy S II Original Android Development] CamoGeko:
You have to re-flash the kernel as far as I know. ;)
[Galaxy S II Original Android Development] devteam:
I got almost the same problem, but under the "ID:COM" it turns yellow.. The phone says "Odin mode" product name + some more, and "Downloading - Do not turn of target!!"

:)

Edit: Is it because I tried the XEU root and have a nordic version?
[Galaxy S II Original Android Development] dyallo:
What issues? I've been using your kernels since i9000 and never had a problem.

Keep it up! Thanks
[Galaxy S II Original Android Development] elban:
Haven't found any as well.

Maybe that message was a sort of initial disclaimer :-)
[Galaxy S II Original Android Development] Ed_Gein:
Solved it ^^

The Fix: IF you don't get your SD card in MyFiles or in storage the do the following in order

Power off

Recovery mode

Fix permissions

Power off

Remove SD

Boot normally and let media scanner go its course

Power off and re-insert SD card and reboot

Presto, SD card works

Worked for me atleast :-)
[Galaxy S II Original Android Development] confusedmuse:
Thanks for the Mobile Odin update!

The latest version of SuperSU is great! No lags/problems anymore.

Wish i could get back my money for SU Elite... :D

Keep it going, Chainfire!
[Galaxy S II Original Android Development] basketor:
links doesn't work on stock ics browser