yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] slimm609:
Major progress made on booting native backtrack linux. Kernel boots but it missing a driver so it drops into a ramfs but getting close.

off to bed
[G Tablet Android Development] kdj67f:
I was so excited I forgot we run an arm processor! Good work to the devs on this. And although it was probably an ethical thing to remove all the wireless functions for ARM builds, It would be much handier than lugging around my old laptop with it's ancient battery that barely last 45 minutes under load.

Many thanks, I am subscribing. Just wish I could help :D
[G Tablet Android Development] muqali:
This is pretty awesome. Might want to check the debian or ubuntu ARM community to find out how the wireless drivers work there. I'm assuming our ARM runs in it's normal little indian, not ARMEB mode, right?
[G Tablet Android Development] slimm609:
the wireless card is a broadcom 4329
[G Tablet Android Development] runner989:
The driver source thread is http://xdaforums.com/showthread.php?t=906628
[G Tablet Android Development] slimm609:
wifi is working now. tested with wpa-psk

New files coming tomorrow with wifi included.

the touchscreen is seen by the system and xorg just need to find the right configuration for it to work

now trying to compile as a single touch device because Xorg does not support multi-touch displays
[G Tablet Android Development] slimm609:
touchscreen is working. just working on calibration of it now. only single touch currently
[G Tablet Android Development] tenet420:
This is awesome...
[G Tablet Android Development] cj1171:
Soooo has anyone gotten BT5 to work booting within a ROM? I always get errors about loop devices..
[G Tablet Android Development] slimm609:
Read post 2 under the

************OLD WAY****************** section. This explains it.

pershoots gtab/zpad kernel works. The kernel must have loopback device support.

if /proc/config.gz exists you can check with

zcat -c /proc/config.gz | grep DEV_LOOP

and you should see

CONFIG_BLK_DEV_LOOP=y
[G Tablet Android Development] slimm609:
Got the 4 side buttons to work with a bit of a C and bash hack. Just need to finish up a few things with the buttons then will try to work on sound for a bit and see what we can do with it. there should be a new version up on the main thread in the next few days.
[G Tablet Android Development] KitsunePaws:
Keep up the great work! I'm looking forward to this replacing android on my gtab!!
[G Tablet Android Development] slm4996:
I have this running, I cannot login using the username "root" and password "toor" or "toortoor"

Going to have to hack a user into it to use it!
[G Tablet Android Development] slimm609:
Thanks for the info. will update and confirm it tonight
[G Tablet Android Development] slm4996:
To correct the password error:

cp /sdcard/etc/shadow- /sdcard/etc/shadow
sync

as the last thing in adb before you flash the kernel.

user: root

password: toor
[G Tablet Android Development] slimm609:
Thanks slm4996

i fixed the bt5.tbz2 to correct the password issue and added a new kernel to flash with nvflash. touchscreen will be coming very soon. its a ton of deps and takes a while to update the image off the gtab.
[G Tablet Android Development] slm4996:
Are you using pershoot's kernel? Any tweaks to it or just altering the boot args so far?
[G Tablet Android Development] rswindle:
Is the X11 hardware accelerated? Can we install any linux video players and have them do hardware decoding? What about any linux 3d apps, will they have opengl hardware acceleration? Is Flash 10.3 have hardware acceleration on linux or has flash not gone there yet?

Or are none of these things compiled into the kernel/X11 subsystem yet?
[G Tablet Android Development] slm4996:
Flash on linux does have hardware acceleration x86, x86_64, I don't know about the arm port.
[G Tablet Android Development] slm4996:
Would you be so kind as to release a kernel built with "root=/dev/mmcblk2p1" for those of us who want to use the external sdcard?
[G Tablet Android Development] slimm609:
I can post that tonight. It is based off of pershoots kernel but the config is different. zcat /proc/config.gz if you want to see it before I get a chance to post it
[G Tablet Android Development] slimm609:
Post one updated. with extsd kernel and added config. slm4996 let me know if you have any problems with the other kern.

there is no flash version for arm linux currently and i not sure if the driver supports accel for X.
[G Tablet Android Development] slimm609:
updated bz2 image to include touchscreen and side buttons. added new kernels for sdcard or external sdcard and added link to video
[G Tablet Android Development] haymant:
Appreciate!

May I know battery life and the status of sound/video accelerator/bluetooth?
[G Tablet Android Development] slimm609:
currently none of the them do in linux natively. I am working on sound currently tho
[G Tablet Android Development] LoSt-CaUzE:
forwarding devices lsusb

Hi, how can I forward my usb devices to chrooted linux? If I plug in an external usb device I can see it via lsusb in adb shell / terminal emulator. I tried using mount -bind /my_device_directory /chroot/path/my_device_directory, however when I run lsusb in chroot nothing is returned.

Thanks
[G Tablet Android Development] slm4996:
slimm609 the new extsd kernel works just fine. How do you have the wireless setup? Bringing the wlan0 interface up and do a scan returns no networks, do you have the required modules pre-inserted or do we need to insert them after boot?

Keep up the great work, I will contribute when I can.
[G Tablet Android Development] slm4996:
Also you can "Dual boot" in a fashion by using flash_image and just swapping kernels.

A couple of limitations apply, you have to setup the sdcards correctly, if you have backtrack on internal then your android rom must use the external sdcard on /sdcard.

The command to flash the kernel is:

From android:

flash_image boot linux_kernel.img

From backtrack (you must copy the flash_image binary from android or recovery):

flash_image boot your-android-kernel-image.img

Also you do not need to nvflash at all using this method as long as you are already on a 1.1 based bootlader.

In theory it would be possible to create a recovery installable .zip that would handle every part of the install of backtrack.
[G Tablet Android Development] slm4996:
I am currently working on a CWM recovery for the gtablet that supports both sdcards and will try to include kernel image flashing into the gui. This will eliminate the CLI portion of these type of installs along with improving the recovery experience for all users in general.
[G Tablet Android Development] slimm609:
are you also mounting proc?

mount -o bind /dev /mnt/chroot/dev

mount -o bind /proc /mnt/chroot/proc

this *should* take care of that issue.
[G Tablet Android Development] slimm609:
the tools are not installed for network manager or wicd. you can configure /etc/wpa_supplicant.conf and run wpa_supplicant as a daemon then run dhclient to pick up an address. I know wicd is in the repo list but not sure about network manager
[G Tablet Android Development] slimm609:
This is a interesting idea. I need to look at how the boot loader works a little more and we may be able to do a custom recovery with support or even *maybe* look at loading the 2 kernels into nand partition 10. The kernel is only 5 mb but the partition is 16mb so we could fit both on there and maybe just have a toggle or fastboot option for it. I think it can be done, just need to look at the bootloader a little more
[G Tablet Android Development] slimm609:
changing focus a little but i think its for the better of BT5 and android. read update 2 in post 1
[G Tablet Android Development] newtype06:
Bluetooth is a must for this, would make this a decent "netbook" with the folding cases with the included bluetooth keyboards, also what is the status of OpenGL and/or hardware acceleration.
[G Tablet Android Development] slimm609:
have not had a chance to even look at either GL/or HA. looked at Bluetooth for a bit but not working yet.

getting a new SDcard tomorrow for the tablet to try and get some stuff sorted out to make it much easier to work on and make it more attractive for more people to run. Once that is done (hopefully this weekend) then I am going to continue looking at the other issues.
[G Tablet Android Development] newtype06:
Awesome work so far though, once bluetooth and HA are in, this tablet will get ALOT more use. I'm gonna hold off for now, but I'm a long time debian/ubuntu user, love seeing where this is going. Can't wait to try out wine at some point, play some windows games hah!
[G Tablet Android Development] slimm609:
but dual-boot would also =)
[G Tablet Android Development] newtype06:
any update yet?
[G Tablet Android Development] slimm609:
hoping to have something soon. Have to compile some new things to be used in recovery (will include in zip file). busy weekend but am still working it. Was hoping for something tonight but just didn't happen.

I am _trying_ to make it as painless as possible for everyone, also had to get a new 8 gb micro sd so i had to reinstall everything and format internal sd (so it could be used for android)
[G Tablet Android Development] dgulim1986:
WiFI

Help please! I can not configure Wi-Fi.

The description says that Wi-Fi works, but I is not working, maybe you need to install the file config? How to do it?

Or did I something wrong? Help I can not understand.

Who knows help!
[G Tablet Android Development] slimm609:
edit wpa_supplicant.conf in /etc/

run

"wpa_supplicant -BDwext -iwlan0 -c/etc/wpa_supplicant.conf &"

"dhclient"

that will get it working then you can install wicd from the repos. (not sure if you need network manager also??)
[G Tablet Android Development] anantshri:
hey one tip regarding wifi packet injection.

before trying compiling any software try following

# ifconfig wlan0 down

# iwconfig wlan0 mode monitor

if this works then only there will be any use of having wifi sniffing tools...
[G Tablet Android Development] slimm609:
i have already tried it on my native build. The bcm4329 driver does not support it. Nvidia provides a bin file that must be used so im not sure about getting monitor mode support because i dont think we have the full driver source for the wireless card currently.
[G Tablet Android Development] runner989:
The full source is available from here:

http://nv-tegra.nvidia.com/gitweb/?p=android/platform/system/wlan/broadcom.git
[G Tablet Android Development] Sess:
got everything working fine, power management support is needed, but its very pleasing to have a somewhat useable backtrack install on my otherwise defunct gtablet. Boot time isn't bad, so powering down is still a viable option. What are you working on for the next update if I might ask?
[G Tablet Android Development] slimm609:
Working on moving the install to the external sdcard and having android on the nand and internal sdcard. And having 2 kernels that you just flash the zip in cwm to boot whichever one you want. The tricky part is getting it to work so you can still change kernels and Roms without causing anything to break. So i have been working on a flashable zip that creates a flashable zip of your android kernel. This would allow you to update your Roms kernel whenever and still be able to boot back and forth easily.

sent from umm.... something
[G Tablet Android Development] LoSt-CaUzE:
I tried, I had /dev/pts so I added /dev

mount -o bind /dev /mnt/chroot/dev

/proc was already mounted, same result, any other ideas?

Thanks for response.
[G Tablet Android Development] slimm609:
http://nv-tegra.nvidia.com/gitweb/?...8;hb=5e9802c5cb6f7bd0d1e763b6d604cd3003fda8f8

If you look here they include the firmware .bin files that the kernel just references. the bin is where monitor mode needs to be built in but they do not proved the source to build the bin file.

sent from umm.... something
[G Tablet Android Development] newtype06:
The only thing missing now is Sound to make this workable. How far till you think that will be implemented? I can imagine that youtube videos wouldn't be the greatest without hardware acceleration. So I guess the only use for sound would be some type of sound feedback for button presses, and music at least until acceleration is implemented.
[G Tablet Android Development] slimm609:
no clue at this point. not sure if anyone else is working on sound.

im working on a semi dual-boot right now. if anyone knows of a way to create a zip inside of CWM please let me know
[G Tablet Android Development] newtype06:
Sounds to me like some other devs need to jump on board. I'm just a power user when it comes to linux, though I'm an IT tech, I lack any coding ability.
[G Tablet Android Development] kicker22004:
wifi + Wep = I'm lost now lol

ok i did the File edit (not sure if i did it right) but i still get no enternet after i run in terminal.... also iwconfig -wlan0 shows No Such Device. Anyone know where i went wrong?
[G Tablet Android Development] slimm609:
try to get the dmesg off the system and post it
[G Tablet Android Development] slm4996:
You dont need to create a zip. Just have your flashable zip contain a script that backups the kernel as needed, then use flash_image to restore it. All this can be done using a update-script. You could have he update script check a file you create on the sdcard that is created during first install and then upon re-flashing will toggle between kernels.
[G Tablet Android Development] LoSt-CaUzE:
Mounting /dev /proc for lsusb in Chroot

Slimm I added /dev and /proc directory to my chroot env, I can see the contents of /dev and /proc from inside the chroot environment, however when I run lsusb, it freezes adb... Any advice? If you can point me to any docs/info I might read etc that can explain this, I've been googling to no avail.

Thanks
[G Tablet Android Development] Sess:
Sound seems like a distant second to power management. Im building a kernel with sound support, it might add sound, should be done and flashed in the next 15 or so minutes, If it works Ill post it.
[G Tablet Android Development] dgulim1986:
Original firmware

How do I restore the original firmware?

Please help!
[G Tablet Android Development] Sess:
1.) Boot into clockworkmod.

2.) Repartition and reformat /dev/block/mmcblk3 as vfat

3.) NVFlash the original stock firmware.
[G Tablet Android Development] Sess:
try iwconfig wlan0, no dash needed. Should show the interface as managed and unassociated.
[G Tablet Android Development] Sess:
my above reply was to you kicker22004, quoted wrong guy.
[G Tablet Android Development] kicker22004:
Iwconfig wlan0

ok here it is the iwconfig wlan0

Wlan0

IEEE 802.11-DS ESSID:" "

Mode:Managed Frequency:2.412 GHZ Access Point: Not-Associated

Bit Rate:72 MB/s Tx-Power:32 dbm

Retry min limit:7 RTS thr:off Fragment thr:off

Encryption key:off

Power Managementmode:All packets received

Link Quality=5/5 Signal level=0 dbm Noise level=-92 dbm

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[G Tablet Android Development] slimm609:
i recommend a fast SDcard like a class 10.... this class 4 just isnt cutting it.
[G Tablet Android Development] slimm609:
are you connecting to wep or wpa?
[G Tablet Android Development] kicker22004:
Wep (64 bit) i'll post my info because i don't think you guys are going to steal my net lol

ssid is HOME

key is c3053a1ca7
[G Tablet Android Development] slimm609:
i would switch to WPA if you can.

/etc/wpa_supplicant.conf exists it just needs to be edited.

the command set to start it is a page or 2 back
[G Tablet Android Development] kicker22004:
will do gonna give that a shot. i'm just hopping i plug it in correct I'll repost reply if so.
[G Tablet Android Development] slimm609:
It works. I can now dual boot. packaging everything up and should have links and instructions in the next day or so
[G Tablet Android Development] kicker22004:
all i have to say is your the man!!

edit= ok i hate being that GUY....but i'm noob sauce when it comes to this apperently. still no wifi

here is my .config if it helps?

ap_scan=1

ctrl_interface=/var/run/wpa_supplicant

network={

ssid="HOME"

scan_ssid=0

proto=WPA

key_mgmt=WPA-PSK

psk="c3053a1ca7"

pairwise=TKIP

group=TKIP

}

also under iwlist wlan0 scan i get No Scan Results
[G Tablet Android Development] slimm609:
Did you run the wpa_supplicant and dhclient commands from the other post back a few pages?

sent from umm.... something
[G Tablet Android Development] slimm609:
This post

sent from umm.... something
[G Tablet Android Development] slimm609:
thanks for that idea. It works great. hope to have it all posted tomorrow night.
[G Tablet Android Development] kicker22004:
yes i ran the commands...i edited my post on the last page with more info
[G Tablet Android Development] slimm609:
after the wpa_supplicant command what do you see in iwconfig?
[G Tablet Android Development] kicker22004:
umm that's weird, the same info??? did i mess up on the command?
[G Tablet Android Development] slimm609:
you edited the /etc/wpa_supplicant.conf file right?

if you did it right it should show your ESSID in iwconfig
[G Tablet Android Development] kicker22004:
here is my .config if it helps?

ap_scan=1

ctrl_interface=/var/run/wpa_supplicant

network={

ssid="HOME"

scan_ssid=0

proto=WPA

key_mgmt=WPA-PSK

psk="c3053a1ca7"

pairwise=TKIP

group=TKIP

}

also sorry if i'm wasting your time it's not a mojor thing.
[G Tablet Android Development] slimm609:
Is that a .config file or the wpa_supplicant.conf

Also make sure there is a /system directory on the one your running to make sure you have the tbz2 with wifi working

sent from umm.... something
[G Tablet Android Development] kicker22004:
wpa_supplicant.conf
[G Tablet Android Development] slimm609:
Edited previous post. Off to bed. I will test tomorrow to make sure i didn't break anything :)

sent from umm.... something
[G Tablet Android Development] kicker22004:
alright man have a good night.

also ya /system/lib/hw/wlan is there...i'm just failing i think lol
[G Tablet Android Development] comhack:
Wicd as a network suggestion

I was reading about users having problems setting up the wireless connection and I was just thinking, would it not just be easier to preinstall wicd instead of just using wireless-tools?

The package is very lightweight and it is only 2704K installed on my Archlinux machine. If the gui is too bloated, you could just offer the wicd-curses interface to connect to access points. Personally I have no problem manually setting up wireless connections since I have been running Linux for 9 years, but I just thought it would be much easier for new Linux users to use wicd to connect to their AP instead of using iwconfig/iwlist/wpa_supplicant. Just a thought.....

That said, I have yet to install Backtrack on my gtablet but I have been following this thread closely and plan to install it as soon as most of the kinks are worked out. I was thinking about installing it last night but after reading the responses, it seems that slimm609 may be working out some issues right now:

I have been wanting to install Linux on the tablet since I got it back in December, so I am very excited about this project. If we can get Backtrack running perfectly on the tablet then a pure Debian install may be possible as well.

Also, I see you are working on a dual boot/hybrid install but will you also be offering a pure BackTrack installation as well?

Thanks for all your hard work on getting Linux to run on this device, I greatly appreciate it!!
[G Tablet Android Development] slimm609:
While it is still a dev currently the way its working now (hope to post everything tonight) is that you install the rom of your choice like normal. Then install bt5 on the external SDcard. I have 3 zip files. the backtrack kernel, a zip to create a backup of your current android kernel and a zip to restore the kernel. The backup zip you would run ONLY when you change android kernels so that it does not remove the ability to run whatever kernel you want. The BT kernel is when you want to boot into backtrack on the sdcard and the restore kernel is when you want to go back to android.
[G Tablet Android Development] comhack:
So there is not a full BT install available right now? I mean completely wiping out android and only having BT? I have a 32gb sdhc class10 card so it will not be a problem either way. Also, does it matter if you have a Gingerbread rom or a Froyo rom? The reason I am asking is because I currently have VEGAn-TAB GE.

Thanks a lot and I cannot wait to install it tonight or tomorrow!!
[G Tablet Android Development] slimm609:
The full install is already in post 1. The android rom you run does not matter. I have tested with both froyo and Ginger and it works fine in both. Its designed to be rom agnostic.

sent from umm.... something
[G Tablet Android Development] comhack:
Thanks a lot!!
[G Tablet Android Development] mpguy84:
Does bluetooth work? I have my Microsoft mobile 6k keyboard and a Microsoft bt mouse that id like to use instead of a wired setup. Thank you for giving us a leap into the future of LinuxGtabs :)
[G Tablet Android Development] slimm609:
It does NOT currently work but IS something that I do plan on trying to get to work. I am never really messed with bluetooth but im sure if cant be that hard.
[G Tablet Android Development] slimm609:
Updated with new files and dual boot instructions. New video coming soon.
[G Tablet Android Development] comhack:
On screen keyboard?

Well I got it to install just fine but I cannot get the onscreen keyboard to launch so I can log in. The first post said that the onscreen keyboard toggle was the settings button but I cannot get it to come up for some reason. Am I doing something wrong or is a regular keyboard required to login?

Thanks
[G Tablet Android Development] slimm609:
sorry forgot to put that in the first post. go to the little menu on the bottom and click assistive technology? then in there you can enable OS keyboard for login. The other keyboard only works once logged in.

its a different keyboard for login then disappears after you log in and then you toggle the other one
[G Tablet Android Development] ParMaster:
deprecated
[G Tablet Android Development] slimm609:
Is there a certain USB wifi card that is recommended? Runner989 may also be able to chime in on this one. I don't have any USB wifi cards but if runner989 has any extra i may be able to borrow one from him to test.

USB hubs work fine right now and have tested USB mass storage, keyboard and mouse with no problems. Just dont have the other devices to test and rebuild the kernel if needed. Fixing the kernel is the easy (and cheap) part. Getting the hardware to test is not.
[G Tablet Android Development] comhack:
Thanks a lot, I had already figured it out though.
[G Tablet Android Development] slimm609:
added dual boot video
[G Tablet Android Development] ParMaster:
Hawking HWUG1

You should have USB Host working (and/or OTG) and be using a self-powered hub...
[G Tablet Android Development] tenet420:
I would like yo do this but require some clarification :

-You say boot into recovery ( volume+ and power)... do you mean apx mode to format the external?

-External SD = actual physical class 10 SD card that is placed in the slot on outside of Gtab (correct?)

-"mkfs1 ext2" is that correct? Or should "ext2" be changed to "ext3"

Sorry for the questions, just wanna do it right the first time...

Thanks, can't wait to boot BT and start tinkering.
[G Tablet Android Development] slimm609:
no. CWM mode not apx. There is no need for apx anymore.

yes external sd is the one placed in the slot above the USB.

no. mkfs ext2 is correct. Parted does not support ext3. the tune2fs -j command that you run later in the instructions converts it to ext3.
[G Tablet Android Development] anantshri:
@all.

Please can we put this discussion out of the thread as we can have counter arguments for everything ....

So lets focus on Hacking and lets leave legality or otther stufff up to the users..

Our aim is crisp and clear.

Exploit the device to its fullest potential and make sure every piece of hardware is utilized in all the senses....