yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] Ravikirancg:
Well if your kernel deviates at that level from the stock kernel, well I am sorry but the only way maybe to open up your phone and using uart as dtrail1 said.. there is one more thing I have come across, I may be completely off but in the kernel cmdline, there is "console=null". Maybe you can try and change it to display or a file in sdcard. Mostly you have to replace null with /dev/ttyS0 or /dev/ttyUSB0. Search and you should find more details.. do post if you are successful..

EDIT: Looks like I was right on target.. check this out..

https://www.kernel.org/doc/Documentation/serial-console.txt

and

http://oreilly.com/linux/excerpts/9780596100797/kernel-boot-command-line-parameter-reference.html

this as well

http://xdaforums.com/showthread.php?t=829817
[Motorola Droid RAZR] Hashcode:
It's probably an issue with the ramdisk and mounting the correct filesystem .img files.

You can see an example of a stock ramdisk with modified mount points (for use as a 2nd system like SS) in a .zip like this:

http://goo.im/devs/Hashcode/spyder/motoblur-98.72.8-XT912.zip

(Under system/etc/kexec)
[Motorola Droid RAZR] Vatazhka:
I can't find anything related to kexec in the ZIP file which you suggested to look at... Could you look into it, please?

With regard to debugging, I noticed that kexec kernels are compiled with OMAP4_RAM_CONSOLE=y and they put their kernel logs to a SZ_2M buffer at (PLAT_PHYS_OFFSET + SZ_512M). Stock kernels don't have this extension, but what if I tried to dd if=/dev/mem of=/sdcard/log with appropriate seek and count parameters then ran the resulting file through strings - would this work?
[Motorola Droid RAZR] Hashcode:
Ah you are quite right on the stock ROM. It's no booted w/ kexec, and I forgot that.

I'm looking through my notes. I have setup stock ROMs booted up w/ kexec kernels for reading /sys/kernel/debug as well as logging ducati boot up info for fixing camera and codecs before.

Normally the method I use is to take a stock ramdisk. unpack it. Edit the init.mapphone_cdma.rc (or init.mapphone_umts.rc) file and change the mount lines to look something like:

on fs

# mount ext3 /dev/block/system /system wait discard noatime nodiratime barrier=1

# mount ext3 /dev/block/userdata /data discard nosuid nodev noatime nodiratime

# mount ext3 /dev/block/cache /cache discard nosuid nodev noatime nodiratime

mount rootfs rootfs / rw remount

mkdir /ss 0777 root root

chown root root /ss

chmod 0777 /ss

mount vfat /dev/block/mmcblk1p25 /ss

mount ext3 loop@/ss/safestrap/rom-slot1/system.img /system wait discard noatime nodiratime barrier=1

mount ext3 loop@/ss/safestrap/rom-slot1/userdata.img /data discard nosuid nodev noatime nodiratime

mount ext3 loop@/ss/safestrap/rom-slot1/cache.img /cache discard nosuid nodev noatime nodiratime

mount ext3 /dev/block/pds /pds nosuid nodev noatime nodiratime

Which would boot up from rom-slot1 in this case. Then repack the ramdisk and pop it into /system/etc/kexec like you were doing.

On the ramdisk, it's VERY VERY tricky to get a ram console last_kmsg in the kexec kernel. It's because the original kernel will boot up, read the existing log, and clear every bit of memory out, then the kexec happens. :/ If you find a nice solution for that let me know. In the event of a hard kpanic, you will get a log generated to the kpanic partition tho.
[Motorola Droid RAZR] dtrail1:
the /dev/block/kpanic partition is not used, but kpanic seems beeing created at mmcblk1p19...but empty.
[Motorola Droid RAZR] dtrail1:
Unfortunately it seems that there aren't any other devs / kernel devs who are interested in the awesome RAZR. some people say OMAP platform is almost dead - if you take a closer look to github you'll see that it's still alive.

Motorola didn't want to unlock the bootloader, so many great devs sold their RAZR... But now, after this awesome work by STS, Kholk, mbm and jonpry, nobody seems to be interested in it. That makes me sad.

- except Bytecode, Vatazhka and us of course..
[Motorola Droid RAZR] garywojdan81:
Me too. If only I was a developer...
[Motorola Droid RAZR] Mentor.37:
Pin code and kexec kernel

Whe I use a rom with a kexec kernel at boot the rom do not ask the pin code, is this a know issue?
[Motorola Droid RAZR] woonaval:
Yes, sadly it never worked. The PIN is bypassed by default and there's no way to configure it.
[Motorola Droid RAZR] DumbleCore:
Sometimes I have to enter it, mostly after switching kernels...

Sent from my XT910 using Xparent Skyblue Tapatalk 2
[Motorola Droid RAZR] Mentor.37:
Are you sure? sometime on same CM version the pin has been asked to me.

Here the same.
[Motorola Droid RAZR] woonaval:
It only asks for it when switching basebands, and only for the first boot.
[Motorola Droid RAZR] DumbleCore:
For me only on kernels, but as said, just sometimes, baseband is always the same U.04.09.11P

Sent from my XT910 using Xparent Skyblue Tapatalk 2
[Motorola Droid RAZR] ZiViTi_13:
Thanks for Hashcode for his hard work for all us.

Now I need your help. Before beginning I'm sorry for my bad english, I don't use translater becouse it noob as I.

My problem is in instruction "how kexec a device":

1. I downloaded devtree, modules from "1" and "2"

2. Now I search zImage in source above, but not find it... Maybe it already named "kernel"?

3. "Need a .gz cpio ramdisk"- where can I found it? In my boot.img from my device? If yes, I extracted boot.img using "RKwinTools_Pro" and it unzip ramdisk( It unpack .gz by files and folders)

For now it all, if you help me, maybe I can kexec.

If my post is offtop or this thead for developers only I deleted my post.

Thanks.
[Motorola Droid RAZR] dtrail1:
You might want to check my thread: "Introduction info kernel development" if you want to build a kernel by yourself.

In the sources mentioned here there doesn't exist a kernel. It's meant to compile it first. It's not that detailed because this guide is for more experienced users.

Gesendet von meinem XT910 mit Tapatalk 4
[Motorola Droid RAZR] Mentor.37:
What do you mean for switching basebands? We can only have one baseband on our phones that is shared by different roms.
[Motorola Droid RAZR] woonaval:
I mean when installing manually a baseband file from BMM, but not always.
[Motorola Droid RAZR] Mentor.37:
Here the solution, In this way we can rest the cdma\gsm modem at every boot.

Thanks to stargo.
[Motorola Droid RAZR] woonaval:
This sounds great, how can we know if this will be applied to CM11 roms for our razrs? I feel so insecure each time I reboot my phone :eek:
[Motorola Droid RAZR] dtrail1:
It's a kernel-side change. Easy to integrate into JBX/Any kernel.

Edit: I saw he reverted this commit for some reason.

Gesendet von meinem XT910 mit Tapatalk 4
[Motorola Droid RAZR] Mentor.37:
I built a kernel for the rom that I'm using with that commit and everything is working.
[Motorola Droid RAZR] DumbleCore:
Does this bring pin back? Also is this possible to run as init.d script at boot?

Tapped from my stalked KittyKat
[Motorola Droid RAZR] dtrail1:
It isn't as I know. At least not this kernel change. I am not sure why this commit has been reverted, but it might cause other issues then.

I will check in for this at Monday when I am back on my dev machine :)
[Motorola Droid RAZR] DumbleCore:
Alright, thx! :thumbup:

Tapped from my stalked KittyKat
[Motorola Droid RAZR] Mentor.37:
This commit has been reverted because some GSM user didn't get a PIN dialog and couldn't unlock his SIM card but this problem was born because the committ has been included in a nightly and users who have had the problem had not done a factory reset.

The commit works without problem, are now two weeks that I'm using it with no problems on slimbean 4.3.1.
[Motorola Droid RAZR] Buglol:
Request

how to get devtree for a new device (motorola electrify 2)
[Sony Ericsson Xperia Neo, Pro] m4besho:
hi guys ..

it seems I am facing big Troubles and i need to help me please..

i have sony xperia Neo l and i tried to rooted it Through flashing kernel into my phone but my phone won't back to turn on and only the red light is blinking... please help me
[Sony Ericsson Xperia Neo, Pro] rajth525:
You have to unlock your bootloader before flashing Kernel....

Now Try flashing the ftf ....to make your phone boot

Press thanks If i helped..
[Sony Ericsson Xperia Neo, Pro] drv.vyas27:
if you want your phone back to normal

hey i think so u have flashed your phone with a wrong kernel .ftf

to bring back your phone to normal using flashtool flash this 1.http://www.ziddu.com/download/20979452/MT25i_4.1.B.0.626_KERNEL.rar.html

:angel::angel::angel::angel::angel::angel:

---------- Post added at 06:49 PM ---------- Previous post was at 06:43 PM ----------

Note:

1.Follow the instructions carefully if you don't then I am responsible for your bricked devices.

2. Always make backup of your contact, data on sdcard etc.

Make sure you have installed adb drivers or install sony pc companion it installs adb drivers for your device automatically.

Steps:

1. In your phone goto setting->developer setting-> turn on usb debugging.

2. Then again goto setting->xperia->connectivity->usb connection mode-> make it msc mode.

3. Again goto setting->security->check unknown sources.

4. Now turn off your device.

5. Now flash your Neo L with Neo v Kernel file (MT11i_4.1.A.0.562_kernel.ftf)(WHILE FLASHING DONT SELECT ANY DEVICE FROM THE MENU OF FLASH TOOL AS NEO L IS NOT LISTED IN THE FLASH TOOL MENU.).

You'll only get vibration but screen does'nt turns on.

But still usb debugging'll be working.(if your phone doesnt turn on here, remove usb and turn on and then reconnect usb, no need to panic).

7. Now use downloaded DooMLoRD_v1_Xperia-2011-ICS-ROOT-emu-busybox-su and simply run runme.bat.(if you get an error like adb driver out of date than install adb.exe from

DooMLoRD_v1_Xperia-2011-ICS-ROOT-emu-busybox-su\files\adb.exe

and if it doesnt work start task manager and kill any process like adb.exe and then again open adb.exe and install it while your device is connected

)

8. Now your device will be rooted.

9. Remove and reinsert your battery.

10. Finally flash Neo L MT25i_4.1.B.0.626_KERNEL.ftf (download link in the first post) downloaded by you.

11. Now your device is rooted , turn it on.

Video link http://youtube/T331aECzxhc

downloads link:http://neolrootingguide.blogspot.in/p/downloads.html

:angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel::angel:
[Sony Ericsson Xperia Neo, Pro] LoneWanderer:
U need to unlock your bootloader if u wanna flash custom kernels..

Stock kernels can be flashed on locked bootloaders
[Sony Ericsson Xperia Neo, Pro] m4besho:
hi.. but I've already unlocked my phone bootloader..yes i flashed the stock kernel firmwaer ftf of my phone and it back to work again :)

thanks ..your sentence "Now Try flashing the ftf ....to make your phone boot" really was useful for me , This was the first step to solve my problem :)
[Sony Ericsson Xperia Neo, Pro] m4besho:
Thank you .In fact you're right,yes, this is exactly what happened, i flashed my phone with a wrong kernel .ftf...

but i have been confused between what should I do to boot my phone again. flashing the right

kernel again or flashing new stock firmwaer. and i flashed the right kernel and my phone back to life again. now i will trying rooting my phone :)
[Sony Ericsson Xperia Neo, Pro] m4besho:
First... thank you very much really I appreciate your efforts..I have seen your post "The Dessert Journey" two days ago and it really is a wonderful post, especially for neophyte like me :)

my phone neo l and the build number of my stock firmwaer is 4.1.B.0.479.. when I follow the step you mentioned that related about your note

i facing problem.. and you started your procedure by flashing .562 kernel.. something missing for me to get understanding of this point.. really I did not understand what is the right thing that I should do .I hope that you direct me to The right thing that I should do ... and thank you again :)
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
You have to flash the .562 kernel (as only this kernel is directly rootable)

Root using th DooMLorD's kit

flash .479 kernel again or any version(.479,.587,etc)

You're good to go
[HTC One S] andrewt328:
I'm on viper one S 2.1 but want to try out some non sense roms... Is there anything in particular I need to do. I'm gonna try the 4.2.2 ones. Do I have to change the radio to work on the non sense roms? Is there anything else I need to do? Thanks
[HTC One S] RichardW1992:
Full wipe and flash away. Radio changing is not necessary.
[HTC One X] ari12:
hi i have the htc one x international. I really really need help. My htc one x was on viper x then i wanted to flash to cm10.1 but i failed. I then realized that i have to update my HBOOT. And so i did. And now it has been relocked. When I tried to boot my phone, my sd card is not available, my phone can't have signal, almost everything is impossible to do. I also cannot go into CWM recovery.

What i can do now is only go to my boot loader by pressing volume down and power button. What should i do?
[HTC One X] matt95:
If you want to be able to get into recovery again try to type in the shell

Fastboot erase cache
[HTC One X] ari12:
I did fastboot erase cache through cmd, and when i tried to go to recovery, it showed me a flatphone, a triangle with an exclamation mark :(
[HTC One X] MeLViN-oNe:
You just need to unlock it again mate thats why it says "relocked" and you cant do nothing with your custom rom / recovery ;)
[HTC One X] ari12:
ok how do i unlock the bootloader. I have the unlock file but when i flash it, flash unlocktoken Unlock_code.bin, it says failed.
[HTC One X] MeLViN-oNe:
You need to get a new unlock token from htcdev, had the same problem when upgrading my hboot
[HTC One X] matt95:
Correct, try to get another unlock code
[HTC One X] ari12:
Ok now i have a new problem. when i get a new token, and follow all ways to unlock, when i flash fastboot unlocktoken Unlock_code.bin, it replied with full of options for me to choose. And nothing happened to my phone. what should i do?
[HTC One X] TToivanen:
Type:

fastboot flash unlocktoken Unlock_code.bin
[HTC One X] Alex240188:
It should pop up on your screen when you flash info about voiding you're warranty

You then press volume up to highlight yes then press power button to confirm
[Sprint LG Optimus G] Evolutionmods:
Feed back is always welcome and encourages me to work that much harder and to learn more, Please remember to keep this thread polite and treat others with respect.

Thanks: showp1984, jokersax, Faux123 and mysteryemotionz

Source HERE

Download Here

Changelogs in Post #2
[Sprint LG Optimus G] Evolutionmods:
Change Logs

Using commits as a change log, Im trying to keep them clean and easy to read :)
[Sprint LG Optimus G] javskies:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Awesome! Downloading now!
[Sprint LG Optimus G] _Epic:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Awesome. Downloading now. I'm assuming it works on Lifeless v12(ZVB)?
[Sprint LG Optimus G] Evolutionmods:
should work just fine.
[Sprint LG Optimus G] JeauxAdam:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

I am also interested in the answer to this question.

Edit: I'm just a little too slow. Thanks!
[Sprint LG Optimus G] _Epic:
My WiFi isn't working anymore...

Running Lifeless v12.

Worked perfect before i flashed this.

EDIT: When you click the on button it immediately goes back to off.
[Sprint LG Optimus G] Evolutionmods:
Oops, ill fix right now :)
[Sprint LG Optimus G] _Epic:
Thank you! :)
[Sprint LG Optimus G] Evolutionmods:
All set! :)
[Sprint LG Optimus G] _Epic:
Download the same ZIP in the OP? Thanks again!! :cool:
[Sprint LG Optimus G] ivanxov3rx:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Finally, I'll be trying and giving feedback soon!
[Sprint LG Optimus G] Evolutionmods:
Yes sir, probably should have stated :)
[Sprint LG Optimus G] jokersax11:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Gotta post source
[Sprint LG Optimus G] _Epic:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Perfect. Works great now.
[Sprint LG Optimus G] Evolutionmods:
I'm forgetting all kinds of stuff today.
[Sprint LG Optimus G] my.ads0:
Forgetting stuff .. that's what we like to hear out of or devs. Heh.

Thanks!
[Sprint LG Optimus G] Evolutionmods:
Is Wifi definitly working for all now? Mine works , just wanna make sure.
[Sprint LG Optimus G] javskies:
Re: [Kernel] Liberty-Evolved v1.XX ZVB [Mar 8, 2013]

Works for me. Should my kernel information on the system software page change?
[Sprint LG Optimus G] Evolutionmods:
no, use cpu spy
[Sprint LG Optimus G] Stealyourface:
Here is what 4G LTE does to my phone.

Screenshots are me at home on wifi vs on LTE at work. Same exact settings (brightness, no eco mode, etc).
[Sprint LG Optimus G] Evolutionmods:
Hey all, New build tonight if all goes good
[Sprint LG Optimus G] _Epic:
:thumbsup:
[Sprint LG Optimus G] javskies:
WOOOOO
[Sprint LG Optimus G] Evolutionmods:
Still working on it :)
[Sprint LG Optimus G] _Epic:
UNACCEPTABLE! just kidding. :silly:
[Sprint LG Optimus G] mobius1484:
:beer: Cheers dude. Have to say that I really appreciate all the work you put into this.
[Sprint LG Optimus G] Evolutionmods:
New build up top.

Changes include:

block: Add ZEN I/O scheduler

block: Add VR I/O scheduler

revert: USB: serial: fix hang when opening port …

USB: serial: fix hang when opening port …

video:uvesafb: Fix dereference NULL pointer code path …

mm: prevent mmap_cache race in find_vma() …

bonding: remove sysfs before removing devices …

ftrace: Consistently restore trace function on sysctl enabling …

ftrace: Do not call stub functions in control loop …

include: vibrator: cleanup & addition via mako mr1.1
[Sprint LG Optimus G] Morningstar:
Trying the new build now, let you know how it goes. Thanks!
[Sprint LG Optimus G] javskies:
been runnig it for about an hour, smoothness seems the same but battery life may have improved a drop
[Sprint LG Optimus G] Evolutionmods:
I added some schedulers for your entertainment guys, i dont switch em to much but they are there, have fun. and also im working on some aosp love also :)
[Sprint LG Optimus G] Agimax:
Any plans for different CPU governors?
[Sprint LG Optimus G] Morningstar:
Can anyone briefly explain how schedulers work? Never quite understood that, and have been afraid to mess with them lol.
[Sprint LG Optimus G] spackmanbr:
http://xdaforums.com/showthread.php?t=1989824
[Sprint LG Optimus G] Evolutionmods:
I will be pretty soon, its a little different it seems adding them to the G
[Sprint LG Optimus G] Morningstar:
Thanks! You know, I think I even had that thread open when I was searching, must've closed it by mistake or overlooked the scheduler info. :)
[Sprint LG Optimus G] Enzopreme:
Well I get better battery life than I do on stock with this kernel? I'm already happy with the stock performance, but I'd love some more battery life.
[Sprint LG Optimus G] javskies:
i def have a better battery experience with it.
[Sprint LG Optimus G] Enzopreme:
This isn't over clocked?
[Sprint LG Optimus G] Evolutionmods:
No this is not OC'd i can make one but i just didnt feel the need for it. This device is pretty fast as is, plus the heat that it would give off would be nuts. If you want one i'll make you one. lemme know.
[Sprint LG Optimus G] mobius1484:
Had a kernel panic when switching between interactive and ondemand using no-frills. Does the kernel log these events? If so where and I'll try to post the file.
[Sprint LG Optimus G] outerpip:
1.21 gigahertz!
[Sprint LG Optimus G] Evolutionmods:
Funny Sh!t right there.
[Sprint LG Optimus G] Stealyourface:
1.18 gives me a bit better battery life than 1.17, very good.
[Sprint LG Optimus G] mobius1484:
I definitely feel like the battery life is much improved. I've not had any issues since the one kernel panic. Never did find a log though. Great work.
[Sprint LG Optimus G] Enzopreme:
I agree it's not necessary, I was just wondering... what's the best governor for a nice balance between berry life and performance? I noticed that with system tuner my changes don't stick, I will adjust them, go back to the main menu in the app, and it's like I changed nothing. Also the gpu oc isn't grayed out but it only gives you the option for 200ghz.... weird huh?
[Sprint LG Optimus G] Stealyourface:
Ondemand. Best imo though is smartass v2. But we don't have that..
[Sprint LG Optimus G] mobius1484:
I personally use No-Frills CPU Control which works great. For settings I use ondemand as the governor and SIO as the scheduler. Seems to do pretty well.
[Sprint LG Optimus G] konman21:
Would love

Pegasus
[Sprint LG Optimus G] agurzhiy:
i'm unable to chenge gpu frequencies.

did you add this settings?

Kernel Tuner says - no.

one more question

can you fix the powersave governor? it must keep the lowest, but when i need it - to set higher, but on zvb it is broken - it is always lowest.

and i found one more bug.

if i use kernel tuner - i can set each cpu it's own frequency, but when i get out of app - all 3 cpu (except 0) resets to default.
[Sprint LG Optimus G] Crwolv:
Hmmm system tuner is the bomb for me.im friends with the dev because he responds so quickly. What version dobu have? The whole shabang or just system tuner? Weve found the big apk(has all there apps in one) works best.dont know why could be just ghosts in machine going on. Anyway ive used many many govs and Onedemand is always best for me but remember everyone's phone is different
[Sprint LG Optimus G] Evolutionmods:
hey all, kind of been away due to bricking errors :D was trying to port Xperia Z over. im back to stock and need to root again :)

I really appreciate you all helping each other out and answering questions. Be back tomorrow.

-cheers
[Sprint LG Optimus G] mobius1484:
Glad you got your gear fixed. Looking forward to future releases. This thing is solid. I'd also like to throw my hat in for the SmartassV2 camp.
[Sprint LG Optimus G] Evolutionmods:
Experimental build. lowered clock from 384 to 192 for battery life. so far so good on my end.
[Sprint LG Optimus G] epeereboom:
Experimental build is looking real good so far.
[Sprint LG Optimus G] stevek216:
Running great for me as well! Keep it up! I love this kernel.
[Sprint LG Optimus G] Crwolv:
Gonna try on spleefs aokp;)

---------- Post added at 11:20 PM ---------- Previous post was at 11:18 PM ----------

PLEASE I'm begging for Color multiplier/gamma and trinity contrast control. Franco personally said he would share any info a Dev needs. THANK YOU
[Sprint LG Optimus G] javskies:
working great so far my man. always love your updates :good:
[Sprint LG Optimus G] Crwolv:
No go on aokp'(. Kernel crash warning popped up.

---------- Post added at 03:49 AM ---------- Previous post was at 03:46 AM ----------

Just to let u know. Advanced Xperia launcher made and modded right here on XDA works awesome on our lgog.its my dd launcher!! Just do a search. It says for 4.0.3 but works on all vers.of android
[Sprint LG Optimus G] Evolutionmods:
Yeah it wont work on AOSP roms. also good looking out on the launcher!
[Sprint LG Optimus G] sharkboy0901:
Pretty sure this is a modded kernel for stock roms :)

What is Optimus Prime's full name?

Optimus G. Prime
[Sprint LG Optimus G] Stealyourface:
The experimental might be giving me worse battery life than 1.18. Went down 20% with only 17 mins screen time in a little over an hour. 4G really is a battery eater...
[Sprint LG Optimus G] Evolutionmods:
The only thing different from 1.18 is the lower clock on the bottom end, battery should be better with the minimum clock down to 192 Mhz
[Sprint LG Optimus G] _Epic:
My battery life is noticeably better.
[Sprint LG Optimus G] javskies:
mine is significantly better. thanks again evo:good:
[Sprint LG Optimus G] Evolutionmods:
Beautiful!
[Sprint LG Optimus G] wharmecht:
Evolution, do you have any plans to add the ability to undervolt and overclock the CPU or GPU in the future? The phone doesn't need it by anymeans, I just like to have the ability to do it LoL.