Turn your android into linux workstation! - Samsung Galaxy Fit GT 5670

Get all the info here
Code:
th3h4r0015k.blogspot.in/2012/08/run-python-on-your-android_20.html
This app works great on our Gfit...get it now here
Code:
play.google.com/store/apps/details?id=com.inportb.botbrew
dont forget follow my blog for more this kinds apps

Related

Android gingerbread 2.3.1 on Nokia N900 step by step installation guide

A step-by-step Android installation guide for Nokia N900 Users
Things you will Need:
1: Your nokia n900
2: Any Micro SD card (i used a 2GB)
---------------------
For this installation you need to Enable all repositories from App Manager (you need to input those information manually and be precise):
The configuration below is for N900 up to firmware PR 1.1.1:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle
Components: free non-free
----------------------
The configuration below is for N900 for firmware PR 1.2:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle-1.2
Components: free non-free
-----------------------
The configuration below is for N900 for firmware PR 1.3:
Application manager --> Application catalogs --> New
Catalog name: maemo.org
Web address: http://repository.maemo.org/extras/
Distribution: fremantle-1.3
Components: free non-free
------------------------
Second step :Install rootsh from app manager or from this site : http://maemo.org/downloads/product/Maemo5/rootsh/
-------------------------
Third step we will use X-terminal (here get your fingers ready )
basic commands used : root( to give root access) ls (list files in a folder or directory) mkdir (create directory) rmdir (removes directory this command is specially used if you Used any NITDroid before and created AND directory in the root of the phone) Ok lets get started Type in X-terminal :
root
apt-get update (to download packages needed make sure you are connected to internet )
apt-get install nitdroid-installer
y
y (if its asks again)
-------------------------------------
After this you have to download two files on your PC:
1st file : http://downloads.nitdroid.com/e-yes/gingerbread.tar.bz2
2nd file: http://downloads.nitdroid.com/nitinstaller/Packages/nitdroid-kernel-2.6.28-06_final1_armel.deb
-------------------------------------
Once you downloaded those files make sure you copy them to the root phone memory ( once you connect it to the pc tap the mass storage mode and just copy them to the phone memory for example lets say its H: just open H: and copy it there)or for other users they can copy it anywhere as long as they put the path correctly
--------------------------------------
After you have successfully copied the files open the x-terminal and typeNOTE:be precise and take care for space)
root
cd /home/user/MyDocs (cd(space)/home/user/MyDocs)
bzip2 -d gingerbread.tar.bz2 (bzip2(space)-d(space)gingerbread.tar.bz2) WAIT
cd /home (cd(space)/home)
mkdir /and (mkdir(space)/and)
cd / (cd(space)/)
mount /home /and (mount(space)/home(space)/and)
cd /and (cd(space/and)
tar xvf /home/user/MyDocs/gingerbread.tar (tar(space)xvf(space)/home.......or the path you put the file in
dpkg -i /home/user/MyDocs/nitdroid-kernel-2.6.28-06_final1_armel.deb (write this one like this as it here with all spaces / _ . -
-----------------------------------------------------------
Now You have to install two more updates to Patch some Bugs in the OS.
First Is Codec Update:http://downloads.nitdroid.com/e-yes/gingerbread_update1.tar.bz2
second VOIP update :http://downloads.nitdroid.com/e-yes/gingerbread_update2.tar.bz2
copy both files in directory like the before 2 files
------------------------------------------------------------
After downloading both the files Again open X-terminal and type
root
mount /home /and
cd /home/user/MyDocs
bzip2 -d gingerbread_update1.tar.bz2
cd /and
tar xvf /home/user/MyDocs/gingerbread_update2.tar
Make sure you install the updates correctly.
-------------------------------------------------
After the updates are installed you are done Installing Android Gingerbread On your Nokia n900 . just slide open your keyboard and reboot your phone. you will get a Dual Boot Option screen Select Nitdroid And Unleash the Gingerbread Power.
For more visit Nitdroids official wiki
Wow, i've been waiting for a step by step post. And some of the posts i read said it needs a minimum 4GB SD card. Will all the features work, i mean calls and internet with 3G with other basic phone features ? This is for my wife and all she does is to go to FB, calls and text Is the Market working ?
Thanks again for the lovely tip
zeus09 Thanks for reply .....for me calls sometimes work sometimes not i need to fix it, camera also is not working, otherwise everything is working fine but you can try it and see it wont brick your device i will work on 2.3.3 to fix those minor bugs here....try it and tell me whats wrong so i can develop it more
Oh yeah, I'm gonna have the phone charged fully now. Gonna give it a shot tomorrow morning. Wish me good luck man . Hope I will not brick it ha ha
hey man go for it dont worry ! and if you need anything tell me here ill help you
Hi
I just want to know if someone could help me..
I found a problem on my n900 at ''apt-get update'' it said 99%(working) but then it said fail after a while it said some packages would be ignored, or the old ones would be used instead
apt-get install nitdroid-installer
It then said nitdroid couldnt be found
If someone could help it would be great..tnx
I found the problem tnx but the airplane mode is always on..
Just a? . Would this work for any nokia. Um say e7? Irs the same nokianess?
Sent from my Defy. Using XDA App.
I can't install the updates....
I can't install the updates. I receive the message: "Can't open input file gingerbread_update1.tar.bz2: No such file or directory."
I tried several times and always the same error. I put the 2 files in the root as i did with the first 2 files.
Please help!!!!
deviljf it worked for you ? just fine? is there any kind of deley ? but in both ways its nice to have android on n900 the concept is awesome even with some minor bugs ,,thanks for trying it man
metal_n ...you must specify the directory and the path well other wise it wont work ....but now if you reboot your phone and open the keyboard and choose nitroid you can boot it ... if you face the same problem... tell me ill try to help you but its matter of pathing only man and thanks for trying it
gplock ... no it wont work mate... sorry cuz nokia e7 is based on Symbian^3
^ damn nokia. Fingers crossed they go android n not windows. Good job man thanks for sharing
Sent from my Defy. Using XDA App.
First of all thanks a lot for the easy steps you have provided,
On the other hand we have two issues:
1. This version as many as other versions does not support the Mic, or the cam plus other features on the droid system
2. For the users that are trying to follow the steps you will face one issue, make sure to add the following:
root
mount /home /and
cd /home/user/MyDocs
bzip2 -d gingerbread_update1.tar.bz2
----------------->bzip2 -d gingerbread_update2.tar.bz2
cd /and
tar xvf /home/user/MyDocs/gingerbread_update2.tar
Hope to hear from u when you get the full version
Regards,
Hey, jut installed it on my n900 and it's pretty good... A few things don't work right, but it's pretty impressive - I think it's faster than my old g1 already!
Points of interest:
Wifi seems to work but very slowly...
No 3G but I can't seem to add an APN in the network settings...
I made a call but I don't think the speaker was working...
Marketplace is acting weird but probably because of slow connection
Anyway it's awesome that it's working at all - great job mate!
Rick
Rick glad you like it thanks mate for trying it
silver386.....ill try my best thanks for replay
i cant install the nitdroid-installer
error
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package multiboot
Click to expand...
Click to collapse
also when i type apt-get update its says.
failed to fetch repisitory devil
failed to fetch moff mozilla
some index files failed to download.. they have been ignore or use the old ones used insteal
Click to expand...
Click to collapse
i solve the previous problem
now the last one when i install the nitdroid-kernel-2.6.28-06_final1_armel.deb
error
files list file for package 'com.ea.app.sim; contains empty filename
Click to expand...
Click to collapse
how to solve?
I managed to get an APN added - it was me being dense but no 3G. Been doing a bit of reading and it appears that the 3G radio is not fully working with android at the moment...
Do you think that is going to be possible to have android able to make calls properly or is this just going to be a fun hacking experiment.
Either way is fine - it's the journey I enjoy with these things not necessarily the destination...
Thanks again for your efforts
Rick

[GUIDE] Want to know information about your kernel? CHECK HERE

sometimes you want to check the kernel version or information that you currently have installed. while the easiest way is to check in settings-about phone, there is also another way, which can be used in case settings-phone info doesn't work, and when in adb. this is pretty simple and straight forward, so lets get started.
the process is really easy, just follow these steps:
1) download terminal emulator from market (anyone will work)
2) open up terminal emulator and type
Code:
uname -a
[ENTER]
the kernel information will show and there you have it, 2 easy steps for checking out your kernel.
the same can be done using adb, when phone is connected. make sure USB debugging is on and you have androidSDK installed and working. then type
Code:
adb shell
uname -a
[ENTER]
THE BEST THING ABOUT THIS IS IT DOES NOT REQUIRE ROOT ACCESS!!
as usual, though doing this shouldn't hurt it, i am NOT responsible for anything that happens to your device.

[14.08.2012] [GIT|I NEED YOU!] Andrinux - Bringing GNU/Linux to your Phone!

The Andrinux-Project - bringing GNU/Linuxux to your phone
I've put the whole thing onto github because it's too much for me alone. I need your help: http://forum.xda-developers.com/showthread.php?p=30207959​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
At first big thanks to dudumomo for hosting the project! I can't thank you enough!
Then big thanks to TylerDurben for the awesome picture work!​
Please: Learn to read the whole opening post!
I won't help in cases like this anymore! All informations are given!
Thanks!
Note: it doesn't boot a phony-Linux! This Linux runs on top of Android!
"Hey Nerds!" would Sassibo(o)b say.
But I'll say:
Hey dudes!
Welcome to the Andrinux-Project.
What the heck is Andrinux?!
Andrinux is a project (inspired by LeeDroid) to bring GNU/Linux to your phone!
Started in summer 2011 I now got the first running build for you.
Why should I use Andrinux?
Why are you thinking I can answer this question for you?!
It's your decision!
I use it for things like git and office apps.
trh1341 said:
Just want to prove that this is awesome...the ics rom by me and Jcmaddox...most of that was done using this because my computer has a broken screen
Sent from my HTC Inspire "4G" using Ice Cream Sandwich
Click to expand...
Click to collapse
Why are you posting it here and not in the general Android development?
Because I only tested it on the Desire HD and on no other device. But maybe later.
Why aren't you coming to the interesting thing - the download?
Ok, ok. I'm gonna hurry.
Disclaimer:
If something goes wrong or if something gets broken I'm not responsible for this!
Pay for it on your own!
What you'll need:
-phone
-PC or Mac
-unpacker for 7z-archives
-root
-S-OFF
-system read/write enabled (with newest update not needed anymore. If the script fails your should use this app)
-busybox
-SD-Card
-3 GB of free space on the SD-Card
-kernel with loop-support
-time
How to:
Let's get to the real thing.
First download the desired distribution.
Unpack the whole thing to your SD-Card and put it in your phone.
When you got there open a terminal emulator and switch to root mode.
Then you could follow the README-file but I made a little mistake while saving.
Please make sure to mount the system read/write!
So here the instructions:
Type in:
Code:
cd /mnt/sdcard/andrinux/???
sh prepare.sh
boot-???
Codes for the ???:
cd-codes:
debian
fedora
slack
ubuntu
boot-codes
sque- Debian Squeeze- available
whe- Debian Wheezy- not available
fed13- Fedora 13- not available
fed14- Fedora 14- not available
slack- Slackware- not available
nat- Ubuntu Natty- not available
one- Ubuntu Oneiric- available
What you'll get:
The distribution, in most cases with xfce 4 and VNC server.
What you should do after entering GNU/Linux:
Update your distribution and install wanted software like a browser.
I suggest Midori, which you can see in the pictures.
It's pretty fast on a phone.
What you shouldn't do:
rm -r /
Tips:
More than 255 apps on SD aren't possible on our phone in combination with Andrinux, sorry.
If you want an other resolution you can edit the xstart-file in your andrinux/debian-folder.
Then run sh prepare.sh again.
I already added the locate-command and updated the database. So you can simply use it.
For more details see the tutorial in the next post.
Please, don't use the xterm.
Use the terminal emulator which you're running in the background instead. xterm is full of errors on the phone cause it uses the wrong scripts/files/programs.
You don't need to put "sudo" in front of a command. You are always logged in as root.
The browser I use can be installed with
Code:
apt-get install midori
You may use Iceweasel, the Debian-Firefox (better compatibility). Install it with
Code:
apt-get install iceweasel
Use your volume keys to scroll faster on GUI with Android VNC.
You're an Andrinux-User?
Show it to others!
Take this link:
http://andrinux.freelydifferent.com/img/user.png
Want the official Andrinux wallpaper?
Look here!
How it works:
First, it sets the img-file located in the folder andrinux/??? on your SD-Card as a device.
Then it mounts the device.
After that we enter the environment of your distribution.
As this happens, we also switch to the distribution-bash and viola - we got GNU/Linux.
Cause every change is made like in a virtual machine, everything will be saved to your img-file on your SD-Card and your ROM files won't get touched.
The thanks-button is often overlooked.
Please use it if you like Andrinux.
Thanks.
Download section
Please no mirrors! I want to see how many downloads which one gets and want to earn a little amount of money! Thank you!
Everythings right now, have fun.
Debian Squeeze - 12.12.2011:
http://andrinux.freelydifferent.com/downloads/debian/deb-sque.7z - size: 456,7 MB
Mirror (Multiupload):
http://www.multiupload.com/K244AYLM7Q
Debian Squeeze update - 09.02.2012:
http://andrinux.freelydifferent.com/downloads/debian/update090212.zip
Ubuntu Oneiric - 02.01.2012:
http://andrinux.freelydifferent.com/downloads/ubuntu/ubu-one.7z - size: 540,2 MB
Mirror (Multiupload):
http://www.multiupload.com/TEH2Q1JHRH
Ubuntu Oneiric update - 09.02.2012:
http://andrinux.freelydifferent.com/downloads/ubuntu/update090212.zip
Changelog section
Debian Squeeze:
14.12.2011:
-got it working with App2SD up to 99 apps
-SD-Card bind in Linux environment
-no more fail-mounts (mounting / instead of the image)
-tutorial added
-changed resolution for VNC to 800x480
15.12.2011:
-little ad-remove-correction
-added shortcut for SD-Card to Desktop
-corrected nameserver-problem ("couldn't resolve ...) - thx to Floep
24.12.2011:
-new script created from scratch
-up to 255 apps on SD-Card possible
01.01.2012:
-better script structure
-fixed a big which shouldn't appear
04.01.2012:
-more customizable xstart-script (run "xstart 800x600 for example to get this resolution)
-some tests whether mounting was successful
08.01.12:
-corrected the if-conditions
-added /system read-write to script, no app needed anymore
09.02.12
-added ICS-support - thanks to craigkal
-added some things to make it easier for me to edit the script
-added something which should help to get this working on every device (inspired by adwinp)
-added a hidden feature - to find it, you have to use an option.
Ubuntu Oneiric:
24.12.2011:
-initial release
-added Firefox, Midori and Nautilus as Christmas-special
-new method to install the system: when you run the prepare.sh it'll create the image for you and unpack the system - less to upload, less to download.
29.12.2011:
-biggest problem (creation of image failed) fixed
-script is now more friendly for the ones who want to adjust it.
-big security hole (filing your /data partition when the image isn't mounted) got fixed
02.01.2012:
-new release (should now really work for everyone )
04.01.2012:
-more customizable xstart-script (run "xstart 800x600 for example to get this resolution)
-some tests whether mounting was successful
08.01.2012
-corrected the if-conditions
-added /system read-write to script, no app needed anymore
09.02.12
-added ICS-support - thanks to craigkal
-added some things to make it easier for me to edit the script
-added something which should help to get this working on every device (inspired by adwinp)
-added a hidden feature - to find it, you have to use an option.
-new script for Ubuntu by adwinp. Take this for it. https://www.box.net/shared/ncrs2o8i5lc6vj7pgpxy
Credits:
Code:
echo "I: New script from scratch. So only credits to me. :P"
echo "I: Already ad-cleaned by the Andrinux-Project. ;)"
Troubleshooting:
http://forum.xda-developers.com/showpost.php?p=20733038&postcount=107
Any more questions?
Post them here.
If you want the latest updates you can follow me on Twitter!
http://twitter.com/Ditti4
If you have problems and need help:
Gtalk - [email protected]
Please tell me your XDA-username so I can identify you.
Step-by-step guides
Video tutorials:
Debian Squeeze
(Thanks, Peat. )
Written tutorials:
Debian Squeeze:
1. Step:
Download the two files from the download section and unpack them.
2. Step:
You'll see a folder named andrinux and four new files (xstart,xexit, prepare.sh and boot-sque).
Put these four files into the debian-folder in the andrinux-folder by replacing the existing ones.
3. Step:
Put the andrinux-folder to the root of your SD-Card.
To do so: plug in your phone and switch to Mass-Storage-Mode.
Then copy and paste it to the SD-Card.
4. Step:
Let's switch to the phone.
Got busybox installed? If not, look into the requirements.
Got a terminal emulator installed? If not install one from the Market.
5. Step:
Open terminal emulator and type in
Code:
su
to switch to root mode.
Now type in
Code:
cd /mnt/sdcard/andrinux/debian
to change to the Debian directory.
Then type
Code:
sh prepare.sh
to prepare your system.
Got this? Perfect!
6. Step:
Type in
Code:
boot-sque
to power Debian up.
You'll see
Code:
[email protected]
at the beginning of the line.
7. Step:
Wanna see something graphical?
Install "Android VNC" from the Market.
Then go back to terminal and type in
Code:
xstart
and now launch Android VNC.
Now the connect settings:
Code:
Server: localhost
Port: 5901
Password: andrinux
Now the desktop should appear.
Tip:
Want a web browser?
Code:
apt-get install midori
for a lightweight one and
Code:
apt-get install iceweasel
for something Firefox-like (Ubuntu installs the original Firefox with this command).
8. Step:
Want to end your season?
Choose the disconnect-option in Android VNC and switch back to the terminal.
Now type in
Code:
xexit
to stop the desktop and then
Code:
exit
to shut down Debian.
Ubuntu Oneiric:
1. Step:
Download the file from the download section and unpack it.
2. Step:
You'll see a folder named andrinux and four new files (xstart,xexit, prepare.sh and boot-one).
Put these four files into the ubuntu-folder in the andrinux-folder by replacing the existing ones.
3. Step:
Put the andrinux-folder to the root of your SD-Card.
To do so: plug in your phone and switch to Mass-Storage-Mode.
Then copy and paste it to the SD-Card.
4. Step:
Let's switch to the phone.
Got busybox installed? If not, look into the requirements.
Got a terminal emulator installed? If not install one from the Market.
5. Step:
Open terminal emulator and type in
Code:
su
to switch to root mode.
Now type in
Code:
cd /mnt/sdcard/andrinux/ubuntu
to change to the Ubuntu directory.
Then type
Code:
sh prepare.sh
to prepare your system.
6. Step:
Type in
Code:
boot-one
to power Ubuntu up.
You'll see
Code:
[email protected]
at the beginning of the line.
7. Step:
Wanna see something graphical?
Install "Android VNC" from the Market.
Then go back to terminal and type in
Code:
xstart
and now launch Android VNC.
Now the connect settings:
Code:
Server: localhost
Port: 5901
Password: andrinux
Now the desktop should appear.
Tip:
Want a web browser?
Code:
apt-get install midori
for a lightweight one and
Code:
apt-get install iceweasel
for Firefox.
8. Step:
Want to end your season?
Choose the disconnect-option in Android VNC and switch back to the terminal.
Now type in
Code:
xexit
to stop the desktop and then
Code:
exit
to shut down Ubuntu.
Any problems?
Ask me!
Dayummmmmmmmmmmmmmmm, neat stuff. I might try it when i have the time to
great job,just in time,i am bored ,what distribution do u prefer ?
evanbigfan said:
what distribution do u prefer ?
Click to expand...
Click to collapse
Cause I'm addicted to Ubuntu/Debian and the Ubuntu-arm-port isn't the best I'm using Debian.
But that's totally personal.
And what you see above is the Debian build.
Sent from my loved HTC Desire HD @MIUI Germany <3
Ditti4 said:
Cause I'm addicted to Ubuntu/Debian and the Ubuntu-arm-port isn't the best I'm using Debian.
But that's totally personal.
And what you see above is the Debian build.
Sent from my loved HTC Desire HD @MIUI Germany <3
Click to expand...
Click to collapse
thanks,it will be the first then,another thing,when i reboot the device i'll went back to my rom right,and any changes i made to the linux will go or remain ?
evanbigfan said:
thanks,it will be the first then,another thing,when i reboot the device i'll went back to my rom right,and any changes i made to the linux will go or remain ?
Click to expand...
Click to collapse
The Linux is on a external virtual partition on your SD-Card. So any change will remain until you delete the .img-file.
And yes, you'll went back to your ROM. Gonna add some more info to the opening post.
Sent from my loved HTC Desire HD @MIUI Germany <3
Great job, I'm waiting for test it.
one question: all part of device ( camera wifi blue 3g) work's or booting only?
Doesn't this open opportunities for other OS's like WP7?
Correct me if I am wrong.
BTW: Amazing job man
homerino85 said:
Great job, I'm waiting for test it.
one question: all part of device ( camera wifi blue 3g) work's or booting only?
Click to expand...
Click to collapse
I think you misunderstood me.
It's running on top of Android.
You'll get a fully working Android and on top of it a nearly fully working GNU/Linux.
H-Streety said:
Doesn't this open opportunities for other OS's like WP7?
Correct me if I am wrong.
BTW: Amazing job man
Click to expand...
Click to collapse
Nope, cause it runs on top of Android.
Added a note to the top to avoid questions like this.
But as the time goes by and we'll get a Windows 8 ARM version, we can maybe run this on our phones.
But since Windows Phone 7 isn't open source, we'll never be able to run it on an Android phone...
Sent from my loved HTC Desire HD @MIUI Germany
Ditti4 said:
The Linux is on a external virtual partition on your SD-Card. So any change will remain until you delete the .img-file.
And yes, you'll went back to your ROM. Gonna add some more info to the opening post.
Sent from my loved HTC Desire HD @MIUI Germany <3
Click to expand...
Click to collapse
that what i thought ,thanks
Just added Debian Squeeze.
Have fun!
Sent from my loved HTC Desire HD @MIUI Germany <3
All those sounds to good to be true
Hope i get some time in this evening to test it.
Is it possible to start backtrack with andrinux?
Did it work with all android roms?
What about ICS?
Cant wait for testing ...... big thx for.making this possible
Sent from my Desire HD using XDA App
TylerDurben said:
All those sounds to good to be true
Hope i get some time in this evening to test it.
Is it possible to start backtrack with andrinux?
Did it work with all android roms?
What about ICS?
Cant wait for testing ...... big thx for.making this possible
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Backtrack should be possible, give me some time.
Haven't got the fastest internet.
ICS... Good question.
If I get a running Terminal Emulator for ICS I'm gonna test it.
Ditti4 said:
Backtrack should be possible, give me some time.
Click to expand...
Click to collapse
It's probably worth mentioning here that even if Backtrack works (and I think it should) it won't be possible to use something like aircrack-ng or anything that needs Promiscuous/Monitor Mode and/or Injection.
This is awesome! I assume it will work on the Inspire 4G as well? If so I can't wait to try it out!
MusikMonk said:
It's probably worth mentioning here that even if Backtrack works (and I think it should) it won't be possible to use something like aircrack-ng or anything that needs Promiscuous/Monitor Mode and/or Injection.
Click to expand...
Click to collapse
This should be worth a try.
gtalum said:
This is awesome! I assume it will work on the Inspire 4G as well? If so I can't wait to try it out!
Click to expand...
Click to collapse
Should also work on it but I can't prove it cause I only got the DHD.
Sent from my loved HTC Desire HD @MIUI Germany <3
Ditti4 said:
Should also work on it but I can't prove it cause I only got the DHD.
Click to expand...
Click to collapse
I'll give it a try soon and let you know.
m getting an error in terminal emulator ..
here is what i did
su
cd /sdcard/andrinux/debian
sh prepare.sh
then got an error (screenshot attached)
riteshbendre said:
m getting an error in terminal emulator ..
here is what i did
su
cd /sdcard/andrinux/debian
sh prepare.sh
then got an error (screenshot attached)
Click to expand...
Click to collapse
Please always read the opening post carefully.
From "What you'll need":
Ditti4 said:
-/system read/write
Click to expand...
Click to collapse
There are some apps out there to do this. Search on the Market for "remount".
Sent from my loved HTC Desire HD @MIUI Germany

[How-To] Find your Ubuntu kernel version

Seeing that a lot of ROM development is done using Ubuntu is cool, as I have been an Ubuntu user for the last year. This is my first guide on XDA, I plan on posting a few in the future. Sort of a Beginners Ubuntu collection of guides that cover simple, yet useful subjects that new users to the Ubuntu OS might find useful.
This particular guide covers finding out the version of your Ubuntu kernel.
Finding out the version of your Ubuntu kernel can be useful in a few ways. Every now and then there are vulnerabilities that affect specific kernel versions, and being able to check and see whether or not your kernel version can be affected can be helpful. Also, certain features and hardware support will only work with specific kernel versions.
Finding out what Ubuntu kernel version you have is very simple, to find it just follow these steps -
Open a Terminal window (Go to your Dashboards > Search for “Terminal” > Hit Enter)
Type in this commmand in the Terminal -
Code:
uname -r
And that's it! The uname command can give you information about the kernel you are currently running, including version, system hostname and more.
When I get home later I will add a few pictures, I'm posting this from my phone right now.
Even though its not much, let me know what you guys think.
Hopefully someone finds this helpful or useful.

GetMeIn : One time rooting/jailbreaking tool for webOS LG TV's

Hello XDA,
After a long thinking i've decided to create a root or jailbreak tool for LG's awesome webOS, today am stating this thread to release this new root tool, but before that! am gonna ask you for some logs from webOS 3.5 and lower.
Everyone in this thread must know about webOS if not do your homework then get back again, LG did a great work on this operating system after HP and Palm's versions. they even supported Raspberry Pi module B. but webOS OSE aka Open Source Edition is really different from TV's version.
LG think about Security and frequently release updates that doesn't have anything new except some patches to close down known holes, one of my favorites was a directory traversal that can replace in tv files and binaries during install (partially closed recently).
let'stake a look at LG's partition filesystem types, on tv's they chooses to use ext4 for writable partitions (/var, some of /mnt/lg/*, /home and /media) everything else is using squashfs which is a read only compressed filesystem you cannot modify it.
If you can dump the squashfs partition unshquash it then recompress you will face another problem of hashes and crc checks (checkout the update binary for more details) if you dd it back to block device without kernel and/or bootloader patches. so this is not gonna just work easily.
What we can really do it play on the RW parts of the system, one of the design flaws on webOS is the devmode aka Developer Mode, they ship it in a Read Write partition so that's easy to be modified.
To do that you must have root access or some powerful exploits to achieve your goal.
This method is using memory access vulnerability to get root and then jailbreak the tv. i ported some parts of the other root thread even if some are not even needed.
To jailbreak connect to your tv via prisoner user after uploading GetMeIn binary into it then :
Code:
chmod +x GetMeIn
./GetMeIn
if root succeed and you saw some errors do this :
Code:
mkdir -p /media/cryptofs/root/etc
mkdir -p /media/cryptofs/root/lib
After that just reboot and enjoy your root with same ssh key, or use password "alpine".
there is some old pictures attached, i did some modifications after those.
Hope this is good enough.:angel:
HOW-TO
To use this GetMeIn webOS Jailbreak tool please create a developer account on LG's developer portal, install developer mode application on your TV and connect with your recently created account.
Open dev mode app please set the Dev Mode Status to ON and Key Server to ON.
grab your ssh key with ares then connect to your tv using ssh :
Code:
[email protected]:~# ssh -i ~/.ssh/webOS_TV [email protected] -p 9922
when you get connected you just follow the steps on the thread.
Please test and share back screen shouts and logs from tv in both cases failure or success.
I need informations from your webOS v 3.5 and lower, TV model and webOS version and some commands from the tv.
okay first of all create a dir named logs :
Code:
mkdir logs
TV Infos :
Code:
cat /var/run/nyx/device_info.json > logs/device_info.json
(delete your nduid serial number and mac addresses)
webOS Infos :
Code:
cat /var/run/nyx/os_info.json > logs/os_info.json
Code:
cat /proc/cpuinfo > logs/cpu.log
Code:
ls -arls /var/log/ > logs/logdir.log
Code:
ls -arls /usr/lib/ > logs/libsdir.log
Code:
ls -arls /proc/ > logs/procdir.log
Code:
ls -arls /dev/ > logs/devices.log
In case the jailbreak works restart and run this additional commands :
Code:
mount > logs/mounts.log
i think that's everything i need, upload the logs dir somewhere and put a link here.
Reserved again.
So this only works on webOS 3.5 and below?
MishaalRahman said:
So this only works on webOS 3.5 and below?
Click to expand...
Click to collapse
that's what i think yes, but you can test
MishaalRahman it's confirmed, also some lower versions are not supported like 3.3.3
BTW, can you check up your PM.
Hi,
unfortunately it does not work for me, I get the following output:
Code:
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0
Maybe some of this helps to improve your script.
blenni said:
Hi,
unfortunately it does not work for me, I get the following output:
Code:
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
I already posted some logs of my LG OLED55B7D (05.80.15) in the other thread:
https://www.dropbox.com/s/ie5ix8vtscxjr3n/LG55B7D_05_80_15.zip?dl=0
Maybe some of this helps to improve your script.
Click to expand...
Click to collapse
Your version is not supported by this tool, you have webos 3.8 unfortunately, and i really cannot help without access to tv with new api version, & i will need testers for newer devices.
@Maroc-OS
WebOS has the web socket endpoints to control the TV like
Code:
ssap://tv/getChannelList
After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...
Lg oled65g6v
Code:
/media/developer$ uname -a
Linux LGwebOSTV 3.16.7-77.deua.4 #1 SMP PREEMPT Thu Jun 21 17:26:37 KST 2018 armv7l GNU/Linux
/media/developer$ ./GetMeIn
---------------------------------------------------------------
MerrukTechnolog < webOS privelage escalation (www.merruk.com)
---------------------------------------------------------------
GetMeIn: #* Opening memory IO!
GetMeIn: #! Cannot map memory data!
---------------------------------------------------------------
/media/developer$ cat /var/run/nyx/os_info.json
{
"core_os_kernel_version": "3.16.7-77.deua.4",
"core_os_name": "Rockhopper",
"core_os_release": "3.3.3-3807",
"core_os_release_codename": "dreadlocks-dharug",
"encryption_key_type": "prodkey",
"webos_api_version": "4.1.0",
"webos_build_datetime": "20180621081934",
"webos_build_id": "3807",
"webos_imagename": "starfish-dvb-secured",
"webos_manufacturing_version": "05.30.25",
"webos_name": "webOS TV",
"webos_prerelease": "",
"webos_release": "3.3.3",
"webos_release_codename": "dreadlocks-dharug"
}
If I can be of any help to get this working on LG's 2016 OLED models gladly I would help...
Thank you for this awesomely fun opportunity to get into my panel! While I understand this is in its infancy, would you know a way of downgrading OS version? (Im on 4.x.x.x)
I hope sideload and extract creds in the best future. Thank you one again for the time and sharing of this. ?
What would be a good reason to root a smart tv? What can I do afterward?
now THIS is interesting! well done!
Same will we be able to download apps like Showbox or shadow tech(cloud gaming service)? After rooting we are all familiar with root on the phone side but rooting tv is definitely a first
lucaterpirla said:
What would be a good reason to root a smart tv? What can I do afterward?
Click to expand...
Click to collapse
thats what i'm asking myself too.
or was this the first step and now homebrew apps will rise?
please enlighten me someone. :laugh:
Sorry if this is a dumb question, but does this mean that Android TV could be ported over? That would be fantastic.
Fuking crazy
I'm about to root today after work.
Hope we get Android apps soon
This is awesome! and coming from someone from my home country. Genius!
Would it be possible to install Android TV after using this method?
Thank you very much!
I haven't tried the jailbreak yet, but here are the logs from two of my LG TVs:
LG EF9500: mediafire.com/file/8da335aynddi4se/LG_EF9500_Logs.zip
LG UF6400: mediafire.com/file/8045q0d0o6j8453/LG_UF6400_Logs.zip
XDA wont let me add hyperlinks so you'll have to copy and paste.
Wow seems there is some reactions to this topic.
first of all thank you for testing and reacting to this subject.
i will replay to every post one by one after this post.
thanks for you all.
wybielacz said:
@Maroc-OS
WebOS has the web socket endpoints to control the TV like
Code:
ssap://tv/getChannelList
After rooting the TV is possible to find out all the available endpoints on the TV? LG unfortunately has absolutely no documentation about it except the endpoints in the examples they provide.
If it is not too much work, could you please provide a list of all the available endpoints? I guess those needs to be defined somewhere in a config file...
Click to expand...
Click to collapse
Interesting. i did not knew about this, i will let you know once check this out.

Categories

Resources