Related
I have been trying to run Ubuntu/debian/backtrack distros on ACE. However I have been getting a segmentation fault error for a busybox chroot command in the scripts.
There is a related thread in these forums if anyone is interested, but unfortunately no solution.
http://forum.xda-developers.com/showthread.php?t=1079898
I am just curious to see if anyone here was successful doing it and if so how. Many users have a similar problem and I have gone through lot of general suggestions given in the above thread, but none of them solved my problem. So just trying my luck here to see if anyone else is interested to get one of those distros running on ACE.
If it can make coffee when succesfull...im interested.
Cheers
progress?
Hi Sandred
Did you find out any more in the end? I had the exact same problem with my Galaxy Ace when trying to install BT5.
If you look on rumah-android.com/install-backtrack-5-linux-on-android.html it seems to show it working on an ACE but I haven't tried using debdroid yet. I'll let you know if I do ever get it working though..
Marcus
marcusdw said:
Hi Sandred
Did you find out any more in the end? I had the exact same problem with my Galaxy Ace when trying to install BT5.
If you look on rumah-android.com/install-backtrack-5-linux-on-android.html it seems to show it working on an ACE but I haven't tried using debdroid yet. I'll let you know if I do ever get it working though..
Marcus
Click to expand...
Click to collapse
Marcus,
If you are referring to second image on the above site, it is not ACE. It is Samsung Galaxy something (if you look at left corner of the image, you see a camera/sensor on front left side of the phone) which is not Ace.
Anyways I was not successful running any distribution at all. I have even tried laika linux. The problem is with busybox which itself is segment faulting. Updating to latest greatest version did not help either. I changed different kernels on our phone and it did nothing. I have tried entering all the commands one by one , everything is ok until chroot command, where it just breaks.
I do not think debdroid app will help either, though I have not yet tried it.
I have not yet given up yet, I will keep trying when ever I get time and keep this thread posted. Thanks for asking.
sandred said:
Marcus,
If you are referring to second image on the above site, it is not ACE. It is Samsung Galaxy something
Click to expand...
Click to collapse
How about "S"?
I got it working on my phone. Just follow post #94 in the link given below:
http://forum.xda-developers.com/showthread.php?t=723493&page=10
phoenix2241987 said:
I got it working on my phone. Just follow post #94 in the link given below:
http://forum.xda-developers.com/showthread.php?t=723493&page=10
Click to expand...
Click to collapse
Would it be too much to ask for a video? I'd really like to see that on ace before deciding if i'm goin' for it!
Thanks in advance!
Ubuntu working on SGA
QNBT said:
Would it be too much to ask for a video? I'd really like to see that on ace before deciding if i'm goin' for it!
Thanks in advance!
Click to expand...
Click to collapse
Here goes, a short demo. Recorded this using screencast application in droid explorer.
http://www.youtube.com/watch?v=wCesfuEXAZI
phoenix2241987 said:
Here goes, a short demo. Recorded this using screencast application in droid explorer.
http://www.youtube.com/watch?v=wCesfuEXAZI
Click to expand...
Click to collapse
Thank you! I'm sure that the recording fps is pretty low, so how smooth does it actually run on a ace?
phoenix2241987 said:
I got it working on my phone. Just follow post #94 in the link given below:
http://forum.xda-developers.com/showthread.php?t=723493&page=10
Click to expand...
Click to collapse
thanks, it's working now
phoenix2241987 said:
I got it working on my phone. Just follow post #94 in the link given below:
http://forum.xda-developers.com/showthread.php?t=723493&page=10
Click to expand...
Click to collapse
Thanks a lot phoenix2241987, I got Ubuntu working following the above link!
Except I had to change the script a little bit to make it work on mine. I am attaching the script I modified if in case somebody needs it.
(Actually only this image works, other images of backtrack and laika do not work following the same method/script)
I was able to do a tightVNC session from PC and open up a full screen desktop. Firefox is not bad either, it is fast enough to browse text based sites.
Thanks a lot!
QNBT said:
Thank you! I'm sure that the recording fps is pretty low, so how smooth does it actually run on a ace?
Click to expand...
Click to collapse
Pretty smooth, I should say.. There is a very slight lag, but that shouldn't be a problem. Btw, I'm using the supercharger script. I guess it runs smooth because of that.
And just after running the shell script, when you get the "[email protected]:" prompt, type " vncserver -geometry 480x320" . And in android vnc viewer use port 5902. This will make sure that the resolution fits your screen.
Also use input method as "Touchpad", in vnc viewer settings.
And once you have opened the GUI using vnc viewer, you can close the terminal emulator to free up ram. I found that the GUI runs smoother if you do that. You can use the vnc viewer to bring up the GUI anytime you want, until the next reboot, since ubuntu runs in the background even after you exit from the terminal emulator.
The downside is that you cannot mount your sdcard in your pc, once you have booted up ubuntu. You will have to reboot to get it connected. I guess this is because the ubuntu image is mounted on one of the loop devices manually.
sandred said:
Thanks a lot phoenix2241987, I got Ubuntu working following the above link!
Except I had to change the script a little bit to make it work on mine. I am attaching the script I modified if in case somebody needs it.
(Actually only this image works, other images of backtrack and laika do not work following the same method/script)
I was able to do a tightVNC session from PC and open up a full screen desktop. Firefox is not bad either, it is fast enough to browse text based sites.
Thanks a lot!
Click to expand...
Click to collapse
I see you have modified the loop device #. I had to do that too, since all my loop devices [dm-0 to dm-7] were already mounted upon by some other applications installed on my phone. I had to uninstall one of them, to free up the loop device [in my case, dm-7], and change the script accordingly.
It would be cool if we could get some other OS running too.. Windows, for instance . But i guess that wouldn't be possible, due to the linux architecture of android. But who knows, some day, someone might change the bootloader, and get it to boot as the native OS, instead of running it as a virtual machine.
phoenix2241987 said:
I see you have modified the loop device #. I had to do that too, since all my loop devices [dm-0 to dm-7] were already mounted upon by some other applications installed on my phone. I had to uninstall one of them, to free up the loop device [in my case, dm-7], and change the script accordingly.
It would be cool if we could get some other OS running too.. Windows, for instance . But i guess that wouldn't be possible, due to the linux architecture of android. But who knows, some day, someone might change the bootloader, and get it to boot as the native OS, instead of running it as a virtual machine.
Click to expand...
Click to collapse
maybe windows phone but not windows at least until microsoft port it to RISC with windows 8.
Sent from my GT-S5830 using XDA App
phoenix2241987 said:
Pretty smooth, I should say.. There is a very slight lag, but that shouldn't be a problem. Btw, I'm using the supercharger script. I guess it runs smooth because of that.
And just after running the shell script, when you get the "[email protected]:" prompt, type " vncserver -geometry 480x320" . And in android vnc viewer use port 5902. This will make sure that the resolution fits your screen.
Also use input method as "Touchpad", in vnc viewer settings.
And once you have opened the GUI using vnc viewer, you can close the terminal emulator to free up ram. I found that the GUI runs smoother if you do that. You can use the vnc viewer to bring up the GUI anytime you want, until the next reboot, since ubuntu runs in the background even after you exit from the terminal emulator.
The downside is that you cannot mount your sdcard in your pc, once you have booted up ubuntu. You will have to reboot to get it connected. I guess this is because the ubuntu image is mounted on one of the loop devices manually.
Click to expand...
Click to collapse
That is a pain, it would actually be "better" if we would chose to boot up as ubunto at the startup, that would be awesome.
Thanks for the info!
sandred said:
Thanks a lot phoenix2241987, I got Ubuntu working following the above link!
Except I had to change the script a little bit to make it work on mine. I am attaching the script I modified if in case somebody needs it.
Click to expand...
Click to collapse
I got it working using sandred's modded chubuntu script in combination of this method:
http://forum.xda-developers.com/show...723493&page=10
The problems that it's pretty laggy when I use it. The quality of the color is really low as well.
QNBT said:
The problems that I cant chose the reslution, how do i do that? And it's pretty laggy when I use it. Should the color be good or should it be that low quality?
Click to expand...
Click to collapse
After running the shell script, when you get the "[email protected]:" prompt, type " vncserver -geometry 480x320". I used 480x320 because its the resolution of our galaxy ace, and it fits the screen nicely. You can use any other resolution you want, just put them in place of "480x320". And in android vnc viewer use port 5902.
Regarding the color depth, I use 24 bit, and it runs smoothly. If you have lag, use lower settings, although it will reduce the quality of display. You can change the color settings on the connect screen of the vnc viewer. There is a list-box named "color format".
phoenix2241987 said:
After running the shell script, when you get the "[email protected]:" prompt, type " vncserver -geometry 480x320". I used 480x320 because its the resolution of our galaxy ace, and it fits the screen nicely. You can use any other resolution you want, just put them in place of "480x320". And in android vnc viewer use port 5902.
Regarding the color depth, I use 24 bit, and it runs smoothly. If you have lag, use lower settings, although it will reduce the quality of display. You can change the color settings on the connect screen of the vnc viewer. There is a list-box named "color format".
Click to expand...
Click to collapse
I was so eager that i exited terminal before that text showed up, but for some reason ubuntu still starts up as a bigger resolution after typing those commands. Oh and 5902 doesnt work, only 5901.
OH, nvm! It works now, gonna reboot and start over again then check if it laggs!
For some reason i can only chose "No Pan, Trackball Mouse" Since we have no trackball im unable to move the cursor. Any solution to that?
edit: stupid me, had it on fit screen so..... works now thanks for all the help!
I am extremely new to the world of smartphones and shell commands and tar files, etc. I'm looking for recommendations of websites, online videos, anything like that to learn as much a possible about not only Android but also writing scripts and knowing what the difference is between ROM and RAM and why it's called a kernel, writing code, stuff like that. I made a pretty cool weather app with Tasker and Zoom that I get a generic xml weather report for that is suppose to come from a soap request but I can't figure out how to generate one. I downloaded nusoap to my phone but can't figure out how to install it using Android terminal emulator. Is there an alternative to T.E. I could use? It constantly telling me "permission denied" is very frustrating. Currently no computer so please make sure any advice is phone friendly. And any help with terminal emulator would be beyond great. But please keep it as simple as possible and pretend I'm 4 years old. I'm not kidding. Sorry this is sooooo long, it's my first post and this is about a quarter of what I wanted to ask. Thank you very much in advance.
The only help I can give you is don't be afraid to search google. Out of 7 billion people, atleast 1 other person would have had the same problem
For me was pretty simple: get to know your phone (use the subforuns to find yours) > get to know android on your phone > start experimenting.
And read, read, read!
I need input on if I should keep everything as is or change it to this kind of menu
Code:
Press 1 to root
Press 2 to add gApps
Press 3 to replace system components
I personally like how it is now but want public opinions.
I personally felt that it was fine as is, very simple and straightforward however, if you could make the Root script Unroot too, that would be interesting. Though i have no wants to unroot so i do not know how the process differs from rooting it (i.e. is doable through batch files) so it is even capable of being done that way. My 2 cents for what they are worth.
Also, do not take this as it can't be improved upon as everything can, however even if you didn't it would be fine as is.
xToxicInferno said:
I personally felt that it was fine as is, very simple and straightforward however, if you could make the Root script Unroot too, that would be interesting. Though i have no wants to unroot so i do not know how the process differs from rooting it (i.e. is doable through batch files) so it is even capable of being done that way. My 2 cents for what they are worth.
Also, do not take this as it can't be improved upon as everything can, however even if you didn't it would be fine as is.
Click to expand...
Click to collapse
I already released a unroot one click app. :|
I think it's fine as is. It's easy enough to understand, once you get everything working properly.
I love the root script it eliminated some force close issues on my device. I was wondering since roms are not avaiable if their could be custom scripts. Maybe a super custom script with three keyboard choices a choice of launchers replaced stock email, stock keyboard,gallery, wallpapers, homecatcher and other enhanced apps. I don't know if this is a direction you want to go just throwing it out there. It might help some new users. Also I dont know if its possible to have shortcuts like any cut has incorperated for debug keyboard and application menus that are hidden. Again just thinking outloud so if this sounds like a big pile of suck please just ignore and move on.
yaggermr said:
I love the root script it eliminated some force close issues on my device. I was wondering since roms are not avaiable if their could be custom scripts. Maybe a super custom script with three keyboard choices a choice of launchers replaced stock email, stock keyboard,gallery, wallpapers, homecatcher and other enhanced apps. I don't know if this is a direction you want to go just throwing it out there. It might help some new users. Also I dont know if its possible to have shortcuts like any cut has incorperated for debug keyboard and application menus that are hidden. Again just thinking outloud so if this sounds like a big pile of suck please just ignore and move on.
Click to expand...
Click to collapse
When I ran the script, the last part of nookandzergy that put on a custom keyboard didn't work. So I just reset and did the root with saying no to custom keyboard and it worked fine.
I like your idea. I ran the script in the original thread and it said it was successful. But the android market is hinky. It took dforever to register my device, and now it crashes as soon as it is launched. I did a factory reset, still have the same problem. Is there a way to tell for sure that the root was succesfu,. Thanks btw for your hard work on this. It is greatly admired.
Would it help resolve the driver issue that a lot (me) have had?
Dude thats strictly a windows problem. I swear, trying to get this thing detected properly on windows 7/xp was one of the most frustrating adroid rooting experiences I've ever had. After 3 hours f screwing around with the windows method, I switched to Ubuntu linux and had it rooted in 30 min.
I thought you script was fine as is, this is my first Android device and first experience Rooting and everything seems to be working fine. Thanks
Indirect said:
I need input on if I should keep everything as is or change it to this kind of menu
<snip>
I personally like how it is now but want public opinions.
Click to expand...
Click to collapse
Spoken like a true developer. You craft a thing of beauty and continue to be drawn to making it even cooler.
I don't know if you should rewrite the script or not but I like your attitude!
I decided to not rewrite it to have a numbered menu as that wouldn't go with my idiot pproof batch scripting habits so instead, I added new features yesterday and today.
Sent by breaking the sound barrier
I think it is working great
First of all - sorry for posting it here, i don't mean to be in your face, it's just all discussions about this topic in other threads or posts went nowhere and i also think it didn't get enough attention from the developers. So, i just wanted to start a new thread dedicated to just this feature, since i believe this is one of the most useful features which is somehow got missed in these devices.
I'm talking about the ability to use GP5 to make calls though and answer calls from other devices through bluetooth. I think it's nuts that Samsung didn't implement this feature in these players, since most if not all top range mp3 and media players from this manufacturer in the last 5-6 years have had this feature (my pretty basic 4 year old samsung mp3 player can do this easily). Some people wonder why i care about this, but in my opinion it is a killer feature, which really opens up so many different possibilities to these devices. Tablets with 3g and 4g are reasonably cheap these days, so more and more people buy them. When you have one of them, you naturally think about a possibility of making calls through it. I'm one of such people, i have a 10" 3g tablet and i would like to be able to call through it using my GP5.
I participate in 5-6 different forums dedicated to these devices (mostly european sites) and i see requests and questions from people about this feature almost on daily basis. I think there are hundreds of people out there who would love to have it in their GPs. What i know is that the new GP 3.6 and 4.2 have it and the older ones 4.0 and 5.0 don't. So, i'm begging you, somebody, please make a ROM with this feature! I have no experience in programming for Android, but i think it should be very easy to take code or a library or whatever it is from one device and put it into another, since all these players have pretty much the same hardware (to my knowledge).
Thank you for your attention.
I you can link to a 3.6 or 4.2 rom that I can pull from (can be stock, custom or whatever), I can possibly integrate it into my next release, although I give no promises. Also, as this is development, and this is slightly off topic, I recommend that you change your post tags to [Discussion][4.0, 5.0 US+INTL]Enabling handsfree calling, so that people understand that this is a discussion, not some random person begging for a feature.
Thanks for your reply, i'll have a look for such rom.
Ok, i've changed the tags of this thread. Thanks.
Thanks! I also meant the tags in the thread name, not the actual thread tags. I never use them, so I forgot .
Right, that's what i thought at first, but i see no way to change the name of the thread, unfortunately.
Right, that's what i thought at first, but i see no way to change the name of the thread, unfortunately.
Click to expand...
Click to collapse
Edit the first post and click on the button called go advanced. Its at the top of the page
Sent by my Robot Butler
ok, Mars11_ on this forum pointed me here ->source codes for samsung players, plus he also offered to get any files from his unrooted GP 3.6. Would any of this be of any help?
Supermaster34 said:
Edit the first post and click on the button called go advanced. Its at the top of the page
Sent by my Robot Butler
Click to expand...
Click to collapse
great, thanks for the tip, done.
Thanks for the link! I will try and play around with some of the stuff included and see if I can come up with something. It may be just as simple as installing an apk...
Or maybe swapping bt libs would be all it takes.
Sent using Tapatalk
hanthesolo said:
Thanks for the link! I will try and play around with some of the stuff included and see if I can come up with something. It may be just as simple as installing an apk...
Click to expand...
Click to collapse
oh, sweet, i'm all itching in anticipation! thanks mate!
this means the phone features also needs to be activated because it goes hand in hand im not a dev but im sure its more than installing an apk. i think this will also require some framework changes. also activating the sip calling feature will be very exciting as our SGP can sync contacts as well this can be done in galaxy note by just adb pushing some files to system dir and activating the hands free profile in htc flyer is as simple as editing the build.prop so im sure this is doable but we need to call in the attention of devs :good:
Bad news guys, the uncompiled image didn't help, and I was unable to open the .img that I pulled from a 3.6 rom. Could someone pull their entire /system directory (apply this terminal command: dd if=/dev/block/systemname of=/sdcard/factoryfs.rfs), and then pull it off their sdcard (internal) and upload it here (tar or zip it if you need to). I do not believe root is required for that, and I am able to access .rfs files to edit them. You can find the name of your system partition by punching in "mount" in the terminal and then finding /system in the output, and recording the partition name that follows (eg. my system partition on my 4.0 is /dev/block/stl9).
I was tinkering with my sgp amd found this if this might be of any help
Sent from my YP-G70 using xda app-developers app
Ok, I've just sent an email to Mars11_, who's recently offered his help with extracting files from his SGP 3.6 in this thread: http://forum.xda-developers.com/showthread.php?p=28558588#post28558588
I asked him to come here and follow your instructions. He's our only hope right now.
Got responce from Mars11_ that's what he said: "Okay, so I've run the commands Hanthesolo had, but I didn't have read access to /dev/block/mmcblk0p8 . So I need root, and second, I can't post in the Android Dev yet, as I don't have 10 or more posts. "
Well, hat pretty much means that I can't pull anything together untilthe 3.6 gets root (I guess I could create a guide for that, but I don't have a 3.6, and I cannot exract anything from it's .img images). Sorry about that, but as soon as a /systm dump is uploaded, I will get on it. A last ditch attempt may be to use adb, but I think that you must have root to get su access from it as well. Perhaps you can boot into stock recovery and adb push the superuser binary and apk, that is, if the stock recovery supports adb, as I believe /system is mounted as rw in recovery. Perhaps a signed update.zip that only has superuser? I dunno, just some theories for 3.6 devs.
Mate, you have absolutely nothing to appologise for, you've done everything you could. I'm grateful for you desire to work on this. I guess we'll just have to be patient and wait for the 3.6 to be rooted Thank you.
Well, thanks for giving me a project to work on, because my sumer has just about fizzled out! I look forward to working on this while I wait for my Nexus 7 to arrive, and with it some more time-consuming hobbies .
hanthesolo said:
Well, hat pretty much means that I can't pull anything together untilthe 3.6 gets root (I guess I could create a guide for that, but I don't have a 3.6, and I cannot exract anything from it's .img images). Sorry about that, but as soon as a /systm dump is uploaded, I will get on it. A last ditch attempt may be to use adb, but I think that you must have root to get su access from it as well. Perhaps you can boot into stock recovery and adb push the superuser binary and apk, that is, if the stock recovery supports adb, as I believe /system is mounted as rw in recovery. Perhaps a signed update.zip that only has superuser? I dunno, just some theories for 3.6 devs.
Click to expand...
Click to collapse
You can always try the korean system dump and see what it gives.
I am a linux noob so if i say something stupid just let me know.
I played around with a few different terminal apps. I found one that had rsync which is sweet... but any time i find one with some built in scripting support it doesnt have rsync.
Thoughts on what direction i should go here.