yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Original Android Development] vr2008:
ok.i solved problem by flashing stock firmware.but will NEVER come around OXYDO :)
[XPERIA X8 Original Android Development] sgt. meow:
@vr2008

Why? Are you not bold enough? :cool:

Just kidding. What you flash is totally up to you.
[XPERIA X8 Original Android Development] sgt. meow:
It's pretty stable actually. If you're going at it that way, I don't think any JB any-thing is stable. Sometimes you just have to adapt.
[XPERIA X8 Original Android Development] pilu1978:
Yes, the kernel modules usually built from the kernel source. :) It was only an example, because some parts of ramdisk compiled from other (maybe GPL protected) source. ;) And as you wrote, the scripts not need sources. :D But more elegant if you publish it in readable format, not only in the kernel package. Easy to extract, but better if you try to be professional. ;)
[XPERIA X8 Original Android Development] vr2008:
because i flashed almost any kernel and rom and not faced this problem since your kernel ;)
[XPERIA X8 Original Android Development] sgt. meow:
@all

Enough spamming. Only dev posts from now on please. The OT thread is in the General section.

If you wanna help, you can post. But if you wanna express your opinions please don't do it here.

I allowed such posts till now, but not anymore please.

And I have to upload the ramdisk as EET has told me. No problem that.
[XPERIA X8 Original Android Development] CnC-ROCK:
deleted... sorry sgt...btw.. i am going to test the kernel out tonight.. will report tomorrow how it went
[XPERIA X8 Original Android Development] sgt. meow:
I've tried pretty much everything I can think of but the ICS ROM just won't read the sdcard contents unless via Terminal. Can anyone help me with this?

sgt. meow
[XPERIA X8 Original Android Development] sgt. meow:
Can't something like this be done?

1. The external storage lines from the original init.delta.rc (the JB one) are removed and so are the lines from the ICS one.

2. bootrec will decide what to write in the JB init.delta.rc if the condition is met and same for ICS.

I don't know if it will work, but I can try.
[XPERIA X8 Original Android Development] nobodyAtall:
You cannot change init.rc* files on the fly. It wont have any effect since init would have already started.
[XPERIA X8 Original Android Development] sgt. meow:
Any solutions other than the one feherneoh came up with?
[XPERIA X8 Original Android Development] :
Why not try 2ndinit?It would do better than chrooting.

Sent from my E15i
[XPERIA X8 Original Android Development] Dir3T:
In v9 i have bug when i turn wifi on the cellphone reboot :(
[XPERIA X8 Original Android Development] sgt. meow:
Doesn't happen to me. :( It happened once on the uni-kernel-v1, though. Try re-flashing.
[XPERIA X8 Original Android Development] Dir3T:
uni-kernel-v1 link to download please, because in fist page there is v8 ?
[XPERIA X8 Original Android Development] Dir3T:
I Reflash and bug wifi still :(
[XPERIA X8 Original Android Development] kaotomut:
Sorry,if I spam or troll here.

I got the same problem after flashing this Kernel. The Wi-Fi couldn't be turn on and sometimes restart itself. But I noticed that it happened when I skipped logging in to the Wi-Fi the first time to sync with Google Account before the rom is starting up and preparing: confused: to run.

So,I tried to re-flash rom[not kernel], But this time I suddenly log in to Wi-Fi then Bingo!!:good:

Now I can use Wi-Fi whenever, wherever I want.

PS.I use this trick with [ROM] MiniCM10-4.0.2 JB 4.1.2/CM10 nightlies and [ROM][JB] Slim Roms+ | Extreme Speed that work like a charm. :laugh: and this kernel is really AWESOME:good: I love it so much!!:o
[XPERIA X8 Original Android Development] sgt. meow:
This goes to @feherneoh, @pilu1978, @Daveee10 and @nAa

I noticed something in the uni-kernel.

I can view the contents of the sdcard using ls after gaining SU permissions.

Without SU permissions it says "Permission denied".

And I noticed this line in the init.rc

mkdir /mnt 0755 root system

I'm not really an expert but does this have any connection with the problem?

I'm gonna try something myself too.

Oh and WiFi works on ICS now!

@kaotomut

Glad to know you found a fix. I don't use WiFi to be honest, and I never faced any problem with turning off/on WiFi. But it's all good now that you've found a solution. I'm gonna add it to the OP if you don't mind.
[XPERIA X8 Original Android Development] Vitruvian:
Well i flashed v9 kernel and i have the wifi problem, tried first with minicm10 then tried reflashing as suggested bug still exist, tried then with slim rom wifi bug still there tried reflsahing the rom bug still there, tried with reflashing the kernel also but nothing...
[XPERIA X8 Original Android Development] pilu1978:
Try to check the dhcpcd binary permissions in every boot with a small script. Similar wifi bug was in the old sde rom (wifi not turned on, if you shutdown/restart the phone with wifi off or connected but the data transfer not worked). This solution worked in my old modded alfs kernel: copy the dhcpcd from ramdisk to /system/bin and set the permissions every boot. Maybe it will help, maybe not, this is only an idea.
[XPERIA X8 Original Android Development] pilu1978:
;) I just share my ideas, if it help, I'm happy. :) And not think I'm the only one who can help. :D I not tried this kernel, but the wifi bug looks like something similar like in the old sde. It was an idiot solution, but worked. :) Sometime the idiot bugs need idiot solutions...
[XPERIA X8 Original Android Development] sgt. meow:
@feherneoh

Don't call yourself an idiot, as that will make me an a******. ;)

Plus changing root to system in the mkdir line in init.rc didn't work. But I feel I'm close to getting it working. :fingers-crossed:

@pilu1978

Thanks for the solution bro.

Also do you think I should upload the uni-kernel-v1, even though ICS isn't fully functional as of now, as that kernel seems to have WiFi working perfectly?

I won't do so without your approval.

sgt. meow
[XPERIA X8 Original Android Development] pilu1978:
If you want to upload, do it. :) This is your choice, not my task, I can't say: "yes, meow do it", or "no! never do it". I can do only a suggestion, if the oxydo team tested it, and the result was acceptable then post it, if you (or the team) feel: need more work/test, don't post it. :) You tested the solution what I wrote? I'm not sure this is working or not. And don't change the users/usergroups and file/folder owners in the init files, this is easy way to make stability/security problems.
[XPERIA X8 Original Android Development] sgt. meow:
@pilu1978

I am the only one who's tested it so far. I'll upload a version tomorrow for the team and if the results are acceptable as you say, I'll post it here.

Regarding the init files editing, advice taken into consideration. I thought of the same thing at first, but I decided later on to try something different. Result: Didn't work.

I dunno why but I'm beginning to suspect ICS

DOESN'T

use the init files in the /ics folder as defined by the bootrec in this kernel.

Here's what I did:

1. Symlinked /storage/sdcard0 to /sdcard and /sdcard to /mnt/sdcard and /mnt/sdcard to /storage/sdcard0.

2. Mounted the sdcard again in the bootrec. Pointlessly, as pointed out by Daveee10.

If Terminal can display the contents at /mnt/sdcard (after SU permissions) why can't the other apps? I've got a hunch it's got something to do with the SU binary. Again I'm not an expert, so I need plenty of help here.
[XPERIA X8 Original Android Development] fotak-x:
can i test your upcoming rom / kernel??
[XPERIA X8 Original Android Development] pilu1978:
Now you use a clean init.rc (without any rom specific settings), or start the bootrec from the jb init.rc and change rootfs to /ics? If you start chroot from an init what contains rom specific settings this can cause problems. I don't remember what happening if you make exports, or anything else from init.rc what defined earlier from a previous init procedure. As I wrote earlier this is bad direction. Maybe the problem only a multiple export of the sdcard variable (you define it as /storage/blabla and later when you restart the init with ics init.rc, the already made export not working).
[XPERIA X8 Original Android Development] pilu1978:
You used what method? Start with a clean, rom independent init.rc, OR start with a rom specific init and call the another init? :D
[XPERIA X8 Original Android Development] sgt. meow:
Okay I tried a really complex ramdisk today.

1. The init called a ROM independent init.rc.

2. The init.rc executed a bootchecker file.

3. The bootchecker file decided whether to boot into recovery or ICS or JB.

4. It would chroot to ICS and start init, which would call all the ICS init.*.rc files.

5. The ICS folder has an empty sbin folder where stuff from the JB sbin folder (in /jb/sbin) are copied to after a file called todo is executed by the init.delta.rc.

6. It would otherwise chroot to JB and start the init, calling all the JB init.*.rc files.

Result: The kernel didn't even boot.

I know two things for sure now;

1. I can't fit two ramdisks into one and make it flashable while at the same time keep TWRP.

2. The sdcard issue is a mighty pain in the back.

Solution 1. Remove TWRP and copy entire ICS ramdisk.

Solution 2. ??
[XPERIA X8 Original Android Development] sgt. meow:
@feherneoh

Tried it. Part of it works. But I can tell for sure that it is not chrooting to the ics-ramdisk folder. That is ICS is booting from JB init files :confused:.

Can you give me the code you used to oBoot into ICS via PM please?

Thanks in advance.

sgt. meow
[XPERIA X8 Original Android Development] sgt. meow:
I'm compiling a version like that and I am not gonna mount rootfs / after chroot. Thanks.

Will let you know how it goes.
[XPERIA X8 Original Android Development] sgt. meow:
@feherneoh

Didn't work :(

Stuck in initlogo for 30+ mins.
[XPERIA X8 Original Android Development] dagger:
Today finally i shifted from GB to JB..

I am using this kernel and needless to say the deadline scheduler is awsome.

Also the TWRP is good (a lil buggy sometimes)..

Overall a good kernel..
[XPERIA X8 Original Android Development] sgt. meow:
@feherneoh

You won't believe the mistake I just made in the bootrec (maybe you will actually, LOL). Trying two more experimental kernels.

One which just chroots to ics-ramdisk and the other which chroots to ics-ramdisk and executes init.

Will let you know more about it.
[XPERIA X8 Original Android Development] sgt. meow:
Fingers-crossed it will work. Otherwise I'll have to leave the project for a couple of days till I catch up with my studies.
[XPERIA X8 Original Android Development] sgt. meow:
Didn't work. :(
[XPERIA X8 Original Android Development] pilu1978:
The "didn't work" is equal with the kernel not boot? Or boot, but stuck on kernel logo? Or the rom start booting, but you get bootloop?
[XPERIA X8 Original Android Development] sgt. meow:
1. The kernel boots into JB properly.

2. But when booting into ICS ROMs, it gets stuck at initlogo, probably because it can't change inits.
[XPERIA X8 Original Android Development] pilu1978:
When you boot to ICS, can you see the filesystem? (with adb shell)
[XPERIA X8 Original Android Development] sgt. meow:
Need to check. Wait a bit.

If you're not here when I post the results, here are two questions:

1. If I can see the filesystem, what should I do?

2. If I can't I should just change the rootfs, right? What if it fails then too?
[XPERIA X8 Original Android Development] pilu1978:
If you see the fs, you can check the rootfs content (the root changed to the ics rootfs or not), and you can check the partitions mounted correctly or not. And finally: if the adb running you can check kmesg, etc for errors. ;)
[XPERIA X8 Original Android Development] sgt. meow:
Yeah but after its chrooted (provided I mount rootfs to /ics-ramdisk) in the ICS bootrec, shouldn't it show the contents of ics-ramdisk?
[XPERIA X8 Original Android Development] pilu1978:
As I wrote earlier: USE A CLEAN, ROM INDEPENDENT INIT.RC!!! Do not start anything before restart the init method with rom specific settings.

This is easy: start the phone with a clean init.rc, start a script what identify the rom type and start the recovery (if needed), unmount all partitions and kill everything (if started any process, kill adb too), and change the root with chroot to the folder what contains the complete ramdisk of the installed/selected rom. Note: the "complete ramdisk" equal with EVERYTHING EXCEPT THE RECOVERY (not only the init files). ;)
[XPERIA X8 Original Android Development] sgt. meow:
I tried the twrp init.rc with the recovery bits removed. I tried an init.rc with just exports defined. None worked.

Giving it another go.
[XPERIA X8 Original Android Development] sgt. meow:
@pilu1978

Tried your method again. Kernel didn't even boot (no initlogo). :(

Can you send me an example of a "ROM-independent" init.rc, because I am pretty sure my init.rc is causing the problem?

The TWRP one with the recovery bits removed doesn't work either.
[XPERIA X8 Original Android Development] pilu1978:
Hmmm... Interesting. Tomorrow I can send it. :) Can you send your ramdisk? I think the problem is not only the init.rc.
[XPERIA X8 Original Android Development] sgt. meow:
Yeah sure. Will do as soon as possible. Expect a total mess.
[XPERIA X8 Original Android Development] tiestobunio:
Hi developers

I still have a problem with just the kernel and behold, exactly the instal rom + gappsy about the reboot there will configure everything but I will come again to CWM and wgram such as font and then reset the phone launcher that includes me always the same CWM

I tried to remove the battery and wait a few seconds but it's just the only solution is to make a full wipe rom or write it again, ....

Also, what's the problem?

I would add that the launcher and font are under jb
[XPERIA X8 Original Android Development] sgt. meow:
@tiestobunio

I don't understand your problem. :confused: Mind making it a bit clearer.

Thanks.
[XPERIA X8 Original Android Development] tiestobunio:
It may be so ...

It is such a problem and how to install rom gappsy and configure the rom and then when I come in CWM and instal module such as Beats Audio, or any font and even the launcher is always the same phone reboot I enter into CWM and still.

Even went to CWM and did a reboot and just came to me in CWM salvation for me is that I have instal the new rom or factory reset.
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
If you break your phone because you don't read I will laugh so hard you'll hear me from over there..
[XPERIA X8 Original Android Development] Marq94:
For me this kernel not working on any rom ; (
[XPERIA X8 Original Android Development] sgt. meow:
Okay, so the uni-kernel works. Meaning it boots into MiniCM9 after chrooting to ics-ramdisk, but everything FC's and it says SD card is safe to remove :confused:

@feherneoh

You faced the problem, right? How did you solve this? I'm gonna grab a logcat (it's tough because CWM takes a long time to restore backups).
[XPERIA X8 Original Android Development] sgt. meow:
I keep having launcher FC's; everything FC's as well. The only thing working properly is the lockscreen :confused:. And the logcat is proving to be quite difficult for me to understand.

Here's the logcat: https://www.dropbox.com/s/909uve6s553tz10/ics-log.txt
[XPERIA X8 Original Android Development] love_story99000:
i can't download the kernel coz i'm blocked on dev0host plz i need the last version of this kernel E15_oxydo@jb-08+fixed_2.6.29.6.ftf on mediafire or anything else
[XPERIA X8 Original Android Development] sgt. meow:
@love_story99000

Sorry for the late reply. I'll try uploading to another mirror, but if I fail I'll ask someone from the team to do it. Please bear with me. My life's a colossal mess right now.

@all

Looks like nAa has already done what I set out to do. Do you guys want me to continue?
[XPERIA X8 Original Android Development] CnC-ROCK:
I will mirror it tomorrow..don't worry....you concentrate on the kernel for both devices
[XPERIA X8 Original Android Development] kaotomut:
Each and every phone has different manner, behavior and life style. Yes, we need you to continue, bro!! :o
[XPERIA X8 Original Android Development] CnC-ROCK:
:silly::silly:i forgot to upload the ftf earlier...here it is..

http://www.mediafire.com/download.php?pdsg7hbpp85tp9c

sgt add the link to OP

flash at your own risk WIP.
[XPERIA X8 Original Android Development] sgt. meow:
Added the link. Thanks a lot man. My schedule's packed, plus my laptop rebooted thrice when I tried to compile a kernel for the Nexus 7 with a dual-boot mod based on nBoot/oBoot (thanks a lot feherneoh). Dunno how to interpret this.
[XPERIA X8 Original Android Development] sgt. meow:
But I want the kernel to be my own. And if anyone is interested in testing a JB-ICS kernel and has CWM backups (TWRP will not do)) of both JB and ICS ROMs, please send me a PM ASAP.
[XPERIA X8 Original Android Development] ElmirBuljubasic:
hi stg can you & your team try PegasusQ governor? i heard its amazing..
[XPERIA X8 Original Android Development] Rempty:
Hi guys,

Come to ask a favor, is to modify a init.rc on a kernel(is for a personal test on a ROM ), plz any help.

Thanks
[XPERIA X8 Original Android Development] sgt. meow:
@EB

I heard it's for dual-core devices.

@Rempty

I can only help with the ramdisk, because kernel compiles take a long time. Time that I can spend studying.

There will be one final release of this kernel, hopefully with JB-ICS dualboot capabilities. And no, it's never gonna be JB-ICS-GB because a lot of stuff will be broken.

It will be available this week and then it's bye-bye development (not that it was much dev) for some time.
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
Hey there sarge..

I hope you don't give up on dev work all together.. You have learnt alot in a very short time. It would be a shame for you to stop learning and continuing to share your ideas.

Your work here has had real value and has generated interest.

Have fun whatever you do!!
[XPERIA X8 Original Android Development] sgt. meow:
Thanks for the motivation.

It won't stop, there's just gonna be a break.
[XPERIA X8 Original Android Development] krzysiek1984:
You doing a good job. Thanks to you, some people more looks on XDA
[XPERIA X8 Original Android Development] sgt. meow:
I'm gonna try building my last version of this kernel tomorrow. Fingers-crossed it will support ICS as well as JB.
[XPERIA X8 Original Android Development] ElmirBuljubasic:
there is no more magic...

Stg.meow have lost the love for x8
[XPERIA X8 Original Android Development] dagger:
It's because he has to focus on his studies as building and compiling kernel takes lots of time..

sent from my phone using hands and brain...
[XPERIA X8 Original Android Development] sgt. meow:
Okay maybe "last" wasn't the appropriate word. I'll build again if .32 is fixed.
[XPERIA X8 Original Android Development] :
I don't want to offend you, but what the hell is this thread doing in ORIGINAL development forum? Have you done something by yourself? Of course not, you grabbed nAa kernel and put stuff from jbmini kernel to it, so where's the REAL development?
[XPERIA X8 Original Android Development] :
I understand, but seriously, should this belong to original development? I don't think so. The rules may say it belongs to here, but really?...
[XPERIA X8 Original Android Development] CnC-ROCK:
"Kernels which are built with beneficial changes that are not simply pulled from other kernels already available. Some element of original work is expected."

and the original work was to put in other governers and schedulers, new logo, dual boot (if i am not wrong no other jb kernel provides that so far. fehereneoh did that part), TWRP

they are rules for some reason so now stop whining because you cannot even compile the kernel. sgt can atleast compile the kernel. you dont decide what goes in what section, rules do.
[XPERIA X8 Original Android Development] :
He grabbed nAa kernel, and pulled the governors, etc from "other kernels already available" (jbmini). Some element of original work is expected. I don't see original work. oh wait, so putting in a new logo is original work? So if I grab nAa, or jbmini kernel and put a new logo on it, it will be "original work" ? That's absurd...

I can disagree , can't I ?
[XPERIA X8 Original Android Development] :
I do not take pleasure from wearing borrowed plumes...
[XPERIA X8 Original Android Development] CnC-ROCK:
lol. you cant even put new logo in the kernel so just stay back and mind your own work.

i see that you slipped out the point of twrp very comfortably. and smartassH3 was done by davee and sgt together. now dont spam on the thread or i will report for spamming.
[XPERIA X8 Original Android Development] Daveee10:
SmartassH3 backporyed by me not sgt and me... twrp. You are only jokeing... nAa kernel have recovery p@rtition and support modular recovery. So you can simply installing twrp.

Trolled from my X8 using xda premium
[XPERIA X8 Original Android Development] dagger:
Guys please stop spamming in the development thread..

If you want to discuss anything not related to development then either

Do it via pm or discuss it in the off topic....

Cheers

Dagger.

sent from my phone using hands and brain...
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
+1 > Dagger.
[XPERIA X8 Original Android Development] sgt. meow:
@testzelem

Glad to see you picked what I had in mind. And I'm not joking about this.

I PM'ed _Arjen_ while he was in charge of this forum, as soon as this thread was moved to the Orig. Dev. section.

I asked him to move it to the And. Dev. section.

He said it was okay for it to stay here.

Guess I'll just PM another MOD.

And I am working on something. Trust me when I say this....

sgt. meow
[XPERIA X8 Original Android Development] pcwizzy37:
Now I am afraid to use TWRP! lol. I will use good old CWM.
[XPERIA X8 Original Android Development] pcwizzy37:
aka "typos"
[XPERIA X8 Original Android Development] pcwizzy37:
Oh, those things. lol
[XPERIA X8 Original Android Development] sgt. meow:
Sure. Take your time. ;)
[XPERIA X8 Original Android Development] sgt. meow:
1st post updated. The title has been updated too.
[XPERIA X8 Original Android Development] Vitruvian:
Sorry for been noob, but can somebody please explain to me the second post couse i obviously don't understand how to use this kernel :eek: i tried several times to use it, I flashed the kernel everything is ok but then when i flash cm10 i get status 7...?
[XPERIA X8 Original Android Development] dagger:
It says that first you flash naa jb kernel and then install a Rom of your choice.

Now make a backup of that Rom.

Now flash the oxydo kernel and then restore the backup.

And now you can install the roms normally.

Hope that it meant this as I haven't used the kernel..

sent from my phone using hands and brain...
[XPERIA X8 Original Android Development] sgt. meow:
@dagger

That is exactly what it meant.

@tonin_haggard

Do as dagger said. Or remove the first few getprop lines from the ROM's updater-script.
[XPERIA X8 Original Android Development] Vitruvian:
I tried with removing the getprop lines, and now it says just installation aborted without the status 7... :eek:

I tried with backup and says MD5 Mismatch! I guess i did something wrong :(