How to flash stock rom on Samsung devices from Linux - General Questions and Answers

I don't actually know how to but I was thinking of a process,
Install "wine" by first, gaining root access by typing
sudo su
Then it will ask for your password, enter it
Then install wine by typing
apt-get install wine
In terminal
Then it will ask for confirmation to install wine
Then after you have installed it, you are ready to open exe files on Linux!
Download odin from anywhere and place it in your "/home/(username)/" directory on folder "odin"
Then execute this command in terminal:
$wine ./odin/odin.exe
And it will run odin there, do what ever you want to do now
Or you can simply double click the odin icon.
I have not tested this yet but I suppose it will work, I will try it either today or tomorrow
Anyone tried this before??
Or is there any other way to do this?
Sent from my SM-T211 using XDA Free mobile app

I tried it and it didn't worked
Anyone please tell me how to do it...
Sent from my SM-T211 using XDA Free mobile app

Related

How to install and configure sdk/adb on Ubuntu

I want to be able to use adb to pull/ push apps to my phone.
I recently converted my PC to Ubuntu 10.10 from windows and I am finding it impossible to find any sort of noob friendly guide as to how I can actually get it installed and working.
Can anyone help? Or point me towards a guide. All the stuff I find seems to assume you either already have it installed or know how to do it already!
Sent from my GT-I9000 using XDA App
Well thanks for your help folks
Sent from my GT-I9000 using XDA App
here ya go http://tinyurl.com/44zscrd
Follow the first guide, if you still have problems post back and I'll try to help you with what you need
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
branalvere said:
Ok I tried this, I realise you were taking the piss but the guide was good except I could not get Ubuntu to recognise my device. Followed the instructions to the letter. I know Linux is not meant to be easy but why is it SO hard?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
ubuntu recognizes it by default unless you modified your settings or messed with the kernel.
http://developer.android.com/sdk/index.html
Download the Linux tools. Extract it then open your terminal and go to the extracted folder, inside here is a folder called tools, with the terminal cd into tools and type ./android.....app should open, go to available packages, android repository, check the first one and should be android sdk tools.
Click install selected at the bottom right. Once it's done you will have adb installed.
On your phone, go to settings, applications, development, check usb debugging. Also check unknown sources.
Inside the folder you are in, there should be a file/ script called adb. This means you can run the adb commands from here.
In terminal, assuming you are in the folder where the adb file is located, type:
Sudo ./adb start-server
This should recognize your phone.

Help with Ubuntu 12.04

I have a Verizon Galaxy S3 and I am trying to use Adams linux tool to unlock it. I just installed Ubuntu 12.04 on my laptop and got ADB to recognize my phone. I downloaded the tool extracted it, opened it nothing ran so I found the file Root GS3 with DebugFSRoot in Scripts I opened that and then clicked on adb.exe and got this error.
Archive: /home/eric/.cache/.fr-97pmjP/adb.exe
Zip file size: 191488 bytes, number of entries: 33758
[/home/eric/.cache/.fr-97pmjP/adb.exe]:
Zipfile is disk 58485 of a multi-disk archive, and this is not the disk on
which the central zipfile directory begins (disk 30091).
I am completely lost on how to fix it. I am still learning Ubuntu and am familiarizing myself with the system. For some reason when excuting adb commanding I have to put ./ in front of every command or it will not recognize the command. I tried following a guide which would update a source file so I would not need ./ Any help would be greatly appreciated. Thank you.
No one used Adams tool? Or even offer a link to something to help me out?
joebob296 said:
No one used Adams tool? Or even offer a link to something to help me out?
Click to expand...
Click to collapse
Just download the app its in the play store it will unlock your boot loader. Its simple! If you are trying to root your phone also the you will have to use Adams tool if you chose. You will also need java JDK 6.XX. If you look in development you will see other ways to root also and a link to the app for boot loader
Sent from my SCH-I535 using xda app-developers app
egore93 said:
Just download the app its in the play store it will unlock your boot loader. Its simple! If you are trying to root your phone also the you will have to use Adams tool if you chose. You will also need java JDK 6.XX. If you look in development you will see other ways to root also and a link to the app for boot loader
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Yea I have java installed my laptop also recognizes my phone over adb so I know java is working and installed in the right place I also set my path variable. I know there is an app and there is a windows version, but I'm trying to get used to using linux.
joebob296 said:
Yea I have java installed my laptop also recognizes my phone over adb so I know java is working and installed in the right place I also set my path variable. I know there is an app and there is a windows version, but I'm trying to get used to using linux.
Click to expand...
Click to collapse
Gotcha, I don't use linux. How is it? I might try it out.
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 03:54 PM ---------- Previous post was at 03:51 PM ----------
egore93 said:
Gotcha, I don't use linux. How is it? I might try it out.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I did download it. I decided to try windows when I used Adams.
Sent from my SCH-I535 using xda app-developers app
Ubuntu
joebob296 said:
I have a Verizon Galaxy S3 and I am trying to use Adams linux tool to unlock it. I just installed Ubuntu 12.04 on my laptop and got ADB to recognize my phone. I downloaded the tool extracted it, opened it nothing ran so I found the file Root GS3 with DebugFSRoot in Scripts I opened that and then clicked on adb.exe and got this error.
Archive: /home/eric/.cache/.fr-97pmjP/adb.exe
Zip file size: 191488 bytes, number of entries: 33758
[/home/eric/.cache/.fr-97pmjP/adb.exe]:
Zipfile is disk 58485 of a multi-disk archive, and this is not the disk on
which the central zipfile directory begins (disk 30091).
I am completely lost on how to fix it. I am still learning Ubuntu and am familiarizing myself with the system. For some reason when excuting adb commanding I have to put ./ in front of every command or it will not recognize the command. I tried following a guide which would update a source file so I would not need ./ Any help would be greatly appreciated. Thank you.
Click to expand...
Click to collapse
I used to use Ubuntu a great deal until I needed Word to write my dissertation. I tried to use Adam's tool in Ubuntu as well and eventually gave up and went back to Windows. For some reason, the tool always said I had a good connection to my phone event when I unplugged my phone from the cable. My computer obviously was not recognizing the phone properly. Since I have been back on Windows for a few years, I just decided to follow the idiots guides out there and just get it done.
Here are a few stupid errors I made:
1. I did not have java runtime environment installed. I simply went to the software store that comes with Ubuntu, searched for java, and installed it.
2. I did not make the .jar file executable. I just clicked on the file, went into properties, and chose the make it executable option.
This at least got the program to run rather than exploring the file .jar file for what it included in it.
As I am sure you know, the Ubuntu forums are a wealth of information. I could have searched there for answers, but I decided to take an easier path. Of course, Adam's program didn't work for me under windows either so I just used a different method. Good luck and I hope you get it working for you in Ubuntu.
joebob296 said:
No one used Adams tool? Or even offer a link to something to help me out?
Click to expand...
Click to collapse
Download this app from the app store.
Sent from my Rooted, Synergized (1.7) and now unlocked bootloader VZW S3!
OK not being a **** to anyone who says "just download the app, or use windows" if you read my post you would know that I'm trying to use Linux. Read the post before submitting a useless response. I thank the people who read my post and submitted and gave me a place to start.
Sent from Verizon's now unlocked Galaxy S3.
Got it to work I sent Adam a pm had to run it from java
Sent from Verizon's now unlocked Galaxy S3.

Can I get a shell into Android

I'm old to Linux, but new to Android. Can someone tell me please:
Question #1: Is it possible to get a shell into my phone somehow? Meaning, Can I connect, telnet, SSH, or any other method to get a terminal? Do I have to use that adb?
Question #2: Is the act of "freezing" an app simply a rename of the file or does it really do something different?
Thanks.
If you look for Android Terminal Emulator on Google Play and install it you will be able to use a terminal. As far as your second question is concerned, I believe it is the same.
Sent from my GT-P5110 using xda app-developers app

[Q] Someone using non Win PC for flashing the phone?

Hi all there, I'm really new with Android and would use it on my HTC HD MIni (NAND). Read many instructions to do the procedure, but always I will hang at the same: "Start xyz...bat....".
Guys, is anyone out there who could think, that people exist, NOT using Windows?
How should I start a .bat- file in my Lubuntu without scripting it new (if I could, think no)?
Anything, hints and links are welcome.
thanks
bogo10
bogo10 said:
Hi all there, I'm really new with Android and would use it on my HTC HD MIni (NAND). Read many instructions to do the procedure, but always I will hang at the same: "Start xyz...bat....".
Guys, is anyone out there who could think, that people exist, NOT using Windows?
How should I start a .bat- file in my Lubuntu without scripting it new (if I could, think no)?
Anything, hints and links are welcome.
thanks
bogo10
Click to expand...
Click to collapse
You can try running the bat using WINE on Lubuntu, to do so if you haven't already installed WINE run the following command from a terminal:
Code:
sudo apt-get install wine
Then after WINE is installed run:
Code:
wine cmd
Then the command below form your Wine drive folder (I.E Z: or C: )
Code:
start filename.bat
bogo10 said:
Hi all there, I'm really new with Android and would use it on my HTC HD MIni (NAND). Read many instructions to do the procedure, but always I will hang at the same: "Start xyz...bat....".
Guys, is anyone out there who could think, that people exist, NOT using Windows?
How should I start a .bat- file in my Lubuntu without scripting it new (if I could, think no)?
Anything, hints and links are welcome.
thanks
bogo10
Click to expand...
Click to collapse
u can use odin software for flash the rom...
download the odin apk
09nits said:
u can use odin software for flash the rom...
download the odin apk
Click to expand...
Click to collapse
Unfortunately Odin isn't compatible with HTC devices, and mobile Odin requires root access to function and must be used with a Samsung device.
Sent from my SCH-I535 using xda premium

Root for HP Slate 7

This post is by "kibaruk" his method worked for me.
Thanks kibaruk!!!!!!
kibaruk said:
ok for all slate 7 users, i found a real easy and secure way to root our device, no brick chance because it doesn't modify anything inside the tablet, you just push su.
Way easier than having to install software you don't even know what it does...
The hardest part of the whole thing is installing the adb drivers which is detailed below in step 6-7-8 in case it's all you need.
step 1: Download android sdk manager (there are lots of stripped versions that might work but for tutorials sake we'll use the whole thing).
step 2: Download cydia's impactor (cydia's impactor home page in case you are interested in reading a bit).
step 3: Install both software previously downloaded (the android sdk manager doesnt have an installer, it will unzip and work from that directory, it's probably better if you unzip it into an easy to access path but it's up to you, for tutorial we will use c:\asdk\ ).
step 4: Open android sdk manager, select from the list and install only* "android sdk platform-tools" and "google usb driver" (* only as in this are the only things we actualy need, if you need at some other point or are interested in tinkering you are free to do so).
Ok so here we start with the sort-of-hard part, making our computer connect with our slate 7 through adb, to do this you need to...
step 5: Open a command terminal (windows button + r to open a run window and type cmd to open a terminal).
step 6: Go to c:\users\username\.android\ and type within the terminal:
Code:
echo 0x03f0 >> adb_usb.ini
step 7: At this point you need to get back to an explorer window and get to c:\asdk\sdk\extras\google\usb_driver\ (or wherever you unzipped it), there you will find a file called "android_winusb.ini", open it and add at the end the following:
Code:
; hp
%singleadbinterface% = usb_install, usb\vid_03f0&pid_5e1d
%compositeadbinterface% = usb_install, usb\vid_03f0&pid_5d1d&mi_01
%compositeadbinterface% = usb_install, usb\vid_03f0&pid_601d&mi_01
step 8: Open windows device manager and you will see your tablet as "hp" with a yellow warning icon, right click it and check update software, then click look for software in the computer, then click on choose driver from a list.
Once you do this you will see an icon "use disk". Explore your way to c:\asdk\sdk\extras\google\usb_driver\ and choose "android_winusb.ini" file.
The first option you will see is android adb interface, so you pick next, it will warn you about installing drivers from unkwnown sources you keep saying yes until it's done.
step 9: Go back to your cmd terminal and get to c:\asdk\sdk\platform-tools\ , this is where adb.exe is and type in the following:
Code:
adb kill-server
Code:
adb start-server
Code:
adb devices
if everything worked as expected you will see a device listed, this is your slate 7.
step 10: Now open cydia's impactor tool, you will see a small window with a default command on screen which is the following:
Code:
# drop supersu su to /system/xbin/su
just click start next to it aaaaand you are done!
Just open an app like titanium backup which needs root to see if it worked.
This method is simple plus you don't have to download anything chinese or unnecesary software into your computer, the tutorial is really long because i tried to be as detailed as posible but in the end you shouldnt take more than 5 minutes (the downloads might take a bit longer though for the sdk), i would take screenshots of the process but my computer runs on a spanish version of windows (the same reason why you might see things with different names i was just trying to guess the device manager label part).
If you have any question feel free to ask and if it worked for you a thanks would be awesome so more users will try this.
Click to expand...
Click to collapse
The Slate 7 and the TP are completely different. I strongly suggest that instead of posting here, you request that XDA start a forum for your device. A quick Google search turns up http://forum.xda-developers.com/showthread.php?t=1660354&page=855.
I know they are different but there is no Sub Forum for Slate 7.
So I posted it here hoping for someone to reply with Root files :/
Thanks for moving it.
Bump
Hey mate,
I have tried to root the HP Slate 7. I am not a developer. I am just an user who knows a thing or two.
Upon trying to sideload flash root files, adb stops and says it cannot be done on production firmware. Same goes via manual.
So the issue relies on the firmware. HP has locked the device down so we will either need to wait on HP to give us the unlock method or for a developer to crack it!
You can always try yourself but not sure if it will work. I think if we created a pre-root firmware we could flash that to gain root.
Root files are universal so just search and download!
Well I can't find root files.
And the problem I think is the CWM.
deleted
Sent from my HP Slate 7 using xda premium
beyored said:
Sent from my HP Slate 7 using xda premium
Click to expand...
Click to collapse
Tried this and no success. This is what I have been doing and no luck. adb commands work and it will push but the apps aren't there after completing step 2 and running unlock root. I have done a reboot and tried more than once.
I have done this method before so I don't know where I am going wrong lol.
To be honest, I think my Slate and laptop aren't communicating correctly. I cannot transfer non-media files. Have you got this issue?
SwannyBhoy said:
Tried this and no success. This is what I have been doing and no luck. adb commands work and it will push but the apps aren't there after completing step 2 and running unlock root. I have done a reboot and tried more than once.
I have done this method before so I don't know where I am going wrong lol.
To be honest, I think my Slate and laptop aren't communicating correctly. I cannot transfer non-media files. Have you got this issue?
Click to expand...
Click to collapse
another fella has had same issue so i unrooted and tried it again it worked 2 more times just to make sure its full proof..... now im having trouble getting root back........
so im gonna delete the post and see if theres an easier way.....
shuame works but same again its hit and miss....
Sent from my HP Slate 7 using xda premium
Got this looking sweet now...
Xposed framework installed....http://forum.xda-developers.com/showthread.php?t=1574401 rovo89 thanks for this great xploit....
XTheme engine installed.....https://www.dropbox.com/s/3ciz2clswmxa6i7/XThemeEngine_beta5.apk ruqqq you rock....
Tablet ui module installed...
Deodexed.......universal deodexer....http://forum.xda-developers.com/showthread.php?t=2213235&highlight=deodexer thanks abcdjdj....
BB keyboard....
Inverted Google now.....http://www.designrifts.com/teamblackedoutapp/ team blackout.....
Well in mate it looks nice. I hate you only because it works for and nitot me lol.
Im gunna give this another go on another machine incase I installed it wrong.
Let me know if you get a working method.
Sent from my HP Slate 7 using xda premium
Oh c'mooon !! You can't have rooted and deodexed bla bla i can't get it rooted..
drifter94 said:
Oh c'mooon !! You can't have rooted and deodexed bla bla i can't get it rooted..
Click to expand...
Click to collapse
Sent from my HP Slate 7 using xda premium
Deodexed......
beyored said:
Sent from my HP Slate 7 using xda premium
Deodexed......
Click to expand...
Click to collapse
Haha, i wasn't saying it's impossible.. I was saying that it's not fair that you managed to get that and i didn't... I can't get adb to work
Sent from my HP Slate 7 using xda app-developers app
drifter94 said:
Haha, i wasn't saying it's impossible.. I was saying that it's not fair that you managed to get that and i didn't... I can't get adb to work
Sent from my HP Slate 7 using xda app-developers app
Click to expand...
Click to collapse
lol i know.....have you installed the drivers
beyored said:
lol i know.....have you installed the drivers
Click to expand...
Click to collapse
Yes, i tried loads of tutorials, 3 different pcs, 2 cable, different download files.. 0, can't connect tablet to adb
Sent from my HP Slate 7 using xda app-developers app
Did you change the .ini file and the config file? In work at the moment can give you tonight
Sent from my GT-N7105 using xda premium
Mate have you done something to your HP Slate that I haven't? Or you have a special one.
Adb works fine for me. Gaining root does not. Same error. Cannot do on a production build.
Any updates done before root? Mine was out the box and straight to the laptop for rooting. I downloaded the backup firmware from HP's site and not used it.
Sent from my GT-N7105 using xda premium

Categories

Resources