Related
Hi,
I'm trying to experiment with making my own build, but for the first instance I'm trying to gain an understanding of how everything is working by working with a current build.
I'm using eclipse in linux with the android sdk etc.
My question relates to running already prepared builds in the emulator. From what I understand in the sdk/platform folder I should be able to place the system.img file from a current build and run it on the emulator, however when I try this the emulator appears to freeze.
What am I doing wrong or missing?
Thanks in advance.
I think i"ll follow this thread pretty closely, i've been wanting to run android on win xp sp3, thru my sdk setup, and would like to know how to as well. Maybe somebody with the proper know-how will be generous enough to post a brief guide, enough to point us noobs in the right direction to get builds running on our pc's. I'd like to be able to use the sdk to troubleshoot, fiddle around, and test a few things out, among other things.
If some kind soul would be willing to post a couple of good links, i'd be willing to read up, give it a go, and do my best at making a guide/tut for running android in the sdk
Sent from my... whatever
huggs said:
I think i"ll follow this thread pretty closely, i've been wanting to run android on win xp sp3, thru my sdk setup, and would like to know how to as well. Maybe somebody with the proper know-how will be generous enough to post a brief guide, enough to point us noobs in the right direction to get builds running on our pc's. I'd like to be able to use the sdk to troubleshoot, fiddle around, and test a few things out, among other things.
If some kind soul would be willing to post a couple of good links, i'd be willing to read up, give it a go, and do my best at making a guide/tut for running android in the sdk
Sent from my... whatever
Click to expand...
Click to collapse
Have you downloaded Eclipse? I can manage to run the SDK platform in the Android Emulator, but for some reason I'm having trouble with modified/custom Roms.
http://developer.android.com/index.html
http://www.eclipse.org/
No, i havent. I thought you could just run android from the sdk. I'll check it out when i get home. Thanks, i'll let u know how it goes as soon as i get it all set up
Sent from my... whatever
huggs said:
No, i havent. I thought you could just run android from the sdk. I'll check it out when i get home. Thanks, i'll let u know how it goes as soon as i get it all set up
Sent from my... whatever
Click to expand...
Click to collapse
You want to download eclipse, then install the ADT, you'll find instructions on the android developers site under the SDK tab, enjoy.
I am about to give rooting a go, but I am struggling desperately with it. I got it all sorted on Windows Mobile 6.5, but android is making my head spin. I have a stock Samsung galaxy S Froyo 2.2. If people can just give me a yay or nay on whether the following steps are correct:
I have found this, one click root tool:
http://forum.xda-developers.com/showthread.php?t=803682
But before I can use it, it is telling me I need the ADB. I found the following link on how to install it:
http://www.addictivetips.com/mobile/...ll-it-android/
In order to
http://www.oracle.com/technetwork/ja...ads/index.html
Following on from that, is it just a matter of downloading the Java SE JDK, then the ADB (Android Development kit) and then using the one click root to finish it all off?
Following on from rooting it, new ROM is it just a matter of downloading & installing them as I would have on Windows Mobile?
Many thanks guys
I don't see what is on oracle.com mayb wrong link...
But if u have instaled ADM and one click root tool you should be ok, it should work.
Just follow the spes in the first post of one click root tool on how to do it and you should be fine.
Many thanks mate!
Guys I have Nexus S i9020T runnig Android version 2.3.4, Baseband version I9020XXKD1, Build number GRJ22. I have looked around a lot and am confused on how to root my phone, is there any simple way of rooting my phone with super user? I run a very old PC so installing the sdk is pretty hard, so could anyone give me a step by step simple tutorial? This is my first Android phone and am a complete noob at this
Did you read the sticky yet?
http://forum.xda-developers.com/showthread.php?t=1007782
It's a step-by-step tutorial and exactly how you should do it.
The SDK shouldn't really be a strain for your PC.
Good luck,
Greetz
You don't need the entire SDK. Grab PDAnet USB divers and then choose to download just the 2.3.3 SDK and Google USB drivers from the SDK. Worked fine for me this way. You don't need all the stuff the SDK wants to install by default.
Sent from my Nexus S using XDA Premium App
frutelaken said:
Did you read the sticky yet?
http://forum.xda-developers.com/showthread.php?t=1007782
It's a step-by-step tutorial and exactly how you should do it.
The SDK shouldn't really be a strain for your PC.
Good luck,
Greetz
Click to expand...
Click to collapse
You dont know how crappy my PC is , its a 384 MB ram and only 30 GB memory, its too slow, is there any other way to root? Btw, I have i9020T.
Gaurav.Stallion said:
You dont know how crappy my PC is , its a 384 MB ram and only 30 GB memory, its too slow, is there any other way to root?
Click to expand...
Click to collapse
No man, you need to use a pc... i guess you will need to be patient...
Sent from my Nexus S using XDA App
thiagodark said:
No man, you need to use a pc... i guess you will need to be patient...
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Will I be able to use this method for my Nexus S running 2.3.4?
http://forum.xda-developers.com/showthread.php?t=895545
Is there any way to root without the SDK? I heard there was some problem with the fast boot oem? People were getting stuck at the Google screen?
Gaurav.Stallion said:
Will I be able to use this method for my Nexus S running 2.3.4?
http://forum.xda-developers.com/showthread.php?t=895545
Is there any way to root without the SDK? I heard there was some problem with the fast boot oem? People were getting stuck at the Google screen?
Click to expand...
Click to collapse
Yes that guide works regardless of what Android version you're using because Android version is not a factor. It's the bootloader.
No, it is impossible to root without the SDK because you have to unlock the bootloader using the SDK. You won't get stuck at the Google screen. People are messing up because they're unable to follow instructions.
zephiK said:
Yes that guide works regardless of what Android version you're using because Android version is not a factor. It's the bootloader.
No, it is impossible to root without the SDK because you have to unlock the bootloader using the SDK. You won't get stuck at the Google screen. People are messing up because they're unable to follow instructions.
Click to expand...
Click to collapse
Dude can you please come on an IM and give me step by step guidance? I'm a total noob, and I reall dont wanna screw up my Nexus cos i cant get it fixed here, i got my nexus sent from U.S.
Gaurav.Stallion said:
Dude can you please come on an IM and give me step by step guidance? I'm a total noob, and I reall dont wanna screw up my Nexus cos i cant get it fixed here, i got my nexus sent from U.S.
Click to expand...
Click to collapse
Everything that you need to know is in that step-by-step guide. What are you having troubles with?
zephiK said:
Everything that you need to know is in that step-by-step guide. What are you having troubles with?
Click to expand...
Click to collapse
I just dont want to make any mistakes, thats why i wanted someone to guide me, I'm very new to this stuff.
Gaurav.Stallion said:
I just dont want to make any mistakes, thats why i wanted someone to guide me, I'm very new to this stuff.
Click to expand...
Click to collapse
I've helped people in this topic many times.
The easiest way I can say is to first download the Android SDK listed in that step-by-step thread. It's not that difficult and you shouldn't be scared to do it. Unless you're flashing something for another model of the phone (such as NS4G) everything should be fixable.
Download http://developer.android.com/sdk/index.html to your respective OS. If its for windows, I know it says recommended for exe but I prefer using the .zip version of it. So download that first if you haven't already.
zephiK said:
I've helped people in this topic many times.
The easiest way I can say is to first download the Android SDK listed in that step-by-step thread. It's not that difficult and you shouldn't be scared to do it. Unless you're flashing something for another model of the phone (such as NS4G) everything should be fixable.
Click to expand...
Click to collapse
Okie I have i9020T, I'll install the SDK tonight, before that i will have to install the JDK, can I PM you if I have any doubts?
Gaurav.Stallion said:
Okie I have i9020T, I'll install the SDK tonight, before that i will have to install the JDK, can I PM you if I have any doubts?
Click to expand...
Click to collapse
Sure, but I can't guarantee that I can respond right away. But if you're able to do it now, that would be the best and I can help you step-by-step to achieve this. It shouldn't take more than ten minutes.
zephiK said:
Sure, but I can't guarantee that I can respond right away. But if you're able to do it now, that would be the best and I can help you step-by-step to achieve this. It shouldn't take more than ten minutes.
Click to expand...
Click to collapse
I downloaded the one which said Recommended, I'll download the other one, I'll be able to install the SDK tonight, anytime you'll be online tomorrow?
Gaurav.Stallion said:
I downloaded the one which said Recommended, I'll download the other one, I'll be able to install the SDK tonight, anytime you'll be online tomorrow?
Click to expand...
Click to collapse
It's afternoon here. I'll be on but I can't promise anything being on XDA because I may be busy. Like I said, right now is the best time if its possible. The exe is fine, you don't have to re-download it but I have no idea where the exe is installing the SDK to.
zephiK said:
It's afternoon here. I'll be on but I can't promise anything being on XDA because I may be busy. Like I said, right now is the best time if its possible. The exe is fine, you don't have to re-download it but I have no idea where the exe is installing the SDK to.
Click to expand...
Click to collapse
I'll post here whenever I'm done installing the sdk, cos my comp and net are really slow, could you just post a reply when you are on? I'll be right back when you post
Gaurav.Stallion said:
I'll post here whenever I'm done installing the sdk, cos my comp and net are really slow, could you just post a reply when you are on? I'll be right back when you post
Click to expand...
Click to collapse
I'm on.. like I said, I don't browse XDA 24/7. You want my help, I'm not going to come looking for you.
If your internet is really slow and you have to download ROMs after rooting. It might be rough on your end because ROMs are at least ~80MB+
zephiK said:
I'm on.. like I said, I don't browse XDA 24/7. You want my help, I'm not going to come looking for you.
If your internet is really slow and you have to download ROMs after rooting. It might be rough on your end because ROMs are at least ~80MB+
Click to expand...
Click to collapse
I'm done downloading the SDK, I am downloading the JDK right now, will install both immediately. I will try the guide, can I PM you if I have any problem, reply whenever you are free, I will wait and could you give me a link or names to the roms I will need? I will keep them on download while I install the SDK.
Gaurav.Stallion said:
I'm done downloading the SDK, I am downloading the JDK right now, will install both immediately. I will try the guide, can I PM you if I have any problem, reply whenever you are free, I will wait
Click to expand...
Click to collapse
Don't know why you're downloading the JDK but okay. Extract it and rename the folder android-sdk-windows-r12 to /sdk/ and place it on the root of your C drive. So it'd be located in C:\sdk\
You need to put your phone into bootloader mode (while phone is off; VOL UP + Power) while plugged in. Do what the instructions say and set up the drivers.
The step-by-step guide is self-explanatory. I don't really want to paraphrase what the guide says because it's pretty simple. Follow the guide you linked earlier and tell me if you experience any problems or have problems understanding what is being asked.
Edit: In part 2, where it says:
switch to the directory where you downloaded & unzipped the ..\android-sdk-windows\tools
Click to expand...
Click to collapse
It'll be cd C:\sdk\tools\
(I rename it to sdk because its easier to type than android-sdk-windows-
Edit 2: In part 2 where it tells you to get clockwork 3.0.0.5, disregard that
download: http://www.mediafire.com/?y3is5c9n5fi1sd6 instead
when you finish downloading it, place it in C:\sdk\tools\
and type:
fastboot flash recovery 4002-orange.img
Click to expand...
Click to collapse
This is a newer version of the Recovery and it should function better.
zephiK said:
Don't know why you're downloading the JDK but okay. Extract it and rename the folder android-sdk-windows-r12 to /sdk/ and place it on the root of your C drive. So it'd be located in C:\sdk\
You need to put your phone into bootloader mode (while phone is off; VOL UP + Power) while plugged in. Do what the instructions say and set up the drivers.
The step-by-step guide is self-explanatory. I don't really want to paraphrase what the guide says because it's pretty simple. Follow the guide you linked earlier and tell me if you experience any problems or have problems understanding what is being asked.
Edit: In part 2, where it says:
It'll be cd C:\sdk\tools\
(I rename it to sdk because its easier to type than android-sdk-windows-
Click to expand...
Click to collapse
I'm downloading the JDK cos when I open the SDK Manager.exe, it gives me an error saying java not found and asks to download the JDK
Hi all,
I just registered on xda after I rooted my Arc yesterday (thank you all for the tutorials).
I've searched for a way to root my Xperia Arc, I've also found 1000 different ways to do it but none could provide me a step-by-step guide to root my Arc on my mac.
Yes, I know it might be strange (some comments, I've seen) to buy an Android phone when you own a mac but I like Android phones. Besides I don't think it is any different from buying an Android phone when you own a PC or to buy an iPhone when you own a PC.
That said, it didn't make it easier for me to root because almost all guides are written for Windows.
My intention is to write a step-by-step guide on how to root on macosx. I figured it would be a better idea to ask:
1. if it has already been done (Maybe my searches were not that good)
2. and if not, if some Arc users need such a guide?
Thank you all for the replies!
People usually just use Windows as attempts at using a MAC usually fail.
From My Arc Running CyanogenMod.7.1
Alright, so not worth it?
I know you can run a VM to run all necessary programs but assuming you can't run Windows (no CD), you're kinda stuck.
It would obviously help those with a Mac, but I think this would also require some Dev input which is why most people give up and end up using Windows.
From My Arc Running CyanogenMod.7.1
Oh yes, I know and I wasn't actually referring to myself, DooMLoRD made a bash script to root on Mac OSx.
I just wanted to detail the steps I've done to root my Arc on Mac OSX in a more comprehensive way for noobs (like myself) and credit the members (like DooMLoRD) for their work.
It's just because as a noob when you search on the forum for a way to root on MacOSX, you find yourself with ton of advice but no tutorials like on Windows.
I'm certainly not an expert in this, but can't you boot Linux from a disk or flash drive and root it using Linux?
You just made my life easier, Linux I can run, I wasn't aware of the possibility. I figured if there weren't any for MacOSX, it was the same on Linux. Thank you very much! I'll drop the idea of the guide and try to learn a bit more instead
I'd still do a guide for people, that way at least we can link people to it who need it.
From My Arc Running CyanogenMod.7.1
Where should I post this "guide"?
This would be great guide actually since I'm also a mac user but it always pains me to go back to using windows for certain tasks lol
laual said:
Where should I post this "guide"?
Click to expand...
Click to collapse
In the General section.
Hi guys.
With one guy, who doesn't have Huawei phone, we try to debug why 3.10.90 isn't booting, but logcat seems that everything is okkey, and cat /proc/kmsg and other adb shell commands gives errors. So I try go get a help, could someone upstream the following kernel (3.10.89) to 3.10.90 and make it bootable too ? I tried it for 4 days, modifying ramdisk, etcetc... nothing worked... couldn't debug cuz adb shell wasn't working(i mean it was working, but next commands weren't, i even installed adb insecure ap, usb debugg on etc).
@XTutorials @surdu_petru @haky 86 @XePeleato(if you know somehow ) @DingDongPow or others. Thanks!
https://ufile.io/rvlmk (why no github ? 1. ffs can't even upload it there 2. only when i finish the upstreams)
You must learn to crawl before you can walk.
In the first place you are debugging userspace when the change you made was in the kernel, obviously you aren't catching the error, whatever it is.
Brian Kernighan said:
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Click to expand...
Click to collapse
In this case if you don't understand the code, you are obviously not going to be able to debug it.
Spend some time familiarizing yourself with the kernel, it's the only way to learn.
DingDongPow said:
Soo what do you want me to do fam?
(I don't use linux anymore soo i doubt i can really help)
Click to expand...
Click to collapse
I knew you can't help me, i just tagged you.
@dominj97
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
D1stRU3T0R said:
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
Click to expand...
Click to collapse
XePeleato said:
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
Click to expand...
Click to collapse
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Can you post it here? Any picture or log of that error?
D1stRU3T0R said:
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Click to expand...
Click to collapse
tried to delete that file, more errors...
https://m.imgur.com/a/Tw9VI
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
D1stRU3T0R said:
tried to delete that file, more errors...
Click to expand...
Click to collapse
XePeleato said:
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
Click to expand...
Click to collapse
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
D1stRU3T0R said:
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Click to expand...
Click to collapse
XePeleato said:
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
Click to expand...
Click to collapse
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
D1stRU3T0R said:
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Click to expand...
Click to collapse
XePeleato said:
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
Click to expand...
Click to collapse
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
You mean this guy????
XePeleato said:
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
Click to expand...
Click to collapse
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
D1stRU3T0R said:
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
Click to expand...
Click to collapse
What do You need? Maybe i can help you!
RootingPro-18 said:
What do You need? Maybe i can help you!
Click to expand...
Click to collapse
Nothing right now... No kernel is working how much i would like. I'm using esal right now, but sadly can't be upstreamed to 3.10.90 due to errors at boot. Hakys new kernel has system problems, etcetc