The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

How to Root Android Wear 5.0.1 Lollipop Devices – XDA TV

The Lollipop update for Android Wear devices has hit the market and people are … more

Android 5.0.2 and New Factory Images For Nexus 7 (Wi-Fi) Available

Android 5.0 is has been publicly available since early November, and the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Looking to Learn

OP Patb8man

22nd February 2010, 07:28 PM   |  #1  
Patb8man's Avatar
OP Member
Thanks Meter: 1
 
96 posts
Join Date:Joined: Mar 2009
Hello I frequent the boards...actually on a daily basis. I dont post a lot as you can see...mainly because the posts are usually thoroughly explained and I usually dont have a lot of problems that I cant already find the answers to.

I want to thank everyone who contributes to the board. I currently have the HTC hero and I have installed all but 1 of the current available roms, I had the Touch Pro before and the Touch prior to that. I have uses custom roms for all so a huge thanks to all the devs.

My reason for posting is I want to learn how to develop myself eventually but for now I have a specific question about getting the most out of my rooted HTC hero. Darchstar posted this:

adb shell remount
adb push e2fsck /system/bin
adb shell
cd /system/bin
chmod a+x e2fsck
a2sd
reboot

Its to enable apps2sd. I want to get a little help of understanding how to apply it. I rooted my phone so I did a lot of edits in cmd promt...but for me it was just a matter of following instructions I want to learn what I am actually doing and how to fully take advantage of rooting my phone. I dont use terminal emulator or SU really for anything because I dont understand how to use them or even the full extent of what they can do. I know theres a wiki...but I really dont know what to search. As of now I have been having devs do everything for me to an extent. I use a kitchen which is pretty much automated and I have just been following instructions on the board.

I am pretty good with computers, i build them and fix them all the time for people...and with phones also. Im a tech in a cellphone store so you can gather I am a tinkerer. I am not looking to be told how to do things and just follow the instructions I want to know what I am doing, even though here I have never been steered wrong. I want to be educated.

I know this post is long winded and I would like to thank everyone in advance for any help offered.
22nd February 2010, 07:42 PM   |  #2  
illogic6's Avatar
Senior Member
Thanks Meter: 80
 
994 posts
Join Date:Joined: Jul 2009
More
Quote:
Originally Posted by Patb8man

Hello I frequent the boards...actually on a daily basis. I dont post a lot as you can see...mainly because the posts are usually thoroughly explained and I usually dont have a lot of problems that I cant already find the answers to.

I want to thank everyone who contributes to the board. I currently have the HTC hero and I have installed all but 1 of the current available roms, I had the Touch Pro before and the Touch prior to that. I have uses custom roms for all so a huge thanks to all the devs.

My reason for posting is I want to learn how to develop myself eventually but for now I have a specific question about getting the most out of my rooted HTC hero. Darchstar posted this:

adb shell remount
adb push e2fsck /system/bin
adb shell
cd /system/bin
chmod a+x e2fsck
a2sd
reboot

Its to enable apps2sd. I want to get a little help of understanding how to apply it. I rooted my phone so I did a lot of edits in cmd promt...but for me it was just a matter of following instructions I want to learn what I am actually doing and how to fully take advantage of rooting my phone. I dont use terminal emulator or SU really for anything because I dont understand how to use them or even the full extent of what they can do. I know theres a wiki...but I really dont know what to search. As of now I have been having devs do everything for me to an extent. I use a kitchen which is pretty much automated and I have just been following instructions on the board.

I am pretty good with computers, i build them and fix them all the time for people...and with phones also. Im a tech in a cellphone store so you can gather I am a tinkerer. I am not looking to be told how to do things and just follow the instructions I want to know what I am doing, even though here I have never been steered wrong. I want to be educated.

I know this post is long winded and I would like to thank everyone in advance for any help offered.

The best way to learn about this stuff is to bite the bullet and install a Linux distro on your computer. I've also took up teaching myself to code Java in my spare time which will help you understand Android a lot better.

Also: You need an EXT partition on your SD to enable apps2sd. Is that what you're asking?
22nd February 2010, 07:48 PM   |  #3  
Patb8man's Avatar
OP Member
Thanks Meter: 1
 
96 posts
Join Date:Joined: Mar 2009
Thanks. I do have an ext partition on my card and it I am currently using it with gumbo 1.5c bare. I was just thinking about installing 2.1 and before I did I wanted to make sure I could enable app2sd. I was just using it as an example. I just want to learn in general. Is linus distro a version of the os I would dual boot with or does it emulate in windows? Also how did you just start java? A google search and article research, book or are you in school?
22nd February 2010, 07:52 PM   |  #4  
Is_907's Avatar
Senior Member
Flag N of Ft Worth, TX
Thanks Meter: 5
 
213 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by Patb8man


My reason for posting is I want to learn how to develop myself eventually but for now I have a specific question about getting the most out of my rooted HTC hero. Darchstar posted this:

adb shell remount
adb push e2fsck /system/bin
adb shell
cd /system/bin
chmod a+x e2fsck
a2sd
reboot

Its to enable apps2sd. I want to get a little help of understanding how to apply it. I rooted my phone so I did a lot of edits in cmd promt...but for me it was just a matter of following instructions I want to learn what I am actually doing and how to fully take advantage of rooting my phone. I dont use terminal emulator or SU really for anything because I dont understand how to use them or even the full extent of what they can do. I know theres a wiki...but I really dont know what to search. As of now I have been having devs do everything for me to an extent. I use a kitchen which is pretty much automated and I have just been following instructions on the board.

Basically these commands are installing the e2fsck, a program that formats a partition in the ext2 file system, so that apps2sd can run.

Here is a breakdown:
adb shell remount --remount the file system of your phone so you can write a file to it
adb push e2fsck /system/bin --copy the file/program e2fsck to the directory /system/bin on the phone
adb shell --switch from your computer's shell (cmd) to control the shell environment of the phone
cd /system/bin --change directory to work in /system/bin
chmod a+x e2fsck --change the permissions of e2fsck so that you can actually execute (run) it
a2sd --run apps2sd (a2sd) so that it can set itself up (it will call on e2fsck)
reboot --reboot the phone.

Hope that's what you were looking for.
22nd February 2010, 07:53 PM   |  #5  
Is_907's Avatar
Senior Member
Flag N of Ft Worth, TX
Thanks Meter: 5
 
213 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by Patb8man

Thanks. I do have an ext partition on my card and it I am currently using it with gumbo 1.5c bare. I was just thinking about installing 2.1 and before I did I wanted to make sure I could enable app2sd. I was just using it as an example. I just want to learn in general. Is linus distro a version of the os I would dual boot with or does it emulate in windows? Also how did you just start java? A google search and article research, book or are you in school?

(Sorry for double posting, folks... timing...)

I would highly recommend that you dual boot or install Linux on a spare computer until you are comfortable with it. If you want, you could run VirtualBox to emulate another system (VM) and install Linux there.
22nd February 2010, 07:59 PM   |  #6  
Patb8man's Avatar
OP Member
Thanks Meter: 1
 
96 posts
Join Date:Joined: Mar 2009
Quote:
Originally Posted by Is_907

Basically these commands are installing the e2fsck, a program that formats a partition in the ext2 file system, so that apps2sd can run.

Here is a breakdown:
adb shell remount --remount the file system of your phone so you can write a file to it
adb push e2fsck /system/bin --copy the file/program e2fsck to the directory /system/bin on the phone
adb shell --switch from your computer's shell (cmd) to control the shell environment of the phone
cd /system/bin --change directory to work in /system/bin
chmod a+x e2fsck --change the permissions of e2fsck so that you can actually execute (run) it
a2sd --run apps2sd (a2sd) so that it can set itself up (it will call on e2fsck)
reboot --reboot the phone.

Hope that's what you were looking for.

for the adb shell remount part when i hook the phone up to the computer w debugging on when I run a command prompt how do I get to the adb in the first place. I am not familiar with that to begin with. I know I had to edit it when I rooted my phone...but like I said I really didnt understand what I was doing it was just a matter of following instructions. Thank you for the detailed description of whats going on...thats where I want to be where I can just see that and decipher it.
22nd February 2010, 08:04 PM   |  #7  
5tr4t4's Avatar
Senior Member
Thanks Meter: 1
 
121 posts
Join Date:Joined: Nov 2009
Quote:
Originally Posted by Patb8man

Thanks. I do have an ext partition on my card and it I am currently using it with gumbo 1.5c bare. I was just thinking about installing 2.1 and before I did I wanted to make sure I could enable app2sd. I was just using it as an example. I just want to learn in general. Is linus distro a version of the os I would dual boot with or does it emulate in windows? Also how did you just start java? A google search and article research, book or are you in school?

Install Ubuntu Linux dual-boot, or short of that install VirtualBox or VMWare with Ubuntu running as a VM. You might also look at Wubi, a way to install Linux within Windows. I've never used it but it looks interesting.

Also, as with darch's post you mention, I'm no dev, learning as I go, but I use my Unix/Linux terminal chops MUCH more than java. Learn java if you want to write apps but if you want to help hack on ROM's, learn to use the shell. Android is Linux, after all.

As with anything, the best way to learn is to dive in.
22nd February 2010, 08:07 PM   |  #8  
Senior Member
Thanks Meter: 5
 
310 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by Patb8man

for the adb shell remount part when i hook the phone up to the computer w debugging on when I run a command prompt how do I get to the adb in the first place. I am not familiar with that to begin with. I know I had to edit it when I rooted my phone...but like I said I really didnt understand what I was doing it was just a matter of following instructions. Thank you for the detailed description of whats going on...thats where I want to be where I can just see that and decipher it.

adb is a utility that is in the tools folder of the android sdk, which you probably already have somewhere, because it is used to root the phone. Then you'll open up a command prompt, and navigate to the tools folder of the sdk. You'll 'navigate' using the 'cd' command. Once you're navigated the command prompt to the tools folder, you can run the adb program that is in it.

Edit: in general, it can be really helpful to know both DOS and UNIX commands, even if it's just the basic ones pertaining to copying, deleting, moving, renaming, etc. Here are two good cheat sheets: http://www.computerhope.com/overview.htm http://www.computerhope.com/unix/overview.htm
Last edited by thematrixkid17; 22nd February 2010 at 08:14 PM.
22nd February 2010, 09:04 PM   |  #9  
Is_907's Avatar
Senior Member
Flag N of Ft Worth, TX
Thanks Meter: 5
 
213 posts
Join Date:Joined: Dec 2009
More
Yeah, just go Start > Run > cmd (or if you're on Vista/Win7 do Start > cmd > Enter)
I do this once I have cmd running:
cd D:\Downloads\android-sdk-windows\tools
D:
adb devices
adb remount
22nd February 2010, 09:37 PM   |  #10  
Patb8man's Avatar
OP Member
Thanks Meter: 1
 
96 posts
Join Date:Joined: Mar 2009
Quote:
Originally Posted by 5tr4t4

Install Ubuntu Linux dual-boot, or short of that install VirtualBox or VMWare with Ubuntu running as a VM. You might also look at Wubi, a way to install Linux within Windows. I've never used it but it looks interesting.

Also, as with darch's post you mention, I'm no dev, learning as I go, but I use my Unix/Linux terminal chops MUCH more than java. Learn java if you want to write apps but if you want to help hack on ROM's, learn to use the shell. Android is Linux, after all.

As with anything, the best way to learn is to dive in.


Thanks very good stuff. I will check it out.

Thanks to everyone who posted so far I can see I will be up late tonight LOL.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes