[Developer] Guide to compile kernel for Sony Xperia L. - Sony Xperia L

How to compile kernel from source for Sony Xperia L
Things needed :
A PC
Ubuntu on VM or Main Os
Android Phone/Tab , In this case XL unlocked
Brain (Be sure you get it).
I suggest to get Hells-Kitchen Ubuntu distro it has all the basic things installed for compiling kernels/modding/and ROMS.
Distro Link : http://forum.xda-developers.com/showthread.php?t=2152398
> Then proceed further by getting the opensource archives from Sony developer website.
> I suggest you to download within Ubuntu distro for ease.
> Extract it.
> Now we need to setup and fix some sh*ts before we can rven think of compiling.
> To start of setup the toolchains, In my case I used Linaro you can use the ones posted here
http://forum.xda-developers.com/showthread.php?t=2098133
> Then setup the toolchains in your Makefile.
> Now the real work begins we need to fix the source before compilation.
>> Commits regarding the fixes :
https://github.com/varunchitre15/an...mmit/9db33fe4f788a05498c4de446a6ba711984d9343 - CCI Klog Fix
https://github.com/varunchitre15/an...mmit/9db33fe4f788a05498c4de446a6ba711984d9343 - Some more
https://github.com/varunchitre15/an...mmit/40fe59a2f80fe0e2544b50676afa4d65a2c2de8c - Increase Frame warn limit
https://github.com/varunchitre15/an...mmit/3fd4c1677d6e6a8d37be9e37636a88982c29f135 - Fix Frame Buffer
> After applying all the fixes : Now you can start with compiling the kernel.
> Go to your extracted ARCHIVE folder.
> Then start by initiating these commands.
> ARCH=arm make sa77_defconfig -Makes Config files
> ARCH=arm make menuconfig -Opens menus to edit configurations(In laymans language)
> ARCH=arm make -jX -Starts compiling, J x stands for no. of jobs for my PC i use -j3 and for first time use -j1 it lessens the scroll time if any major bug occurs.
> After you get the zimage , Now we can make boot.img.
> Get the ramdisk from stock or any other kernel (Be sure you give credits to the kernel author if you use it).
> Get Anikets Packing tool : https://github.com/aniketroxx/Aniket_Packer
> Pack your kernel get all the modules search for .ko files.
> Flash you kernel with Fastboot mode.
> Flash your modules or replace them manually and set permissions accordingly.
> You are done with your kernel if all goes well Xperia Should boot up
I may not have covered all topic and would update guide soon with more topics covered.
"If your kernel doesnt boot dont PM/spam me Instead post your problems here in this thread."
Credits :
@varun.chitre15 for Commits.
@h311sdr0id for his awesome Distro.
@Christopher83 for His GCC Toolchains Thread
Sorry if I forgot to credit anybody, who's work is used in my thread, PM me I will add it.

Hey? Don't forget "credits" at me
Sent from my android-taoshan

FantasticalX said:
Hey? Don't forget "credits" at me
Sent from my android-taoshan
Click to expand...
Click to collapse
for ?

Navneet Suresh said:
for ?
Click to expand...
Click to collapse
Lol, you don't get it. I will try this! Thanks!
Sent from my android-taoshan

Reserved for now

Thank you for this guide
i should be c++ programmer for start with this right?
Sent from my taoshan using XDA Premium 4 mobile app

david makarove said:
Thank you for this guide
i should be c++ programmer for start with this right?
Sent from my taoshan using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Having some knowledge on c is enough.
Sent from my Nexus 7 using XDA Free mobile app

I dont understand what you write this tutorial

Levered said:
I dont understand what you write this tutorial
Click to expand...
Click to collapse
I have tried to be as simple as possible ... Be more clear with your question what part of the tutorial you didn't understand i mean setup, compiling, ??
Sent from my Nexus 7 using XDA Free mobile app

Navneet Suresh said:
I have tried to be as simple as possible ... Be more clear with your question what part of the tutorial you didn't understand i mean setup, compiling, ??
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
Yup, i know you make it's simple..,btw please wrap command..maybe will confuse others member to read this...
btw i've problem to setup...

Levered said:
Yup, i know you make it's simple..,btw please wrap command..maybe will confuse others member to read this...
btw i've problem to setup...
Click to expand...
Click to collapse
What problem in setting up ?
Sent from my Nexus 7 using XDA Free mobile app

im interested on building the kernel. just asking. i got 2 laptops. 1 with 32 bit, 1 with 64 bit. can i build a kernel using 32 bit?

FajarMF28 said:
im interested on building the kernel. just asking. i got 2 laptops. 1 with 32 bit, 1 with 64 bit. can i build a kernel using 32 bit?
Click to expand...
Click to collapse
Nope you can't use 32bit
Sent from Nexus 7

Navneet Suresh said:
Nope you can't use 64bit
Sent from Nexus 7
Click to expand...
Click to collapse
so, i must use the 32 bit? okay, then im installing VM now

FajarMF28 said:
so, i must use the 32 bit? okay, then im installing VM now
Click to expand...
Click to collapse
Ops I meant you can't use 32bit. Corrected the typo.
Sent from Nexus 7

Navneet Suresh said:
Ops I meant you can't use 32bit. Corrected the typo.
Sent from Nexus 7
Click to expand...
Click to collapse
Lol, haha okay then. i will use the 64bit. Can you pm me how to setting up? I've already downloaded the toolchains (Linaro) and the sources (fw 12). Im using Ubuntu 13.10. Tell me what packages needed (Java, adb, etc)

FajarMF28 said:
Lol, haha okay then. i will use the 64bit. Can you pm me how to setting up? I've already downloaded the toolchains (Linaro) and the sources (fw 12). Im using Ubuntu 13.10. Tell me what packages needed (Java, adb, etc)
Click to expand...
Click to collapse
I will post list of needed packages here.
Sent from Nexus 7

Navneet Suresh said:
I will post list of needed packages here.
Sent from Nexus 7
Click to expand...
Click to collapse
Is it the right packages?
git-core, gnupg, flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev, build-essential, zip, curl, libncurses5-dev, zlib1g-dev, ia32-libs, lib32z1-dev, lib32ncurses5-dev, gcc-multilib, g++-multilib, Adb.
and about linaro, iam using arm-linux-gnueabi-linaro_4.9.1-2014.05-build_2014_05_17.tar.xz, right?
sorry for so much asking

FajarMF28 said:
Is it the right packages?
git-core, gnupg, flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev, build-essential, zip, curl, libncurses5-dev, zlib1g-dev, ia32-libs, lib32z1-dev, lib32ncurses5-dev, gcc-multilib, g++-multilib, Adb.
and about linaro, iam using arm-linux-gnueabi-linaro_4.9.1-2014.05-build_2014_05_17.tar.xz, right?
sorry for so much asking
Click to expand...
Click to collapse
Yes BTW are you running it on VM ?
Sent from Nexus 7

Navneet Suresh said:
Yes BTW are you running it on VM ?
Sent from Nexus 7
Click to expand...
Click to collapse
No, installed ubuntu 13.10 64bit now
Can i pm you for further questions?

Related

[MOD] AROMA BootMenu | MoltenMotherBoard (08/10/2012 16:54)

GENERAL INFO:​It's an Amarullz project, related to AROMA project.
It was simple booting menu. It shows 3 simple menu before you boot into your android environment:
* Boot Normally - Boot to Android OS normally
* Recovery - Boot to Recovery
* Bootloader - Boot to Bootloader
That's an elementar version, that who wants, can modify as he wants.
It was potentially become useful tools if we can configure it for our needed, maybe we can add menu like: zip align before boot, fix permission before boot, boot to safe mode, etc. Or maybe even dual rom boot if it possible.
Anyone who wants to participate and say something about the development, contact us to: [email protected]
Please, keep this topic clear! I'll answer only for questions about developing. About others, please write to me at PM!
I'm not responsible for any damage to your phone! When you're installing this rom, you're also accepting these conditions!​
Click to expand...
Click to collapse
FEATURES:​
Flashable package
Boot to Recovery
Boot to Bootloader
Boot to OS
Click to expand...
Click to collapse
BUGS:​
If you find any bug, please contact us to: [email protected]
Click to expand...
Click to collapse
CHANGELOG:​
----- SHARED RELEASE [1]
Fixed updater-script for GIO
Fixed color
Fixed DPI
Adapted Icons for MDPI device
​
Click to expand...
Click to collapse
DOWNLOADS:​
DOWNLOAD​http://www.mediafire.com/?w7feb20t8br17ho​
Click to expand...
Click to collapse
THANKS:​
MoltenMotherBoard Team:
▷ mackief
▷ p4c0
▷ 7um4​
​
...
Thanks:
▷ amarullz​
​
Click to expand...
Click to collapse
...
Its for GIO no????...
Will it work here. ..???
& give screens and procedure also...
Sent from my GT-S5670 using xda premium
ketan.k said:
Its for GIO no????...
Will it work here. ..???
& give screens and procedure also...
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
It should work here, dont worry!
Sent from my GIO running DebianDroid LENNY
will we get firefox os from you too?
it will be a real great work:good:
thank you:good:
torbatepak said:
will we get firefox os forom you too?
it will be a real great work:good:
thank you:good:
Click to expand...
Click to collapse
Ya....I also feel the same...take your own time no hurry here...but please think about it....
We love such roms....
BTW this is working fine....I love this....:angel::victory:
ketan.k said:
Ya....I also feel the same...take your own time no hurry here...but please think about it....
We love such roms....
BTW this is working fine....I love this....:angel::victory:
Click to expand...
Click to collapse
When it Will boot on Gio i'll Port it to other devices!
Sent from my GIO running DebianDroid LENNY
Boot To Download mode would be better instead of boot to bootloader
And the text is very small Otherwise This Feature Is Awesome !!
asad007 said:
Boot To Download mode would be better instead of boot to bootloader
And the text is very small Otherwise This Feature Is Awesome !!
Click to expand...
Click to collapse
I only ported this tool for these devices, from official one. If you want other functions, start working dude!
mackief said:
I only ported this tool for these devices, from official one. If you want other functions, start working dude!
Click to expand...
Click to collapse
Can u please post the github link for the Aroma bootloader so that i can make some changes to add dual boot capability with the dual kernel support too for the device
---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------
Can u tell if u have started the development for the firefox OS?? If yes then where r u stuck?? Does this support the armv6 architecture?? and whats changes do u have made in the kernel to make the device support the b2g
yajnab said:
Can u please post the github link for the Aroma bootloader so that i can make some changes to add dual boot capability with the dual kernel support too for the device
---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------
Can u tell if u have started the development for the firefox OS?? If yes then where r u stuck?? Does this support the armv6 architecture?? and whats changes do u have made in the kernel to make the device support the b2g
Click to expand...
Click to collapse
Look in GIO DEV thread, there you'll know everything!
(I don't know the link. I'm not at home. When I can I'll search it)
Sent from my GT-S5660 using xda app-developers app
mackief said:
Look in GIO DEV thread, there you'll know everything!
(I don't know the link. I'm not at home. When I can I'll search it)
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Ok. Will be syncing the B2G after the cm10 sync. What is the size of the project.
yajnab said:
Ok. Will be syncing the B2G after the cm10 sync. What is the size of the project.
Click to expand...
Click to collapse
If I get it booting, solving ARMv6 incompatibilies, I can easily port it to all minor Galaxy devices.
Sent from my GT-S5660 using xda app-developers app
mackief said:
If I get it booting, solving ARMv6 incompatibilies, I can easily port it to all minor Galaxy devices.
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Is the build directory entirely different from the Android architecture??? The kernel differs where???
yajnab said:
Is the build directory entirely different from the Android architecture??? The kernel differs where???
Click to expand...
Click to collapse
The structure is similar. Kernel is almost the same, and in /system we don't have /system/app and /system/framework.
All the rest is the same...
Sent from my GT-S5660 using xda app-developers app
mackief said:
The structure is similar. Kernel is almost the same, and in /system we don't have /system/app and /system/framework.
All the rest is the same...
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
I was talking abt the build directory where the arm architecture and all are present

[CLOSED & FORGOTTEN][CM11] !SOON! CyanogenMod 11 i8260

Hello
As I am waiting for my device and looking at this forum I see that we have no experienced devs who are willing to build CM11 on our Galaxy Core. Since Samsung most likely will not build KitKat to our devices I'll try to port CM11 by myself. If everyting goes correctly by the end of the week I sould release first test build. Are here any volounteers willing to test those builds? If so, post me build.prop, boot.img/recovery.img and output of command
Code:
cat /proc/partitions
Regards
I will not be responsible for any bricked device, You have to be 100% sure what You're about to do.
I can test your cm11, but i don't know how i can post you my recovery.img and boot.img...extract it or just send you files? Sorry for my bad english
Sent from my GT-I8260 using xda app-developers app
here are the things you need
rzepa90 said:
Hello
As I am waiting for my device and looking at this forum I see that we have no experienced devs who are willing to build CM11 on our Galaxy Core. Since Samsung most likely will not build KitKat to our devices I'll try to port CM11 by myself. If everyting goes correctly by the end of the week I sould release first test build. Are here any volounteers willing to test those builds? If so, post me build.prop, boot.img/recovery.img and output of command
Code:
cat /proc/partitions
Regards
I will not be responsible for any bricked device, You have to be 100% sure what You're about to do.
Click to expand...
Click to collapse
Output of code is attached as screenshot. Rest I will upload by evening.
Thanks
Thanks for the interest mate.. We'll help you in whichever ways possible..
if you need tester pm me
Ok guys, as soon as I receive needed files I'll try to build CM11 compatible kernel with additional governors and CWM. This is priority.
hoping for this
Required Files...!!!
Here is the recovery.img and boot.img files from the Stock Firmware - GT-I8262_INS_I8262XXBMJ4_I8262ODDMJ1_I8262DDMH1
https://www.dropbox.com/s/wjzrpdtdps5p8j7/boot.img
https://www.dropbox.com/s/byg38tw7ryk49b8/recovery.img
rzepa90 said:
Hello
As I am waiting for my device and looking at this forum I see that we have no experienced devs who are willing to build CM11 on our Galaxy Core. Since Samsung most likely will not build KitKat to our devices I'll try to port CM11 by myself. If everyting goes correctly by the end of the week I sould release first test build. Are here any volounteers willing to test those builds? If so, post me build.prop, boot.img/recovery.img and output of command
Code:
cat /proc/partitions
Regards
I will not be responsible for any bricked device, You have to be 100% sure what You're about to do.
Click to expand...
Click to collapse
If you need anything more just tell us.
karanpats said:
Here is the recovery.img and boot.img files from the Stock Firmware - GT-I8262_INS_I8262XXBMJ4_I8262ODDMJ1_I8262DDMH1
https://www.dropbox.com/s/wjzrpdtdps5p8j7/boot.img
https://www.dropbox.com/s/byg38tw7ryk49b8/recovery.img
Click to expand...
Click to collapse
Hi, thanks but I need images from i8260, not i8262
8260 would be so good!
Hi, i have a galaxy core i8260 and i want help you, how i can give files do you want, i don't know. Sorry if m'y english is bad.
What, what ohhh yeah CM11 soon for i8260 tnx bro you is best
Sent from my GT-I8260 using XDA Premium 4 mobile app
I'll try to see what I can port. But I don't have a core and so will need testers
Sent from my Amazon Kindle Fire using xda app-developers app
I don't need boot.img/recovery.img anymore. I found sources at opensource.samsung.com. Also thank You for providing me a build.prop and outoput ot partitions. Stay tight as I'll try to build kernel
Thanks
If you do that, you will be my god. Im waiting for it !
Can you port for i8262
Hey can you please also port CM11 for i8262 as well???
They are not too different so you wont have to take much effort as well..
Please Please we need it...
rzepa90 said:
I don't need boot.img/recovery.img anymore. I found sources at opensource.samsung.com. Also thank You for providing me a build.prop and outoput ot partitions. Stay tight as I'll try to build kernel
Click to expand...
Click to collapse
But we need se linux
I'll try to compile twrp 2.6.3.4
I'll do for both
Sent from my Amazon Kindle Fire using xda app-developers app
androvista said:
But we need se linux
I'll try to compile twrp 2.6.3.4
I'll do for both
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
Better compile with CWM
Yes for KK is better compile with CWM
Sent from my GT-I8260 using XDA Premium 4 mobile app

Start building from source , using new sources

Hello guys ,
im just telling you that i'll try building from new source when devs finish it ..
in the matter of fact i dont know anything about this ..
im Downloading Ubuntu now 12.04 ..
The question is it fine if i build from VM ? or better to install it as second OS ? with program like (EASYBCD)
and if anyone have nooby thread for building from sources , HOW TO ... etc
Bye.
Build with new sources and get forfeit from ST. You are free to do it but It's illegal
Sent from my GT-I9070 using xda app-developers app
Illegal?
Sh0m1 said:
Illegal?
Click to expand...
Click to collapse
ST didn't give us any permissions to use them
Sent from my GT-I9070 using xda app-developers app
Oh, s**t!
So, what are ste-devs going to do?
Sent from Italy using Tapatalk
But ST-novathor is broken. No mo phones will come witch ST-Novathor processor. I think thats one of the resoms why we cant get sources.
Sent from my GT-I9070P using xda app-developers app
I'm ready to do it, just tell me how and I'll try all my best using VPN, + I'm in Yemen I have my gun if anyone will arrest me he is more than welcome, my tribe won't let him
Now, tell me how and I'll do it
EDIT : i sent few messages to ST Twitter hope i get an answer from them , guys push in them @ST_World
https://twitter.com/iD4RKx/status/428299444992233472
https://twitter.com/iD4RKx/status/428299646377541632
https://twitter.com/iD4RKx/status/428299975718481920
https://twitter.com/iD4RKx/status/428300391025872896
Sent from my GT-I9070 using xda app-developers app
Better to install ubuntu in your hdd..do manual partitioning.. And ubuntu 64 bit is a MUST..
Sent from my GT-I9070 using xda premium
assassin0408 said:
Better to install ubuntu in your hdd..do manual partitioning.. And ubuntu 64 bit is a MUST..
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
tomorrow i'll install it.
look what i have see in @Rox Best Githup
http://is.gd/RoxRox
u Rocks @Rox
iiD4x said:
tomorrow i'll install it.
look what i have see in @Rox Best Githup
http://is.gd/RoxRox
u Rocks @Rox
Click to expand...
Click to collapse
Hahaha..he merged omx codes from leaked sources..
Sent from my GT-I9070 using xda premium
assassin0408 said:
Hahaha..he merged omx codes from leaked sources..
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
No. He didn't
Sent from my GT-I9070 using xda app-developers app
Please take care that nobody mentions about those sources, that thread about those sources is locked pending some decision.
iiD4x said:
...
and if anyone have nooby thread for building from sources , HOW TO ... etc
.
Click to expand...
Click to collapse
I guess you can start to read something like this:
[TUTORIAL]Compile rom from source[janice] - thanks to @KINGbabasula
COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE] - thanks to @mithun46
[HOWTO][STEPBYSTEP] Build Rom From Source - thanks to @Haze028
and few more ... hope it help you to learn
there is nothing like illegal in this, somebody gave access to sources and we are free to use them , they have more important things to do other than taking actions against someone who is developing a custom rom using these sources.
moreover if this is not allowed still we have sources from maclaw and that would still be better than nothing afterall he is still progressing using those sources only....
this is what i believe maybe there are some more deep stuff which has to be resolved before using those sources....
iiD4x said:
I'm ready to do it, just tell me how and I'll try all my best using VPN, + I'm in Yemen I have my gun if anyone will arrest me he is more than welcome, my tribe won't let him
Now, tell me how and I'll do it
EDIT : i sent few messages to ST Twitter hope i get an answer from them , guys push in them @ST_World
https://twitter.com/iD4RKx/status/428299444992233472
https://twitter.com/iD4RKx/status/428299646377541632
https://twitter.com/iD4RKx/status/428299975718481920
https://twitter.com/iD4RKx/status/428300391025872896
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Im sure that answer will be NO,as they have not been published.Btw,maybe im wrong.
If devs don't want to take any risk then I will also start with the development for my phone with leaked sources. I think i got enough programming skills to build a ROM.
Sent from my GT-I9070 using xda app-developers app
I want to try to build a rom from source,but can be used source leaked for 4.2/4.3 roms ? And how is named this step?How i will use these sources?I read some guides,but i dont understand at which step i must to use these sources.
@R_a_z_v_a_n : Congratulations for RC ! :highfive:
Guys, please keep on rocking with these new sources. Keep this phone alive please. Good luck devvs. looking forward to the near future.
R_a_z_v_a_n said:
I guess you can start to read something like this:
[TUTORIAL]Compile rom from source[janice] - thanks to @KINGbabasula
COMPILE From Source For Any Phone On Linux Distros [BUILD ENVIRONMENT TO COMPILE] - thanks to @mithun46
[HOWTO][STEPBYSTEP] Build Rom From Source - thanks to @Haze028
and few more ... hope it help you to learn
Click to expand...
Click to collapse
i dont understand anything ! where exactly i need to put these commands ?
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
Click to expand...
Click to collapse
and the other commands ! i want very nooby tutorial .. detailed steps please
iiD4x said:
i dont understand anything ! where exactly i need to put these commands ?
and the other commands ! i want very nooby tutorial .. detailed steps please
Click to expand...
Click to collapse
In Linux terminal.

[Q] When noob gives a shot at source!

Well thats right, noob giving a shot at source compilation!
I'm trying to build a stable working device tree for cm 10.2 (Xperia E nanhu) from scratch and well ofcourse hurdles!
The mkvendor script only works with devices that use a standard boot.img file
Well I want to use that script by any means (I'm extremely choosy ) but all sony devices seem to love .elf files and that's just useless for me.
So is there a way to repack the kernel to .img? I've extracted the kernel.elf and the kernel.sin obtained. I have the ramdisk and a couple more files. I'm trying to pack em to .img. Any suggestions on how I can tackle this one?
doperthancoke said:
Try renaming kernel.elf into boot.img.
Sent from my C1604 using XDA Free mobile app
Click to expand...
Click to collapse
Tested.Working!
@TheUltimateNoobist
if you're working on C1605 E Dual i can be a tester
TheUltimateNoobist said:
Tested.Working!
Click to expand...
Click to collapse
Is there any chance we'll be seeing your ROM in the Custom ROMs section???
anurox2 said:
Is there any chance we'll be seeing your ROM in the Custom ROMs section???
Click to expand...
Click to collapse
It takes time and patience
Note that I'm making it from the scratch and not using the ready-made device trees A little patience would be nice.
TheUltimateNoobist said:
It takes time and patience
Note that I'm making it from the scratch and not using the ready-made device trees A little patience would be nice.
Click to expand...
Click to collapse
Ok then, very well. I hope you make the best ROM there is. If you need any help(Not that you will, you seem to know more about this stuff) don't hesitate.

[Q] Porting aicp, need help

So my problem is ..it doesnt bootloop.. but after bootanimation, i get a blank screen
i changed lib files but with no success,,
i think d rom has booted but some display problem so black screen
and cant take logcat
following error :
error: device unauthorized. Please check the confirmation dialog on your device.
- waiting for device -
Rohan purohit said:
So my problem is ..it doesnt bootloop.. but after bootanimation, i get a blank screen
i changed lib files but with no success,,
i think d rom has booted but some display problem so black screen
and cant take logcat
following error :
error: device unauthorized. Please check the confirmation dialog on your device.
- waiting for device -
Click to expand...
Click to collapse
hey use this guide to get the logcat
http://forum.xda-developers.com/showthread.php?t=2296632
after that post the logact here
so that i and other people can help you
AlphaBeta said:
hey use this guide to get the logcat
http://forum.xda-developers.com/showthread.php?t=2296632
after that post the logact here
so that i and other people can help you
Click to expand...
Click to collapse
hey it dint work..i think d unauthorised thing is causing d problem
any idea about d blank screen??
Rohan purohit said:
hey it dint work..i think d unauthorised thing is causing d problem
any idea about d blank screen??
Click to expand...
Click to collapse
Unauthorized thing is due to the adb feature the guide i gave you works properly
And regarding display i guess it should either be the framework or lib files
Did you replace the hw folder in lib?
Sent from my C2105 using XDA Free mobile app
AlphaBeta said:
Unauthorized thing is due to the adb feature the guide i gave you works properly
And regarding display i guess it should either be the framework or lib files
Did you replace the hw folder in lib?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Ya il try d logcat again..n yah replaced !
AlphaBeta said:
Unauthorized thing is due to the adb feature the guide i gave you works properly
And regarding display i guess it should either be the framework or lib files
Did you replace the hw folder in lib?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Hey dude i know u hv been busy with miui porting, bt i think i hv found d soln to my problem..but im not able to edit default.prop in ramdisk.cpio, no matter how i do it ,it doesnt extract..used kitchen in linux,cygwin everything..how did u do it?
Rohan purohit said:
Hey dude i know u hv been busy with miui porting, bt i think i hv found d soln to my problem..but im not able to edit default.prop in ramdisk.cpio, no matter how i do it ,it doesnt extract..used kitchen in linux,cygwin everything..how did u do it?
Click to expand...
Click to collapse
You are editing default.prop for that adb thing? Well i do it with cygwin only
Sent from my C2105 using XDA Free mobile app
AlphaBeta said:
You are editing default.prop for that adb thing? Well i do it with cygwin only
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
No for black screen..ya frm cygwin too same result as linux ,when i unpack boot.img..ramdisk.cpio is not extracted..
Rohan purohit said:
No for black screen..ya frm cygwin too same result as linux ,when i unpack boot.img..ramdisk.cpio is not extracted..
Click to expand...
Click to collapse
Ramdisk has to be seperately extracted and packed by linux command kitchen will not unpack it
And default.prop doesn't have anything related to system i guess still if you want i can do the changes for you?
Sent from my C2105 using XDA Free mobile app
AlphaBeta said:
Ramdisk has to be seperately extracted and packed by linux command kitchen will not unpack it
And default.prop doesn't have anything related to system i guess still if you want i can do the changes for you?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks ..ya ur right..i was able to do it.. but my soln dint work i was trying miui too..still bootloop! Y dont u try patchrom..there is a source available na!
AlphaBeta said:
Ramdisk has to be seperately extracted and packed by linux command kitchen will not unpack it
And default.prop doesn't have anything related to system i guess still if you want i can do the changes for you?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
ro.secure= 1 to ro.secure= 0
ro.debuggable= 0 to ro.debuggable= 1
persist.sys.usb.config= mtp to
persist.sys.usb.config= mtp,adb
ro.adb.secure= 1 to ro.adb.secure= 0
This is what i did..a guy told me in a porting guide..it kept looping on sony logo..dint even get to bootanim? Any idea? Maybe he told me for logcat? Rite?
Rohan purohit said:
Thanks ..ya ur right..i was able to do it.. but my soln dint work i was trying miui too..still bootloop! Y dont u try patchrom..there is a source available na!
Click to expand...
Click to collapse
I don't have alot of time and then net connection i have will take ages to download sources and compile
If bootanimation din't come maybe there is a issue with the kernel did you pack it properly?
Else try replacing some lib files
Libandroidruntime.so and other listed in propietary
Sent from my C2105 using XDA Free mobile app
AlphaBeta said:
I don't have alot of time and then net connection i have will take ages to download sources and compile
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Oh no problem..il give it a try then
Rohan purohit said:
Oh no problem..il give it a try then
Click to expand...
Click to collapse
I guess there was another guy working on patchrom but even he had issues booting it
Sent from my C2105 using XDA Free mobile app
AlphaBeta said:
I guess there was another guy working on patchrom but even he had issues booting it
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
Yah i guess david..well ya probably wil get same result..but no harm in trying..
AlphaBeta said:
I guess there was another guy working on patchrom but even he had issues booting it
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
hey i tried everything possible ..like replacing lib files etc..i think its d kernel thing,, as i even tried wid diff device rom..
so can u edit it for me,,edit from cm boot img ??

Categories

Resources