[Q] how to setup cygwin and dxida kitchen.... - Samsung Galaxy Fit GT 5670

well my question is ...
can any1 help me how can i install and use the kitchen nd cygwin pakage....
m unable to use either of them...pls help....

see the original thread for kitchen its very simple to set up.
just search for kitchen in search box and follow instruction in that thread

-HellRaiser- said:
see the original thread for kitchen its very simple to set up.
just search for kitchen in search box and follow instruction in that thread
Click to expand...
Click to collapse
but as given in the thread i mean ithe thread in our fits development section....
thread named "how to develop roms "
i tried in dat way but...was not able to get required results

i think that thread is not accurate.
pls see original thread for kitchen.

How to set up cygwin?
HTC Kitchen

quite.........different...

Aspire said:
How to set up cygwin?
HTC Kitchen
Click to expand...
Click to collapse
sorry yar....
i mean the link to kitchen just shows the way to which i can install kitchen on mac OS i think its nt for windows...can u just tell me smthng more

there's nothing to install in kitchen
just extract the archive in C:/kitchen
run cygwin
cd C:\Kitchen
./menu
---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------
btw ./ is used to execute stuff in linux via terminal

Aspire said:
there's nothing to install in kitchen
just extract the archive in C:/kitchen
run cygwin
cd C:\Kitchen
./menu
---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------
btw ./ is used to execute stuff in linux via terminal
Click to expand...
Click to collapse
i m sorry...noob there...cd C:\Kitchen...you mean creat a directory Kitchen in C drive or simply a folder named Kitchen
.....after this wat to do wid that "./menu"...
i mean how should i do this..

Download HTC Kitchen
Extract in a folder called Kitchen in C Drive
Run Cygwin
type cd C:\Kitchen
type ./menu
Follow the instructions.

Aspire said:
Download HTC Kitchen
Extract in a folder called Kitchen in C Drive
Run Cygwin
type cd C:\Kitchen
type ./menu
Follow the instructions.
Click to expand...
Click to collapse
i installed cygwin...but where shud i type these
type cd C:\Kitchen
type ./menu
u know....i opened cygwin....i wrote cd C:\Kitchen after that when i wrote ./menu it showed nothin.. command not recognised....this was the thing ....
i mean msg on the window....

hang on
i'll post some screenies.

The command window should be similar to this.

Related

[i9001][DEV/GUIDE]----Make your own ROM & KERNEL!----

Ok,let's start with kernel first....
I want this guide to be n00b friendly...so lets start!
1)Install Ubuntu 10.10 or later(virtual distro may work too!)......Ubuntu coz its easy for beginners....This guide should work on Fedora distros,but u will need to download separate packages.
Use this for samsung devices:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
2)Download the source code from opensource.samsung.com(easier) or sync the sources from the git repo(easy,but download the tarball as its even easier!)
3)Open terminal and download the the necessary tools:
For 32/64 bitsi use this)
Code:
apt-get install git-core gnupg sun-java6-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
For 64 bits ONLY:
Code:
ia32-libs lib32z1-dev lib32ncurses5-dev gcc-multilib g++-multilib
4)Download the code soucery toochain:Toolchain
Note:This is an old toolchain.u may/should use a newer one...(optional)
ur machine is good to GO!
Ok,so i assume u have set up your machine
Now,all of the files should be placed in ~/Downloads (for my convinience to explain!but u may put it anywhere)
extract the sources and everything else u downloaded....then go into the top directory
Code:
cd Kernel
u enter into the root of the kernel directory with this
then type :
Code:
gedit Makefile
The Make file will open.........look out for this and change CROSS_COMPILE= "your toolchain path"
EXAMPLE:
Code:
CROSS_COMPILE ?= /home/sarthak/Downloads/Toolchains/arm-eabi-4.4.3/bin/arm-eabi-
This will open up the Makefile in a gedit,and the changed values will correspond to wherever u placed your toolchain................the EXTRAVERSION refers to current sub-version of your linux kernel version on ur phone
Get the config from your phone..Type:
Code:
adb pull /proc/config.gz
This will fetch a working config from the current kernel on your phone....u can alternatively make a new one with "make menuconfig"
Then gunzip it and copy it to to ur kernel source root:
Code:
gunzip config.gz
rename to .config
Now,make the necessary changes in your source.When you are done,type:
Code:
make -jX
,where X=no.op cpu threads multiplied by 1 or 2.
Sit down and have a smoke!
The resulting kernel will be in Kernel/arch/arm/boot/zImage
Easy,ain't it?
Remember,this guide doesnt teach u how to make particular changes,it just helps u setting up your build environment and compiling from a given source.
This will work for all android phones!
Making Rom Under Windows
This post is for making your custom rom under Windows environment..
FEw basic steps based on guide by bangalore rohan
-Cygwin
-Android Kitchen by dsixda
-Patience
-Base ROM(like xxkps,zskp7,etc.)
LOOK AT THIS POST FOR A KITCHEN THAT SUPPORTS i9001
-MagicISO
PS-> WIndows 7 users set the UAC level to minimum until you finish the whole thing. And also, make sure that nothing wxcept the META-INF folder in your ROM ins capital in letters!
STEP 1
First of all, let us get the ROM files:
A)
Download terminal emulator from market.
Then open it and type 'su' without quotes and press enter. Then it will ask for root rights.
Grant them.
Then type this line and press enter key
Code:
tar -c /system/* >> PDA.tar
You will get a file named pda.tar in ur sd card.
Then after that type 'mount'
While getting pda.tar if ur phone hangs wait for sometime if it still doesn't repond then remove battery and start the phone .
2)Another way to get the files
Get something like Root Explorer from market........
Copy the /system folder somewhere and put it onto ur comp.
After that, you may find something with folders like, : app, vendor,etc,media and xbin.
NOTE-There are other ways,like mounting the system.ext4.img in linux....
Step 2:Installing cygwin on Windows(U dont need this on linux!)
Installing the Cygwin and Setting up the Kitchen
Download the Cygwin files attached below. Extract the zip to a folder. Now, you can see 3 icons, a read-me,a setup, and a folder. Choose the setup. Here You will choose install from local directory. Next, Navigate to the the folder of extraction of cygwin and choose the folder Cygwin_packages inside the cygwin extraction folder. Wait for some time. Then, You will come across a list of file. Click the 2-circle-arrows,untill, it displays “install”
After the procedure is complete, run the batch file. Now, minimise it and extract the android kitchen.
Keep it in some location like C:\Kitchen
Now, open the batch file window and type
cd C:\Kitchen
Wait for some time and then when the location the changed, type
./menu
As this is a HTC kitchen, you can't use all the features.....U can also manually make changes w/o use kitchen.
Go back to the directory,and make a .zip(I REPEAT-A .zip) of the files like META-INF,data,system etc.
When u r done,u r good to flash it !
Ending Notes/Tips
Do not forget to sign the rom!u can find it in the rom kitchen menu..
Its pretty much the same of linux,but
*U dont need to install Cygwin(or u cant!)
*It's much faster!
U can also use kitchen to unpack/re-pack a boot.img of ur choice.
To get boot.img,download any kernel,take the boot.img out,and using kitchen,split it
U will get ramdisk and zImage....Replace the zImage with your own!
Then pack it again...
To make updater-script,use META-INF from some other rom,or make ur own..
WANT TO MAKE UR OWN THEME?Take a look below..........(by wilfredcool007)
Theme Developing, XML Editting:
Tools Needed :
APK Manager Photoshop or other photo editing software’s ( corel draw etc etc) FS Resizer or GIMP NOTEPAD ++ From the start:
Make sure u hav a deodexed ROM….If your ROM is not deodexed dendsixda's kitchen with the help of cygwin to deodex…. You will get a zip or rar file in which u will find “meta inf” and “system”…. We will be concentrating only on the system folder…..Extract it to the desktop or which ever location u want…. Inside the system folder u would see folders called “app” “framework” “media” “bin” etc…. Let me explain what does these folders Hav to do,,,,,
v “app” is the major folder which has to do with all the pre installed apps(default apps) like calculator camera mms(messaging) touchwiz bluetooth etc…..
v “framework” is the folder associated with the body formation (i.e) the skeleton of out fit…..examples like the battery icon,icons in the notification panel like “autorotate” “Wi-Fi” “GPS” etc….
v “media” consists of “bootanimation.zip” file allows u to change the boot animation ( we would discuss about this later)
Procedure for only ICON changing
TUTORIAL ON HOW TO CHANGE THE ICON OF APPS:
STEP 1: First go into the “apps” folder and extract everythin(if u wish extract everythin or extract only the file u want) to the desktop…….
Don’t be bothered about the .odex files… concentrate only on the .apk files….. for ex: if u wish to change the “messaging” icon…select mms.apk….enter into that and u would find folders called “res” “metainf”…….. ENTER into “res” folder and u would see folders such as “drawable” “drawable ldpi”( or similar to that) leave the folders like “xml” etc and just concentrate on “drawable-ldpi” and extract it to the desktop…..enter into that folder and u would find all the images which u see on the mobile while messaging….. Hope u would remember how the icon for the messagin app be….now search for that….for this apk it would be as “ic_launcher_smsmms”….. and BINGO your done…… download a png of the icon u want from google (for that go into google and type message icon png and select images…. Select the image of ur choice and save it) now copy that downloaded image (for ex the downloaded image name is 123.png replace that name to “ic_launcher_smsmms”)After renaming it copy and replace the default image in the “drawable ldpi” folder….. Similarly make changes for wat ever icon u want but REMBEMBER the icon ur changing should hav the same name of the default icon” Since u’ve modded(changed) only the “drawable ldpi” folder copy that folder in which u hav changed the icon to the folder in “res” of “mms.apk”…… to make it clear delete the default drawable ldpi and replace it with the one u modded from the desktop……(to replace just drag from the desktop to the rar file) IF WINRAR asks a confirmation “update changes made” click YES…… cool now u’ve changed the icon of the messaging app…. Similarly try replacing the default icon of the calculator camera dialer tab activity etc by just moving into the apk file “res”à”drawable ldpi (hdpi, land-ldpi or wateva) To go more interior take dialer tab activity and follow the above steps first.,….den replace the number icons, dialer_tab_background image with any image u like J but it should be of PNG and of the same default name while replacing it in the folder…… That’s it now u’ve learnt how to change the icons and images…… Now do the reverse of STEP 1….. copy the modded(changed) apk files from the desktop into the “system”à”app” folder and don’t forget to save the changes….. TUTORIAL ON HOW TO CHANGE THE ICON OF FRAMEWORK:
SIMILARLY just like how u replaced the icons of “apps” try replacing icons of framework folder…. Open “framework” folder…..u’ll find many .JAR files and “framework-res.apk” and “twt-framework.apk” Go into framework-res.apkàresàand extract drawable (ldpi,hdpi,mdpi,land-hdpi) or wateva file is der to ur desktop…. Just as how u did it in “apps” replace the PNGS in it…. For ex: replace the alarm clock icon “auto rotate” “vibrate” “sound””battery icons” etc….. After doing all the changes in drawable folder replace the drawable folder in “framework-res.apk” and replace this “framework-res.apk” in the framework folder of the RAR file…. XML EDITTING:
XML editing is the trickiest and difficult part yet a challenging part
To do this u must need “apk manager” version 4 or higher…..
These are the folders inside the apk manager
Take the apk file for which u r goin to edit the xml for example to change the conversion of sms to mms from 4pgs to any no of pgs u want……copy the “mms.apk” file from “system”à”app” to “PLACE APK HERE FOR MODDING” of the apk manager….. HINT: for beginners u can edit only one file at a time :O After this open “SCRIPT”
ULL find a window like this…..IF u hav placed mms.apk file in “PLACE APK HERE FOR MODDING” den “NONE” would be shown as “mms.apk” or if u had placed “touchwiz.apk” it would show as “touchwiz.apk” on the place of NONE
Now press no 9….. the “DECOMPILING” would start and would finish with no alert…
now go to the “APK manager” folder and go into “PROJECTS” u’ll find mms.apk or wateva apk u hav used….
Den go into “RES”à”XML” ..... u’ll find “mms_config” open it with notepad or notepad++….(notepad++ is advisable and recommended)
You will find a line called <int name="smsToMmsTextThreshold">4</int> replace that four with whatever number u want….
Well u hav learnt how to edit the XML’s also…….try to edit xml of touchwiz (androidmanifest.xml) to enable touch wiz rotation or touchwiz(launcher_config{to change number of rows and columns}….”default_mainapplication_order”{to change order of the apps in the touch wiz}
All the changes must be made in the projects folder and COMPILE it again by pressing number 11…..
copy the COMPILED .APK back into “apps” or “framework-res” or from wer ever u took the apk file…..
THEME DEVELOPING DOESN’T COME WITHIN A DAY SO TRY IT REPEATEDLY TILL U GET THE ART OF IT
Click to expand...
Click to collapse
Make An Odin-Flashable One-Package(by broodplank1337)
Here's how to make an odin flashable:
unpack the base rom:
adsp.mbn
amss.mbn
boot.img
cache.img.ext4
preload.img.ext4
recovery.img
system.img.ext4
Now go into adb shell and do:
Code:
adb shell
su
mount -o remount rw /system
dd if=/dev/block/mmcblk0p8 of=/sdcard/boot.img bs=4096
dd if=/dev/block/mmcblk0p13 of=/sdcard/recovery.img bs=4096
dd if=/dev/block/mmcblk0p15 of=/sdcard/system.img.ext4 bs=4096
copy those files in the base rom dir
then do the following:
Code:
tar -c adsp.mbn amss.mbn boot.img cache.img.ext4 preload.img.ext4 recovery.img system.img.ext4 > craniumrc5.tar
then do this:
Code:
md5sum –t craniumrc5.tar >> craniumrc5.tar
mv craniumrc5.tar craniumrc5.tar.md5
Click to expand...
Click to collapse
NOTE:U can change 'Cranium' to anything u wish!
Windows users,take a look at this for managing .tar.md5 archives!(buy nikagl)
DOWNLOADS
Rom kitchen by dsixda
Cygwin packages
Sign Your Zip
QtADB(Nice Software to manage ,well Everything!)
Sample Kernel Sources On Github
Cranium Kernel by sakindia123
Feacore_Phoenix by manveru0
sakindia123 said:
finally the last one.this should be enough!
Click to expand...
Click to collapse
Reading and waiting
Sent from GT-I9001 using XDA Premium
i'll try to install those tools in Arch Linux. Wish me luck cuz i m really nOOb)
Arch Linux a simple, lightweight linux distribution
u cud say i completed the guide ,so go ahead and take a look!
A good one... but isnt the theme devoloping which u've written is my file...
wilfredcool007 said:
A good one... but isnt the theme devoloping which u've written is my file...
Click to expand...
Click to collapse
yup i know........that's i put it in quotes
didnt know u were on xda.......will add ur name der
sakindia123 said:
yup i know........that's i put it in quotes
didnt know u were on xda.......will add ur name der
Click to expand...
Click to collapse
^_^ cool thanks
---------- Post added at 06:01 PM ---------- Previous post was at 05:45 PM ----------
http://www.multiupload.com/IBYDUCRX4S
@sakindia123: the above link is a file which helps in auto signing the ROM
thought it might complete ur work
Updated the guide with even more information!
a lil of something about adding modules would be nice too
oh , u might also find this thread useful ( yes yes i'm aware it's a whole different kernel on the desire )
thanks for that link...pretty interesting stuff!
also, u might do "make modules" or even "make" to compile modules...
hope u finish your guide,otherwise I have installed ubuntu for nothing
sakindia123 said:
Ok,let's start with kernel first....
2)Download the source code from opensource.samsung.com(easier) or sync the sources from the git repo(easy,but download the tarball as its even easier!)
Click to expand...
Click to collapse
Colud you provide commands(for git repo) and links(what to download from samsung.com) for this part??
sakindia123 said:
4)Download the code soucery toochain:Toolchain
Note:This is an old toolchain.u may/should use a newer one...(optional)
Click to expand...
Click to collapse
Could you provide link for latest toolchain, because i cannot find last one.
Sorry for asking details but it would be nice if that HOWTO was for Noobs .
And of course, done a very good job.
oisis said:
Colud you provide commands(for git repo) and links(what to download from samsung.com) for this part??
Could you provide link for latest toolchain, because i cannot find last one.
Sorry for asking details but it would be nice if that HOWTO was for Noobs .
And of course, done a very good job.
Click to expand...
Click to collapse
i will upload new toolchain later
and i just saw that i9001 doesnt have a git repo by samsung................
in the search field,search for "i9001"...as simple as that!
BTW, to clone any repo,here's the syntax
Code:
git clone url
where url is replaced with the url of git repository
sakindia123 said:
i will upload new toolchain later
and i just saw that i9001 doesnt have a git repo by samsung................
in the search field,search for "i9001"...as simple as that!
Click to expand...
Click to collapse
So we have to download from this site latest SGS+ package: GT-I9001_OpenSource.tar.gz. Right?
sakindia123 said:
BTW, to clone any repo,here's the syntax
Code:
git clone url
where url is replaced with the url of git repository
Click to expand...
Click to collapse
So this part is not working for us because there is no GIT repo for i9001.
What about the kernel, it can be any linux kernel or we have to download kernel for Android from some site? I just download Cranium kernel but maybe someday will need vanilla kernel(not from Cranium).
I created a thread for DOS (sorry, no unix, could have done that too but mainly use my Win7 laptop for this stuff) scripts that allow building the Odin package based on broodplanks instructions:
http://forum.xda-developers.com/showthread.php?t=1399356
Regards,
Nika.
if u want to compile vanilla kernel,first clone the Cyanogen Mod kernel source like this (since android servers are probably down)
Code:
git clone git://github.com/CyanogenMod/cm-kernel.git
For more instructions,take a look here

[Q] Rooting via Mac Terminal (Command not found)

So I'm trying to root my Atrix 2 via Mac & i keep getting command not found. Then if i add ./ before an adb command (Example: ./adb push zerg /data/local) "No such directory or file". What am I doing wrong?
The rooting guide for Atrix 2: http://forum.xda-developers.com/showthread.php?t=1327741
P.S. I have the exploit folder on my desktop and I changed the directory to the exploit folder. (cd /Users/tech2332/Desktop/Exploit) In case you were wondering.
Does it have anything to do with the adb file having the .exe extension? Or is it something else?
If I'm not mistaking this has to be modified to run with Mac....and I don't have a clue how to help you with that
I can't remember the specifics, but there is a hidden file (.bash_profile) that you have to modify in order to use adb from any directory on your mac. Without doing this, adb commands will only work when you are in the /platform-tools directory.
This page might help:
http://www.99bits.com/2010/12/how-to-setup-adb-on-mac/
---------- Post added at 02:44 PM ---------- Previous post was at 02:35 PM ----------
Your other option is just to copy the files from the exploit directory into the platform-tools directory and run the commands from there.
Thanks for the answers. I think I got it working. I used this link on XDA to edit the (.bash_profile). http://forum.xda-developers.com/showthread.php?t=1387527
Yep, I got root. Easy as pie! Thanks for the quick responses to both of you.
Good to know it worked ...I will get it added to the beginners thread
tech2332 said:
Thanks for the answers. I think I got it working. I used this link on XDA to edit the (.bash_profile). http://forum.xda-developers.com/showthread.php?t=1387527
Click to expand...
Click to collapse
Awesome! Us mac users are definitely in the minority here, but it can be done!
The only thing I've had to use a Windows machine for is using RSD Lite. Tried to use it with a Windows VM in VirtualBox but getting the USB to work properly is next to impossible. If you plan on doing any flashing with RSD Lite, you'll have to use Windows.

How to extract Smasung Galaxy Pcket tar.md5 Stock ROM

A friend of mine Spent a lot of time searching how to extract Galaxy Pocket GT-S5300 stock tar.md5 ROM!
That was for building Custom Arabic ROM because there is no Arabic Custom ROM for this Device yet.
i searched for a simple working Tutorial but i did not find ,, it is here in XDA Devs But Separated in more than thread..
So i just will refer to the threads and things are so simple:
A: Extracting tar.md5 ROM file : S5300JPLJ1_S5300OJPLI1_S5300XXLJ4_HOME.tar.md5
use this thred and TuT:
http://forum.xda-developers.com/showthread.php?t=2265298
and this is the command for this ROM (you can copy and paste it into the Terminal) :
PHP:
./splitfus2 -a -s -w2 S5300JPLJ1_S5300OJPLI1_S5300XXLJ4_HOME.tar.md5
B: Extracting System.img file contents for editing : Use this :
Step 1 download dsixdas android kitchen
download and install Cygwin
http://forum.xda-developers.com/showthread.php?t=633246
for windows go to the : 1) Windows (2000, XP, Vista, 7, 8) section.
Step 2 get your system.IMG and put it in original_update
Step 3 open terminal emulator or Cygwin in windows.
Go to where you extracted the kitchen
In my case its "cd kitchen"
Step 4 type ./menu wait for the GUI to pop up and choose create working folder and this will automatically extract the system.IMG that you have in your original_update folder
Step 5 wait and when its done it will mount system.IMG or something
Edited from : http://forum.xda-developers.com/showpost.php?p=45369856&postcount=6
and go to the work folder and you will find everything extracted .
***** we request proffisional XDA developers help in editing and imporoving this thread please.*****
Sorry for off topic, is there any stable rom for our device that has android 4.+? Ca I ask for the link?
Thanks!

[GUIDE][TETHERING] Clockworkmod Tether via USB

CLOCKWORKMOD TETHER via USB for Linux Users​
-- This guide is in reference to Ubuntu 13.10 (May work for other versions)
-- These are NOT instructions for Windows users - So please stop here if you do not use Linux
The main reason I had trouble is that the included adb file with the linux Clockworkmod Tether app would not work. Period. Nothing I tried would execute it, ./adb devices for example would return adb: No such file or directory, even after changing it to executable with chmod or with the properties dialog...
-- I have gotten this to work with the help of several posts on various websites and will be reposting some code that helped.
-- This guide has been written while currently tethering from my device. Let's begin....
1. Download and install the Clockworkmod Tether app on to your phone.
2. Open a terminal in Ubuntu (I use Guake Terminal), and enter:
Code:
[B]sudo apt-get install android-tools-adb[/B]
-- This will install the proper adb files on to your system
-- If you have already done this previously in the past, then step 2 is not required.
3. Open a browser E.g. Firefox and search for Clockworkmod Tether. Go the the google play website for the app, scroll down and click to download for the Linux version.
-- Also, you can open up the app on your device and download it from there and then transfer the file over to your computer.
4. You should have a .tgz file now. Extract it to wherever you want. I personally have it kept in a folder called 'development' in my home directory. You should now have a folder named Tether.
5. Open the Tether folder and navigate to the linux sub-dir. Here you should have 2 files: adb and run.sh. Open run.sh with a text editor.
6. Replace the line that looks like:
Code:
[B]../linux/adb start-server[/B]
with
Code:
[B]adb start-server[/B]
7. Save and exit ./run.sh.
8. Now go back to the Tether dir and go to node-tuntap dir. Open adb.js in a text editor.
9. Replace the line that looks like:
Code:
[B]adbPath = '"' + path.join(process.cwd(), adbPath) + '"';[/B]
with
Code:
[B]adbPath = '/usr/bin/adb';[/B]
10. Save and exit adb.js
11. Go back to the terminal and enter:
Code:
[B]sudo gedit /etc/udev/rules.d/70-android.rules[/B]
then paste in this:
Code:
[B]SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"[/B]
12. Save and exit 70-android.rules.
13. You need to compile CLockwork Tether before running run.sh. To do so, make sure you have the proper dependencies installed like g++ then go to Tether/node dir in terminal and enter:
Code:
[B]./configure[/B]
then enter
Code:
[B]make[/B]
If everything went well, you should be able to run ./run.sh​
14. Plug in your phone to the computer via usb, make sure it's not set to mass storage (the disk drive shouldn't be mounted). Start the tether app on your phone.
15. Disconnect from all networks (ethernet, wifi, etc.) on Ubuntu.
16. Back in your Ubuntu terminal change directory to the Tether dir, then enter:
Code:
[B]sudo linux/run.sh[/B]
-- Only if necessary, in another terminal enter:
Code:
sudo ifup tun
Congratulations, if all went well, you should be able to load web pages in your browser, as well as do other things online so long as you have good cell reception.
--- Happy Hunting!!
well, kinda good, but what if? no Wi-Fi or internet connection? then sudo apt-get can not work lol
also, it was much easier when I did it this really seems like the long way around lol
#EDIT
I also got it working with downloading what I needed via phone, then transferring it to the Linux box, without available internet connection to the computer, until I got clockworkmod tether running, of course
---------- Post added at 07:12 PM ---------- Previous post was at 07:06 PM ----------
it is good to see this here though, I repo synced using my 4g lol(so fast)
---------- Post added at 07:17 PM ---------- Previous post was at 07:12 PM ----------
Modding.MyMind said:
Code:
sudo ifup tun
Click to expand...
Click to collapse
also, what's this? For
---------- Post added at 07:21 PM ---------- Previous post was at 07:17 PM ----------
I bought a usb-to-Ethernet coupler so when I plug it in to use clockworkmod tether it's recognised by the Ubuntu Software Center as a wired connection, without it just running it through usb port 3.0 or 2.0 I could never click the install button I had to Google the apt-get for installing additional add-ons and software
---------- Post added at 07:28 PM ---------- Previous post was at 07:21 PM ----------
ps
I'm running on no sleep the past 46 hours and lots of red bull and rockstar! Sorry if I'm coming off...heh, different..
Hahahahaha you need sleep bro
Sent from my C525c using Tapatalk
I used my cell phone also. I don't have WiFi so there was no choice but to use my device and then transfer everything over, but that should be relatively explanatory for those with no WiFi lol.
Sent from my C525c using Tapatalk
I'm working on it, gotta change my usual sleeping habits, my chick got a graveyard shift(second job)
I'm playing Mr mom watching the kiddo and working the watching the kiddo some more, he's git lots of energy
The steps I provided literally took me about ten minutes at most. The longest part was compiling using gcc and g++
Sent from my C525c using Tapatalk
russellvone said:
I'm working on it, gotta change my usual sleeping habits, my chick got a graveyard shift(second job)
I'm playing Mr mom watching the kiddo and working the watching the kiddo some more, he's git lots of energy
Click to expand...
Click to collapse
I know how that is. Prior military lol.
Sent from my C525c using Tapatalk
ditto, what branch?
regular Army here
88 Mike truck driver lol
russellvone said:
ditto, what branch?
regular Army here
88 Mike truck driver lol
Click to expand...
Click to collapse
Marines, 3531, Motor Transport Operator.
Sent from my C525c using Tapatalk
sweet, he's out....my turn
you learn in military service that 4 hours is ask you need per 24, hopefully I'll get 8 tonight
---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------
Modding.MyMind said:
Marines, 3531, Motor Transport Operator.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
hoo rah friend, I've got an extra usb to Ethernet if you want it.
got a multi pack from Amazon for small price, do you have the same issue I did with the software center in ubuntu?
russellvone said:
sweet, he's out....my turn
you learn in military service that 4 hours is ask you need per 24, hopefully I'll get 8 tonight
---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------
hoo rah friend, I've got an extra usb to Ethernet if you want it.
got a multi pack from Amazon for small price, do you have the same issue I did with the software center in ubuntu?
Click to expand...
Click to collapse
Not yet. Seems good so far.
Sent from my C525c using Tapatalk
I'll take it though lol.
Sent from my C525c using Tapatalk
you can click 'install' while using clockworkmod tether?
I never could
PM me a P.O. box or whatever your comfortable with, I'll send it your way soldier
russellvone said:
you can click 'install' while using clockworkmod tether?
I never could
Click to expand...
Click to collapse
Probably because I have certain stuff installed. When I first got Ubuntu up and going I was installing all kinds of stuff. Couldn't tell you off the top of my head lol.
Sent from my C525c using Tapatalk
Thanks for a superb guide.
I manage it to work on 2 different machines.
Now I am googling and cannot find how to add shortcut on desktop, so user do not need to run it from terminal.
I have a shorcut on desktop now, but after a while window dissapear and script is not running.
There is *internet.desktop file - which is a shortcut I believe. Inside it is:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
StartupNotify=true
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=internet
Exec=/home/marta/Templates/Tether/linux/run.sh
Comment[en_GB]=Run program as root
Name=internet
Comment=Run program as root
Icon=gnome-panel-launcher
GenericName[en_GB]=tethering from usb
I am on 12.04.
Any advice appreciated.
p.s.
just forgot to add that main user is not geek so I want to be simple as possible.
mazak23 said:
Thanks for a superb guide.
I manage it to work on 2 different machines.
Now I am googling and cannot find how to add shortcut on desktop, so user do not need to run it from terminal.
I have a shortcut on desktop now, but after a while window dissapear and script is not running.
There is *internet.desktop file - which is a shortcut I believe. Inside it is:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
StartupNotify=true
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=internet
Exec=/home/marta/Templates/Tether/linux/run.sh
Comment[en_GB]=Run program as root
Name=internet
Comment=Run program as root
Icon=gnome-panel-launcher
GenericName[en_GB]=tethering from usb
I am on 12.04.
Any advice appreciated.
Click to expand...
Click to collapse
I wish I could help, but I keep my desktop clear in all honesty. I run mostly everything in the terminal. A habit you could say lol. Though, when I get by my computer again I will take a look at what you mentioned. I haven't noticed it personally, but like I said; Using terminal is my preferred method.
Sent from my C525c using Tapatalk
You ROCK!
I know this thread is a bit aged but I had just installed Clockworkmod Tether on my Funtoo linux machine and had the same issues you mentioned.
I basically followed the guide with a few differences.
First off...anyone using Gentoo/Funtoo the best way to grab ADB is to emerge dev-util/android-tools (MUCH smaller install) or dev-util/android-sdk-update-manager (newer ADB but not sure it makes a huge difference)
If you have a problem with the compiling phase make sure to 'eselect python list' and then do 'eselect python set #' and substitute the # with the actual number that contains python 2.7. In my case I did 'eselect python set 1'. After that it should compile fine.
I have tested it and it is working great man! Thanks a lot!
If you read this then Merry Christmas and Happy New Year!
Thanks!
This guide worked perfectly on the latest version of Ubuntu 16 as of 2017-04-26
Thank you very much for taking the time to create it.
hello here, i have follow all the step but wen i trying to compile with ./configure and Make it show me this error:
Traceback (most recent call last):
File "./configure", line 463, in <module>
configure_node(output)
File "./configure", line 370, in configure_node
o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1]
how to solve it please???

[Q] Dumping system partition to PC?

Hi,
My Android phone (I9100G) is on stock firmware, but I rooted it. I want to dump (copy and paste) /system folder's files from phone to PC. I tried adb pull /system system/ in cmd.exe but he skips special files in system folder. It says "skipping special file" and doesn't copy all files to PC. I also followed this tutorial: http://forum.xda-developers.com/showthread.php?t=2450045 but I have no system partition. I have these partitions only (Look at attachment).
I'd appreciate your solutions. Please find a way to dump system files to PC.
Thanks in advance.
**Bump**
Really need help.
I could be wrong cause I use Linux not Windows (i assume your using Windows 7 or vista) but your command seems wrong.
Let's say you want to pull system to a folder on your desktop called system. Command should read.
Adb pull /system /users/yourusername/desktop/system.
NOTE: also as your using Windows I don't know if you need to provide the drive letter in the path to you folder on the desktop. e.g c:/users/yourusername/desktop/system.
Hope this helps good luck ?
Sent from my HTC One - ARHD 53 using xda developers app
---------- Post added at 10:11 AM ---------- Previous post was at 10:04 AM ----------
One more thing, when you luanch cmd.exe do so as administrator, right click cmd.exe and select run as administrator.
Sent from my HTC One - ARHD 53 using xda developers app
@Danny201281 Thanks for help, but I lately realized that this may be a permission problem. Here is my /system/app folder in Root Browser app: (Look at attachment)
I realized lots of files have 0.00 bytes. And adb cannot pull these files and calls them "special". Also /system/bin folder's all files have 0.00 bytes.
Waiting replies, thanks.
Possibly a partition or file system problem.
Running check disk in adb can fix these type of problems.
e2fsck -fvy /dev/block/mmcblk0p35
Works for my HTC One you may need to check the device specific forum for the correct command for your phone
Check this link
http://www.linuxspy.info/606/when-and-how-to-runexecute-e2fsck/
Sent from my HTC One - ARHD 53 using xda developers app

Categories

Resources