• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    Objective-C
  • Created about 14 years ago
  • Updated about 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

various modules to aide in 'rooting' the tmobile g2 (htc vision)
Welcome to the g2root arm foreign/hostile kernel exploration toolkit.

syntax:
CROSS_COMPILE=/opt/arm-2008q3/bin/arm-none-eabi- ARCH=arm make KDIR=[KERNEL SOURCE FROM WIKI] [clean|DOSTUFF=0|DOSTUFF=1]


Building the toolkit
                                                                                
   You'll need an ARM toolchain. The following assumes you're using the         
   CodeSourcery tools installed to /opt/arm-2008q3; otherwise, change the       
   CROSS_COMPILE variable. 

 $ git clone git://codeaurora.org/kernel/experimental.git kernel-source         
 $ git clone git://gist.github.com/619505.git module-source                     
 $ cd kernel-source && git checkout origin/aosp/android-msm-2.6.32-7x30-wip     
 & # The follow commands may need to be run with CROSS_COMPILE=/opt/arm-2008q3/b
 $ ARCH=arm make surf7x30_defconfig                                             
 $ ARCH=arm make oldconfig                                                      
                                                                                
   At this point you'll need to edit .config to match below:                    
                                                                                
 CONFIG_LOCALVERSION="-g814e0a1 "                                               
 CONFIG_LOCALVERSION_AUTO=n

   Modify Makefile so it starts with this:                                      
                                                                                
 VERSION = 2                                                                    
 PATCHLEVEL = 6 
 SUBLEVEL = 32                                                                  
 EXTRAVERSION = .17                                                             
                                                                                
   Continue as follows:                                                         
                                                                                
 $ ARCH=arm make prepare                                                        
 $ ARCH=arm make scripts                                                        
 $ cd ..                                                                        
          
taken from:
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Building_a_basic_kernel_module
(thanks FatTire and dpw13_)

then

 $ # The following line assumes the CodeSourcery cross-compiler                 

 $ CROSS_COMPILE=/opt/arm-2008q3/bin/arm-none-eabi- ARCH=arm make KDIR=[KERNEL SOURCE FROM WIKI] DOSTUFF=0

   Copy to a place on your G2 (or other device).

   On the G2 (in a root shell):

 g2# dmesg -c
 g2# rmmod module.ko
 g2# insmod module.ko
 g2# dmesg

   Test and make sure it doesn't blow up and the printed (in dmesg) addresses look sane (not 0 or fffx whatever) Then proceed to build the working version:

 $ CROSS_COMPILE=/opt/arm-2008q3/bin/arm-none-eabi- ARCH=arm make KDIR=[KERNEL SOURCE FROM WIKI] clean

 $ CROSS_COMPILE=/opt/arm-2008q3/bin/arm-none-eabi- ARCH=arm make KDIR=[KERNEL SOURCE FROM WIKI] DOSTUFF=1

   Now follow the same instructions to test. 




More Repositories

1

androix-xserver

The AndroiX Android DDX and frontend for X on Android
C
54
star
2

isymtope

Experimental hybrid redux+IncrementalDOM client and server-side rendering in Rust. (Pronounced like isomorphic + asymtope)
Rust
25
star
3

androix-xcb-libxcb

The AndroiX Android DDX and frontend for X on Android
C
22
star
4

incrust

Zero-cost incremental-rendering isometric web templates in Rust
Rust
12
star
5

msmb

msmb - lk-based bootloader for msm devices (adb and novacom support, uimage booting)
C
11
star
6

androix

The AndroiX Android DDX and frontend for X on Android (repo manifest)
10
star
7

androix-lib-libX11

The AndroiX Android DDX and frontend for X on Android
C
9
star
8

g2root-core

a version of android core.git that's just, uh, hmm, cooler
C
3
star
9

multiextract

extract uboot images to files (experimental)
C
3
star
10

g2root-legacy

clone of the android legacy bootloader and fastboot/mkboot image utilities
C
3
star
11

androix-proto-x11proto

The AndroiX Android DDX and frontend for X on Android
C
2
star
12

g2root-utils

Utilities for poking around on 'open' phones
C
2
star
13

nodecms

A basic content management system written for node.js with sammyjs
JavaScript
2
star
14

touchpad-tests

C
2
star
15

native-netbook

Native Netbook
Java
2
star
16

libbioboot

libbio, libfs, experiments for building bootloaders
2
star
17

g2root-dmtest

qualcomm diagnostics (dm) shell in tcl
Tcl
2
star
18

nativenetbook-nativeinit

Native Netbook (chroot init and xinit replacement)
C
2
star
19

androix-app-xkbcomp

The AndroiX Android DDX and frontend for X on Android
C
1
star
20

androix-build

The AndroiX Android DDX and frontend for X on Android (build scripts)
1
star
21

iot-snips-lifxhttp

Daemon for managing LIFX lights (using HTTP API) with Snips AI platform
1
star
22

androix-util-modular

The AndroiX Android DDX and frontend for X on Android (modular utils)
Shell
1
star
23

nativemarket

Native Market (open)
Java
1
star
24

androix-lib-libXfont

The AndroiX Android DDX and frontend for X on Android
C
1
star
25

androix-xkeyboard-config

The AndroiX Android DDX and frontend for X on Android (keymaps)
C
1
star
26

androix-installer

The AndroiX Android DDX and frontend for X on Android (native installer)
1
star
27

gext-proposal

Proposal for the X General Extension
1
star
28

androix-lib-libxtrans

The AndroiX Android DDX and frontend for X on Android
C
1
star