[DEV] 2nd-init Compiled and Running - Barnes & Noble Nook Tablet

So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.
Here are the files:
2nd-init.tar
To recomile with the NDK use the following command:
Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
(Thanks to Indirect)
GOOD LUCK

Loglud said:
So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.
Here are the files:
2nd-init.tar
To recomile with the NDK use the following command:
Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
GOOD LUCK
Click to expand...
Click to collapse
Hmm, if only another developer told you how to cross compile. Oh wait! Haha, congrats Loglud.

Loglud said:
So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.
Here are the files:
2nd-init.tar
To recomile with the NDK use the following command:
Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
(Thanks to Indirect)
GOOD LUCK
Click to expand...
Click to collapse
Awesome! Great job Log. Big Step in the right direction.

Nice. 10char.

So, did development stop on this? how is it installed?

AdamOutler said:
So, did development stop on this? how is it installed?
Click to expand...
Click to collapse
I want know it too... >.<

Jeeze idk, i completely forgot about this thread until you guys posted on it. I never did to much testing. This was mostly done in concurrence with the Kexec-Mod since i had the toolchain up and running. If i remember correctly it did generate the second init file, don't know if it ever loaded it, but i can work on it some more if people want. I was hoping some one would point me in the direction they needed me to go with this.

Loglud said:
Jeeze idk, i completely forgot about this thread until you guys posted on it. I never did to much testing. This was mostly done in concurrence with the Kexec-Mod since i had the toolchain up and running. If i remember correctly it did generate the second init file, don't know if it ever loaded it, but i can work on it some more if people want. I was hoping some one would point me in the direction they needed me to go with this.
Click to expand...
Click to collapse
I prefer first a compatible Custom Recovery
I compiled, but I don't know how adapt the hijack...

what is 2nd-init? Is it a bootloader? kernel? recovery? where does it come in the boot sequence?
http://nookdevs.com/Dump_NookTablet_Partitions

AdamOutler said:
what is 2nd-init? Is it a bootloader? kernel? recovery? where does it come in the boot sequence?
http://nookdevs.com/Dump_NookTablet_Partitions
Click to expand...
Click to collapse
http://and-developers.com/2ndinit

AdamOutler said:
what is 2nd-init? Is it a bootloader? kernel? recovery? where does it come in the boot sequence?
http://nookdevs.com/Dump_NookTablet_Partitions
Click to expand...
Click to collapse
Pratically.. it's the method with many motorola phone (with locked bootloader) can run custom roms like cyanogemod.

However the problem is it requires kexec mod.
Sent from my ADR6425LVW using xda premium

Loglud said:
However the problem is it requires kexec mod.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Sorry, but you're wrong.
From this source use the Hijack method. This mean you can instal a custom rom, but you can't replace the kernel or bootloader.
From the source:
It's also important to remember that 2nd-init does NOT unlock the bootloader, nor does it allow you to run a custom kernel. It simply allows us to utilize the kernel that is there for our own means
Click to expand...
Click to collapse
That method is good enough to run CM9 and it's relative simple to port.
The kexec method is something different, but better: is a system call that enables you to load and boot into another kernel from the currently running kernel.
kexec performs the function of the boot loader from within the kernel.... essentially a hijack to allow us to call another kernel as a function of the stock one, allowing us to bypass the locked bootloader.
Source

Someone has had success with this method
See this twitter feed:
http://twitter.com/androidnemith
@AndroidNemith just have seen your photo with the CWM on the Nook tablet. How did you do that since the Bootloader is locked ?
@PetePetePete1 Hijacking . Same way moto defy and others are doing it. Right now i am kicking it manually looking for a better way now.
@AndroidNemith can you show your current state XDA developers, because they are still searching for a method to get a custom bootloader
@PetePetePete1 It's not quite ready and i got distracted by NookColor bits. If you want to see what i am doing look at the Moto Defy CM
Click to expand...
Click to collapse
I take no credit for finding this, as I haven't been talking with @AndroidNemith

HMG10 said:
See this twitter feed:
http://twitter.com/androidnemith
I take no credit for finding this, as I haven't been talking with @AndroidNemith
Click to expand...
Click to collapse
That would be me then I was also asking AndroidNemith if he could show his current state on XDA but he didn´t reply back yet :S Oh yeah and nice picture
http://yfrog.com/nxrztiij

Related

[KITCHEN] Basic ROM Kitchen for aspiring Nexus One cooks [PC/MAC]

Hi guys,
Over at the HTC Hero forum I have been developing a kitchen to help ordinary people learn how to build their own ROM. Recently, I purchased a Nexus One, and so I was able to port this kitchen so that it can now successfully create a rooted Nexus One custom ROM.
The kitchen works for the Nexus One but is still found at the HTC Hero Android Development subforum, so I'll probably get someone to move it to a common forum eventually:
http://forum.xda-developers.com/showthread.php?t=633246
Enjoy!
WOW, thanks, cant wait to try
can we use this forn N1???
pol18 said:
can we use this forn N1???
Click to expand...
Click to collapse
Of course...
dsixda said:
Of course...
Click to expand...
Click to collapse
Thanks bro. Setting up a Virtual Box right now and going to try it out.
mikroN1 said:
Thanks bro. Setting up a Virtual Box right now and going to try it out.
Click to expand...
Click to collapse
No problem, I'm trying to get Wi-fi tethering working as well, as the Nexus One requires some additional steps to get it to work. I asked in the Wireless Tether thread.. maybe someone knows?
I'm going to check this out, may be just what I needed
Wow thanks a lot, very kind of you to do this! Setting up now
Ok, I have now updated the kitchen to version 0.20, so that Nexus One owners can now cook in the Wireless Tether. As you might know already, for the Nexus One the wireless tethering app requires a kernel modification (which is kind of complicated for the Average Joe), so the kitchen does all that for you automatically. I just used the modified kernel that is provided in the Wireless Tether project page.
ROM ROM ROM ya boot..
Works really well, although it might be better (under OSX) to make the disk bigger than 500mb.
I found the simplest way to use the soylatte java was to extract it, put it on my Kitchen disk and then simply modify the menu by adding
Code:
PATH=/Volumes/Kitchen/soylatte16-i386-1.0.3/bin/:$PATH
at the top. Saves screwing up any other java dev work going on
Tested it with a Nexus One Cyanogen rom, works nicely for stripping out stuff I don't want and adding what I do.
Good Job. Thanks!
ScaredyCat
dsixda said:
Ok, I have now updated the kitchen to version 0.20, so that Nexus One owners can now cook in the Wireless Tether. As you might know already, for the Nexus One the wireless tethering app requires a kernel modification (which is kind of complicated for the Average Joe), so the kitchen does all that for you automatically. I just used the modified kernel that is provided in the Wireless Tether project page.
Click to expand...
Click to collapse
worked nicely for me too. set up a virtual machine on my macbook and loaded latest ubuntu plus jdk. ...changed splash ...stripped an apk ...added in motoapps for exchange calendar ...added a wifi tether direct instead of tool ...dropped in a few extra media sound files. the output zip flashed no problem and all tweaks (through very-very minor) working.
it would be appreciated if any more resource links exist other than those already in first post of thread. i'd like to learn more
yeah,this thing works(on mac).
but i wish we have a tutorial to cook a rom,(kernel).
rheza02 said:
yeah,this thing works(on mac).
but i wish we have a tutorial to cook a rom,(kernel).
Click to expand...
Click to collapse
There are about four tutorials linked on the first post of that thread, if that's what you mean.
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
rheza02 said:
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
Click to expand...
Click to collapse
Yeah this would be cool too.
rheza02 said:
a menu to edit build.prop will be great.
Click to expand...
Click to collapse
It's a text file, edit it with a text editor.
SC
ScaredyCat said:
It's a text file, edit it with a text editor.
SC
Click to expand...
Click to collapse
Yeah I know this, but I don't know what to tweak and what not too touch. Still a noob at this.
Breakthecycle2 said:
Yeah I know this, but I don't know what to tweak and what not too touch. Still a noob at this.
Click to expand...
Click to collapse
Tweak stuff, if it breaks tweak it back and reflash
That's how I find out what works and what doesn't... trial and error.
SC
ScaredyCat said:
Tweak stuff, if it breaks tweak it back and reflash
That's how I find out what works and what doesn't... trial and error.
SC
Click to expand...
Click to collapse
lol..good point. Thanks
rheza02 said:
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
Click to expand...
Click to collapse
I don't think the Nexus One has the storage capacity to flash a Desire ROM - has been mentioned in this forum in some threads. You have to take stuff out to save space.
Menu for build.prop? I'm as much of a noob as you.

[Q] Compile fastboot for windows

Hi guys,
Is there any expert to help me to compile the fastboot for windows?
I need step by step, sure it's in cygwin only, but still - HOW?
Max
SOS!!!
I am pretty sure some of you can do it, please HELP!
I'm not sure at all, but could this help?
http://groups.google.com/group/android-porting/browse_thread/thread/4990ffe551844860?pli=1&fwc=1
EDIT: This looks more like what you want.
http://forum.xda-developers.com/showthread.php?t=463627
EDIT: Nope, looked at another post, and you want some code - hmm...
Try PM'ing the person who compiled it. (JesusFreke)
Thanks but he said he "forgot" how to do it..
HunteronX said:
I'm not sure at all, but could this help?
http://groups.google.com/group/android-porting/browse_thread/thread/4990ffe551844860?pli=1&fwc=1
EDIT: This looks more like what you want.
http://forum.xda-developers.com/showthread.php?t=463627
EDIT: Nope, looked at another post, and you want some code - hmm...
Try PM'ing the person who compiled it. (JesusFreke)
Click to expand...
Click to collapse
maxrfon said:
Thanks but he said he "forgot" how to do it..
Click to expand...
Click to collapse
Never mind; I'll keep looking.
Also, have you found a way to use fastboot on X10 in linux, but want to compile it in windows, to avoid using a virtual machine everytime we want to flash something?
Solved.
Please close the topic.

[DEVELOPEMENT] Cyanogen

Hey guys
First of all: I'm not good in develop! But i want to start with CM porting to our Gen8
I just get some infos from chulri how to port CM.
What have to be do:
Build-Scripts for CM on Gen8
Extract some Gen8 Binaries
Build the Kernel with Touchscreen Drivers
Build-Scripts for CM on Gen8
I started a Thread at the CM Forum about this I'll report here..
( http://forum.cyanogenmod.com/topic/24048-cm-port-to-archos-gen8/ )
Extract some Gen8 Binaries
I hope chulri will answere me soon so i can do this
Build the Kernel with Touchscreen Drivers
This have to be done from a guy who has Kernel Knowledge! Anyone?
If anyone's interested i could send a link with an how to, i've found onthe web
Everybody is invited to help to getting this Project started!
Greetz,
Lenn
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Scaryghoul said:
I'm not a great porter, but I've shadowed a lot of porting with the cm roms, I'll try to do my part if you host the project on something like github(both kernel and rom). I also have a little bit of kernel development experience.
Click to expand...
Click to collapse
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Lennb said:
Thats good You know more than me
I just could host the normal kernel and rom, because i've do nothing yet
(When chulri answered me i'll catch the original binaries, you can read this here: http://forum.xda-developers.com/showthread.php?t=1029507&page=3 )
You think you could the first step i described?
That would be assome
thank you for start the ball rolling!
Click to expand...
Click to collapse
Not sure what you mean, you want me to explain how to extract the original binaries?
If you need a tester i'm your man ^^
(and if i can be of help with anything else learn me and i'll try ^^)
link should be this?
http://forum.cyanogenmod.com/topic/19647-archos-gen8/page__view__findpost__p__196966
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Scaryghoul said:
Not sure what you mean, you want me to explain how to extract the original binaries?
Click to expand...
Click to collapse
I dont know, when chulri respone me i'll report it here
@eagleofdeath13
Thanks for support! Maybe you could search someone with Kernel knowledge who could do the first step, i think this is hard
@LeoNg628
Yep,sorry about that, thank you for correcting me
Thank goes to all you guys!
LeoNg628 said:
First of all, Thanks for a help appear!!
I think he mean the step of porting CM7 to gen8 is:
1.Build-Scripts for CM on Gen8
2.Extract some Gen8 Binaries
3.Build the Kernel with Touchscreen Drivers
so, step 1 should be "1.Build-Scripts for CM on Gen8"..
Click to expand...
Click to collapse
Yep,you're right
But i think its the hardest step and i've kernel knowledge,
We have to find someone with Kernel Knowledge who could do this
(Except chulri, i always ask him, but he has to much work right now..)
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Scaryghoul said:
Oh, well I've never really created a build script before but there are plenty of guides instructing on how to do so.
Extracting the binaries usually consists of adb pulling all of the binaries required for the complication that are proprietary/closed source. I suppose you could just copy/paste them to your sdcard then copy to a computer if adb weren't around but that's just extra work.
As to which binaries we need, I'm not sure yet but we can cross that bridge in a bit.
To make the build script, we should probably analyze other build scripts for other devices and the directories for them.
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Also for whoever attempts to get a functional kernel for cm7 this page may be useful(or possibly me just making sure I read this later)
http://wiki.cyanogenmod.com/index.php?title=Howto:_Build_a_Kernel_Port
Click to expand...
Click to collapse
Thank you!
Okey, you really knows a lot more than i am
I'll do the binaries, just say me where they are?^^
Maybe you could try the Build script(s)...
And for the Touchscreen Driver:
We've to look for somebody who do the instructions i've found on the net
Scaryghoul said:
This thread might aid in development, I doubt they have the build scripts for archos but they at least have examples in the program I'm sure and other tools to use.
http://forum.xda-developers.com/showthread.php?t=969266
Click to expand...
Click to collapse
Okey, i know this Thread, its great except the fact it don't support Archos ^^
I'll send a message at these guys about archos devices and parallels about our gen8 devices ad supported devices, so we could create our own script to do it from scratch like they've do
But i now i go to bed^^
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
I have Desire and Desire HD also Aria and Legend....but all is HTC...the hardware spec is not similar to Archos gen8....
chulri said:
To start with build scripts I would recommend to find a device - which is supported by CM, if there even is one - which has similiar hardware as the Archos Gen8 series and start from there instead to start from scratch.
If there is no such similiar device series you unfortunately would have to start from scratch
Click to expand...
Click to collapse
Okey,thank you
there is no device similar to our archos that is supported
But is it possible to "mix" it?
Like:
Cpu - from a phone that has Arm Cortex A8
[...]
we put together all parts
woukd that be possible?
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Lennb said:
Okey, i understand thank you very much, chulri!
I've searched but i dont found anything about writing build scripts on android...
Click to expand...
Click to collapse
I haven't found anything too, but I did some research in the beginning of this year: http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adapt them.
Lennb said:
Okey, then we'll do this step (binaries) in the end, i think the best would be to write the build scripts first? What do you mean?
Click to expand...
Click to collapse
Agreed
Lennb said:
i think we should write now on the developement thread, then the other guys could read it
Click to expand...
Click to collapse
Agreed too
chulri said:
Yes, CPU might be the most important common part, then WiFi/BT, DSP (for hardware acceleration of videos), Sound, Touchscreen and in the end USB host port.
Click to expand...
Click to collapse
Okey, but how do we get these firmwares out of the archos firmware?
http://wiki.cyanogenmod.com/index.p...nMod_for_Sholes#Prepare_the_Build_Environment
After installing the repository on the build machine, you have all the build scripts from other devices and can copy and adappt them.
Click to expand...
Click to collapse
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
I want Cyanogen!
Lennb said:
Okey, but how do we get these firmwares out of the archos firmware?
Click to expand...
Click to collapse
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Lennb said:
Okey, i just have a windows pc, but i think i put linux on it
Ubuntu is the best for developening, isn't it?
I have to talk to my brother (with-owner of the pc)
I'll put a dual-boot system on my pc
Click to expand...
Click to collapse
So you start developing? If not, no need for linux at all
Lennb said:
I want Cyanogen!
Click to expand...
Click to collapse
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
chulri said:
a) adb pull (this is what the "extract_files.sh" does)
b) root the device and copy files one by one
c) root the device, copy the filesystem image and extract the files by script
Click to expand...
Click to collapse
Sorry, im a noob I just don´t understand.
Adb pull is copy files over adb(command connection over usb); right?
So you start developing? If not, no need for linux at all
Click to expand...
Click to collapse
I try I reset my Pc anyway
4 days ago you wanted UrukDroid, 3 day ago you wantet Honeycomb, now you want CM, will you stay this time?
Click to expand...
Click to collapse
Same answer as in 2
from what i understand 2.2, 2.3 doesnt support usb hosting which is needed for the archos screen
is there a fix for that?
i know android 3.0, 3.1 support usb hosting...

[Q] Replacing FRX07 system.ext2 with Sense .ext2 and booting

Basically what I want to do is take the FRX07 bundle.zip and simply replace that system.ext2 with the one from this build (That's a direct link to the .rar file, btw).
The Sense build comes in system.sqsh form and I have already managed to convert that into a working system.ext2.
My dilemma comes in here.. I need help determining which files I need to replace/modify in the initrd.gz/rootfs/system folder/etc. in order to boot this build with the most current features of FRX07 (rootfs and whatnot).
I have some experience with modifying initrd.gz and rootfs images, but I'm still extremely noobish in the sense that I don't know exactly which coding I must change to get the desired effect.
I appreciate any helpful insight in advance!
EDIT: Also, it would be VERY helpful if someone could explain the functions and purposes of the rootfs.img, initrd.gz, and kernel. I have my speculations and assumptions, of course, but knowing for sure gets me a step closer to what I want. again, thanks in advance!!
maff1989 said:
Basically what I want to do is take the FRX07 bundle.zip and simply replace that system.ext2 with the one from this build (That's a direct link to the .rar file, btw).
The Sense build comes in system.sqsh form and I have already managed to convert that into a working system.ext2.
My dilemma comes in here.. I need help determining which files I need to replace/modify in the initrd.gz/rootfs/system folder/etc. in order to boot this build with the most current features of FRX07 (rootfs and whatnot).
I have some experience with modifying initrd.gz and rootfs images, but I'm still extremely noobish in the sense that I don't know exactly which coding I must change to get the desired effect.
I appreciate any helpful insight in advance!
Click to expand...
Click to collapse
90% of the work that went into FRX07 is in system.ext2, not anywhere else. Plus the rootfs itself is designed specifically to work with the system.ext2 from FRX07. That's not to say that it's impossible to modify it, but no forum thread will ever tell you all the changes you'd need to make to get that up and running.
rpierce99 said:
90% of the work that went into FRX07 is in system.ext2, not anywhere else. Plus the rootfs itself is designed specifically to work with the system.ext2 from FRX07. That's not to say that it's impossible to modify it, but no forum thread will ever tell you all the changes you'd need to make to get that up and running.
Click to expand...
Click to collapse
Ohh I see, about the rootfs and the system.ext2. But that's not to say that the work that went into the FRX07 system.ext2 wouldn't be useful for another .ext2
I know the basics of modifying the system and rootfs and I have a general idea of what needs to be done, so all I'm looking for is sorta a nudge in the right direction. I'm not expecting a to-do list, but a little goes a long way.
Plus, I doubt Google would have anything useful on this topic, especially in reference to the Tilt2. Hence, this thread lol.
tiad8
maff1989 said:
Ohh I see, about the rootfs and the system.ext2. But that's not to say that the work that went into the FRX07 system.ext2 wouldn't be useful for another .ext2
I know the basics of modifying the system and rootfs and I have a general idea of what needs to be done, so all I'm looking for is sorta a nudge in the right direction. I'm not expecting a to-do list, but a little goes a long way.
Plus, I doubt Google would have anything useful on this topic, especially in reference to the Tilt2. Hence, this thread lol.[/QUOTE=maff1989;15812348]
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
alaa_hany47 said:
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
Couldn't be more wrong. klinux created the Sense build, it was originally called 'rosie' before tiad8 took it and butchered it to make it appear like it was his work...
alaa_hany47 said:
you can ask tiad8 he will help u cuz he's a lover of sense build so he will tell u what to do and actually i think he created dis build so u can vist his site http://www.tiad8.com and ask him and he will help u .
Click to expand...
Click to collapse
Tiad8 doesn't know ****. Pardon the French. But thanks for the suggestion.
arrrghhh said:
Couldn't be more wrong. klinux created the Sense build, it was originally called 'rosie' before tiad8 took it and butchered it to make it appear like it was his work...
Click to expand...
Click to collapse
I noticed his skills in butchering.
what base are you using for the sense build? I have a successful build booting. The problem I have is with the sqsh file. If I unsquash it and try to rebuild it I get an error on boot. How did you convert it over? And do you have a working radio?
Never mind. I got it from the first post. That one is really slow port of Hero build. I have one that is a direct port and a lot smoother with the exception of the radio not working. But I am using completely updated rootfs, kernel, and initrd. The ones from xdandroid work just fine. But I use these kernels. I dunno if they are different from the ones directly from xdandroid site.
taylorhome11 said:
But I use these kernels. I dunno if they are different from the ones directly from xdandroid site.
Click to expand...
Click to collapse
That's XDAndroid's repo for kernels... There's a .35 and .39 tree there as well.
arrrghhh said:
That's XDAndroid's repo for kernels... There's a .35 and .39 tree there as well.
Click to expand...
Click to collapse
Thanks for clearing that up

Complete noob guide for compiling roms

Hi..im a quite fresh android user after having iphone for the last 4 years....i have a huawei ideos x5 pro that for me at least is a great phone for his price..but the major problem is that we don't have devs for our phone...only one chinese guy that develops roms for at least 7 phones so we aren't his major concern...so im asking if there is a complete noob guide for compiling rom..fixing rom.
i have to tell you and please don't flame that even that i have knowlage over pc's i haven't any knowlage over programming and coding!!so if any guide can't help me it will be ok...i try! but if there is a guide that can help me step by step to understand the basics and then with a bit of research can figure it out the rest it will be helpful!!
Thanks!!
Sorry for my english!
http://lmgtfy.com/?q=make+android+custom+ROM
thewadegeek said:
http://lmgtfy.com/?q=make+android+custom+ROM
Click to expand...
Click to collapse
Yeah i know that...im asking for a user's entirely noob guide...1st time user guide...google is full with guides but not so novice guides!!
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
thewadegeek said:
There isn't a "type this, click this, A,B,C" guide. That would be called just copying somebody's work. What you need to do is start reading through ALL the guides you can find, compile a kernel, read smali, change colors, mod pictures, unpack-repack boot.imgs. I can't give you a link and say "Read this tutorial and you will be a developer", that's just not how it works.
Click to expand...
Click to collapse
ill give it a try thanks!!!
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
pikachukaki said:
After reading a lot of guides...i can say that i didnt find anything so hard but i haven't try it so far so i can say for sure...but i stuck in one thing...somewhere on all the guides it sais to find your device tree...and many guides that are from samsung or htc using some github and some cyanogen brances...i have an huawei ideos x5 pro...where i will find those trees?do i need them for making the android source work with my device or the source from google is universal meaning that when im build the rom from sources.android.com the rom will work in my device??
Click to expand...
Click to collapse
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
adiles said:
You must have a device tree... If not you have to build your own... The rom built from source.android.com will only work with google nexus devices...
Click to expand...
Click to collapse
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
pikachukaki said:
So my hands is tied...nice!!there is no way that i can make a tree i don't have so much knowlage!! :/ too bad!!
Click to expand...
Click to collapse
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
-Sent from my u8800-
Me Too!
lemonade747 said:
I have read all things in xda about my u8800, and xda helps me know about root, install cwm, uprom..etc. thank all of you, thank xda
Click to expand...
Click to collapse
I'm actually reading everything about my new device, Sony Neo L. This is pretty amazing! XDA rocks!
CrisisCorE said:
look for a device with similar hardware and copy that device tree, then try to make adjustments to get it working and voila. and ask that one dev if he can give you his device tree
Click to expand...
Click to collapse
Hardware we need the same cpu gpu or everything?sensors bt wifi etc?
Sent from my U8800PRO using xda premium
How can i get source code for Vision, since huawei doesnt let you download it?
Sent from my Vision
if u r good at linux, u can try this guide >>> http://handycodeworks.com/wp-content/uploads/2011/02/linux_versus_android.pdf
I compile linux kernels for desktop, but the android kernel is not the same. Cyanogen team and GOOGLE Android developers provides a comprehensive guide on building ur own ROM. But to build ur own OS, u need to understand each component carefully. I don't know abt android, but i am making Linux OS from scratch. I have kernel compiled, tool chain set up, now i am putting apps on it. But android uses DALVIK VM for Java apps, also .... U refer the pdf it will tell u. Once i finish making this OS, i'll focus on Android ROMS. They r similar to Linux OS, but require patches in kernel, a light c lib, new fs, a different vm (dalvik) and different ways of managing i/o interrupts and much more..
this link is on porting android on nokia >> http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/
this one is on linux on embedded systems >> http://www.lindusembedded.com/blog/2010/12/07/android-linux-kernel-additions/
Also, sorry to say but learn C/C++/Java . To make ROMS, atleast to make modifications and to understand the kernel u'll need C. Not very hard to learn, Good tuts on Lynda.com and other sites. And be good at Linux. Happy Learning

Categories

Resources