[Q] Compile fastboot for windows - XPERIA X10 Q&A, Help & Troubleshooting

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.

Related

[DEV] 2nd-init Compiled and Running

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

[SOLVED] How to use ADB

Hello,
I'm trying to toggle setting using adb, e.g. turning on/off wifi. The problem is that I don't know how to do it . Can You help me???
try this:
http://forum.xda-developers.com/showthread.php?t=502010
if it doesnt help then just search
http://www.google.com/cse?q=&sa=Sea...fs7umqefhnf&ie=ISO-8859-1#gsc.tab=0&gsc.q=adb
AdX9170 said:
try this:
http://forum.xda-developers.com/showthread.php?t=502010
if it doesnt help then just search
http://www.google.com/cse?q=&sa=Sea...fs7umqefhnf&ie=ISO-8859-1#gsc.tab=0&gsc.q=adb
Click to expand...
Click to collapse
Nope, that didn't help. Those are only noobie stuff, which I already know.
Are u trying to do something specific or u just want to learn adb? (i only ask as i trying to learn how to use it myself)
Sent from my X10i using XDA
laneyofdeath said:
Are u trying to do something specific or u just want to learn adb? (i only ask as i trying to learn how to use it myself)
Sent from my X10i using XDA
Click to expand...
Click to collapse
I'm trying to do something specific. I want to learn how to change setting using adb, without unlocking the phone and navigationg to those settings with keyevents. For example I would like to mount usb storage while the X10 is locked, or turn on wifi etc. I think we should use some code from the settings.apk but I don't know how the code should look like. I already can all of the basics like copying files, installing apps and so on.
Ok, found it. If You also want to know how to do it PM
requesting info, getting it and then not sharing it publicly so others can access it from search is not generally considered a nice move. please appreciate the fact that others might want to have the same information. For this, the forum is build. PM is for private stuff.
If you have other reasons, not to share, please feel free to tell us so. Thank you.
Sneakyghost said:
requesting info, getting it and then not sharing it publicly so others can access it from search is not generally considered a nice move. please appreciate the fact that others might want to have the same information. For this, the forum is build. PM is for private stuff.
If you have other reasons, not to share, please feel free to tell us so. Thank you.
Click to expand...
Click to collapse
WOW, that's an old stuff, which already forgot. But after few minutes of thinking I remember it
The code to enable wifi is:
HTML:
adb shell "svc wifi enable"
jakuburban said:
WOW, that's an old stuff, which already forgot. But after few minutes of thinking I remember it
The code to enable wifi is:
HTML:
adb shell "svc wifi enable"
Click to expand...
Click to collapse
why i'm getting "killed" error after executing this command?

[Q] Setting up Development environment

Hi all,
I'm trying to setup an Android development environment on Linux (Ubuntu)
The instructions I follow atm you can find HERE
I've downloaded and unpacked the Android SDK but trying to install I'm stuck.
It's probably very easy but for me coming from MS Windows I need to get used to all these new terms and commands. :cyclops:
The tutorial clearly explains the following:
'On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk.'
I've opened a terminal venster but how do I execute?
Sorry for my very noobish question but any help would be highly appreciated.
Grtz, Leo
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
That will help me a few steps ahead again, great tut, thanks a lot!
thewadegeek said:
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
Like three entries down in the search engine...
Click to expand...
Click to collapse
No prob.
Out of curiousity (author here), did the steps work out easily or did anything need updating?
lowazo said:
Out of curiousity (author here), did the steps work out easily or did anything need updating?
Click to expand...
Click to collapse
I think he accidentally the while thing. I could be wrong though.
lithid-cm said:
I think he accidentally the while thing. I could be wrong though.
Click to expand...
Click to collapse
From here on out, I'm putting disclaimers on everything.

Does CyanogenMod (9 or 10) support Bluetooth Apt-X codec?

As in the thread... I already have Apt-X enabled headphones, and I'm thinking of getting SGSIII but CM is crucial feature for me. Maybe someone could confirm it?
rodak69 said:
As in the thread... I already have Apt-X enabled headphones, and I'm thinking of getting SGSIII but CM is crucial feature for me. Maybe someone could confirm it?
Click to expand...
Click to collapse
aptx is proprietary, one have to pay to use it, hence CM will not include it, which leads us to ask, which kind soul have ripped the codec and kindly placed in a CWM zip in anonymous site for all to download???
cx5 said:
aptx is proprietary, one have to pay to use it, hence CM will not include it, which leads us to ask, which kind soul have ripped the codec and kindly placed in a CWM zip in anonymous site for all to download???
Click to expand...
Click to collapse
Hi
are you saying there is such a CWM zip out there?
Thanks
beng
BenG7 said:
Hi
are you saying there is such a CWM zip out there?
Thanks
beng
Click to expand...
Click to collapse
So sorry, NO.
I am asking if some kind soul did it. .
cx5 said:
So sorry, NO.
I am asking if some kind soul did it. .
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=45831034?
@ BenG7, thanks for links with instructions of : -
Could it be as simple as extracting:
- libbluetooth_jni.so (?),
- libbt-aptx-4.0.3.so,
- libbt-codec.so (?),
- libbt-codec-aptx.so
from /system/lib from the default rom
and copy these into the /system/lib of the desired rom with the same permissions?
Have you tried it?
or do you want me to try it? I don't know how, but I will study your instructions in much more detail and reply later. I doubt I can make it work, not only am I not computer programming coding literate, but am also busy with work.
Still, it's great advice / tips.
cx5 said:
@ BenG7, thanks for links with instructions of : -
Could it be as simple as extracting:
- libbluetooth_jni.so (?),
- libbt-aptx-4.0.3.so,
- libbt-codec.so (?),
- libbt-codec-aptx.so
from /system/lib from the default rom
and copy these into the /system/lib of the desired rom with the same permissions?
Have you tried it?
or do you want me to try it? I don't know how, but I will study your instructions in much more detail and reply later. I doubt I can make it work, not only am I not computer programming coding literate, but am also busy with work.
Still, it's great advice / tips.
Click to expand...
Click to collapse
No I haven't tried yet, to be honest I want to be cautious and gather all the information I can get before I try as I am no developer. Don't try either, look here, it's already been tested:http://forum.xda-developers.com/showthread.php?p=45831034
but surely there must be some developer tool that could allow to track these pointers, I am investigating the point
Thanks
beng

[Q] Help Please- 70b Internet Tablet-What SDE or ROM to use

Hello Everyone,
I am not new to flashing.
I have an Archos 70b IT.
I have the newest Honeycomb firmware on it.
The SDE from Archos for Gen8 or Gen9 does not work.
I keep getting Update Failed 1 error.
So if someone has this tablet, how did you update it to ICS???
How do I root this thing?
The Specs for the 70b vs. the 70
http://www.arctablet.com/blog/archos-tablet/archos-70b-it-review-part-1-introduction/
***funny note- Archos has this tablet listed under Gen9 in the firmware downloads section. I spoke to their Tech Support and they said it is a Gen8 device. They said there is a JB unit called the 70 Titanium that will be released soon.
Can someone help me here please.
I can't get ADB to work.
Can you tell me what you did or send me the files you are using for ADB?
I would like to root this unit or better put ICS on it.
droiduzr2 said:
Can someone help me here please.
I can't get ADB to work.
Can you tell me what you did or send me the files you are using for ADB?
I would like to root this unit or better put ICS on it.
Click to expand...
Click to collapse
Hi.
Have you tried to see letama thread about sde for it2 honeycomb?
And see archos website to have adb?
You can have root only on your tab.
All others gen8 systems are not compatible with your tab.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
Hi.
Have you tried to see letama thread about sde for it2 honeycomb?
And see archos website to have adb?
You can have root only on your tab.
All others gen8 systems are not compatible with your tab.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Yes, I tried to follow Letama directions. I just can't get ADB to work.
Can you send me your ADB files and USB.inf and Android.inf (I think there is an Androidusb.inf)
If someone can provide me their ADB files that would be great.:good:
droiduzr2 said:
Yes, I tried to follow Letama directions. I just can't get ADB to work.
Can you send me your ADB files and USB.inf and Android.inf (I think there is an Androidusb.inf)
If someone can provide me their ADB files that would be great.:good:
Click to expand...
Click to collapse
3 seconds with google search:
http://www.archos.com/support/support_tech/updates_adb.html?country=gb&lang=en
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
3 seconds with google search:
http://www.archos.com/support/support_tech/updates_adb.html?country=gb&lang=en
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
I tried that, did not work for me.
IT shows up as a Samsung phone under ADB heading.
When I do ADB devices, nothing shows up.
droiduzr2 said:
I tried that, did not work for me.
IT shows up as a Samsung phone under ADB heading.
When I do ADB devices, nothing shows up.
Click to expand...
Click to collapse
Maybe have you got any other drivers installed on your computer.
If yes try to uninstall it(s) and retry.
Bizcuite
bizcuite said:
Maybe have you got any other drivers installed on your computer.
If yes try to uninstall it(s) and retry.
Bizcuite
Click to expand...
Click to collapse
Hey,
I am not new to this.
I just can't seem to get ADB to recognize this thing.
I would really appreciate if you can send me your ADB files then.
PM me your email address and I will share my dropbox with you for you to put the files in or just zip them and email them back.
I have been trying for some time now but the tablet is just sitting there.
So if you can send me the files, that would be much appreciated.
droiduzr2 said:
Hey,
I am not new to this.
I just can't seem to get ADB to recognize this thing.
I would really appreciate if you can send me your ADB files then.
PM me your email address and I will share my dropbox with you for you to put the files in or just zip them and email them back.
I have been trying for some time now but the tablet is just sitting there.
So if you can send me the files, that would be much appreciated.
Click to expand...
Click to collapse
I use adb for ubuntu and i had installed with the how to from archos website.
You need windows files no?
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
I use adb for ubuntu and i had installed with the how to from archos website.
You need windows files no?
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Yes. I have have windows 7.
I do have a Linux Mint 14 in Vmware.
If you can provide me with files and basic info I can go from there.
Thanks for your help.
Looking forward to getting ICS on this.
I need ADB to work to flash new ICS ROM, correct???
droiduzr2 said:
Yes. I have have windows 7.
I do have a Linux Mint 14 in Vmware.
If you can provide me with files and basic info I can go from there.
Thanks for your help.
Looking forward to getting ICS on this.
I need ADB to work to flash new ICS ROM, correct???
Click to expand...
Click to collapse
Huuuum, i have just read the archos website to have adb. I will not share files then you can make your files yourself with archos website....
Please try again with linux. Or try to change the usb cable(their cable is very bad in quality) and verify that you have activated the adb in android parameters.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
bizcuite said:
Huuuum, i have just read the archos website to have adb. I will not share files then you can make your files yourself with archos website....
Please try again with linux. Or try to change the usb cable(their cable is very bad in quality) and verify that you have activated the adb in android parameters.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Wow man, you are just way too helpful.
This site is for people to help each other or so I thought.
I clearly told you that I tried a few times to do it and I could not get it to work. You have the file that can help me get things up and running but you rather not help out.
Whatever man, keep it.
KARMA!
This Archos section is the least helpful section of XDA that I have encountered thus far. This does not HELP promote getting more people to use or support these devices.
You should do yourself a favor and see how the Samsung community helps each other e.g. this section http://forum.xda-developers.com/showthread.php?p=41185753#post41185753
http://forum.xda-developers.com/showthread.php?p=41108791#post41108791
droiduzr2 said:
Wow man, you are just way too helpful.
This site is for people to help each other or so I thought.
I clearly told you that I tried a few times to do it and I could not get it to work. You have the file that can help me get things up and running but you rather not help out.
Whatever man, keep it.
KARMA!
Click to expand...
Click to collapse
I will not share you a file that you can make by a simple command.
For Linux users only: You need to add a udev rule if ADB only works as root:
Create a file /etc/udev/rules.d/51-android.rules that contains the following lines:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="e79/*", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="e79", MODE="0666"
Make the rule known to udev with the following command:
udevadm control --reload-rules (or udevcontrol reload_rules on older systems)
Click to expand...
Click to collapse
And your topic has been seen 280 times, i am alone to answer....
There aren't idiots questions, only idiots guys....
Stay in your sh*t.
Bizcuite
bizcuite said:
I will not share you a file that you can make by a simple command.
And your topic has been seen 280 times, i am alone to answer....
There aren't idiots questions, only idiots guys....
Stay in your sh*t.
Bizcuite
Click to expand...
Click to collapse
I don't use Linux.
Not interested in learning something else.
I will just sell this crap and buy another Galaxy Tab which is much better.
Problem solved.
U have to calm down. I was asking so many questions before like "I dont use linux blabla" and then Divx told me "mavasilisk is afraid of learning new things" and I started to find the answers myself. Its not only about the linux, dude.
Mavasilisk said:
U have to calm down. I was asking so many questions before like "I dont use linux blabla" and then Divx told me "mavasilisk is afraid of learning new things" and I started to find the answers myself. Its not only about the linux, dude.
Click to expand...
Click to collapse
Thanks for taking your valuable time to tell me something that is not helpful.
Have a good day!
droiduzr2 said:
Thanks for taking your valuable time to tell me something that is not helpful.
Have a good day!
Click to expand...
Click to collapse
Have you ever though that he cant send you it because of the compatibility? He told you to do it in linux but you stil flame him about that and wanna do it in Windows. You wanna help or you want not to do anything and thing get fixed itself? The help comes - sell it.
Mavasilisk said:
Have you ever though that he cant send you it because of the compatibility? He told you to do it in linux but you stil flame him about that and wanna do it in Windows. You wanna help or you want not to do anything and thing get fixed itself? The help comes - sell it.
Click to expand...
Click to collapse
You don't know what you are talking about.
But let's test your point out.
What can YOU do to help with WINDOWS 7 and the ADB files I need?
...
anyone else with an answer to this problem?
I dusted off the tablet to have a look again.

Categories

Resources