Howto: enable 11n on HTC Incredible - Droid Incredible Android Development

I have written up a short howto on enabling 11n on the Droid Incredible. Due to complexity, it is aimed at serious Android devs. Since I can't post a link due to this post being moderated, go to:
magicandroidapps.com for details.
At the end of the tutorial, there is a FAQ that aims to clear up some of the mis-information I've seen posted in various places on the net.

I have not confirmed this yet. but ill post a link, looks ok
http://www.magicandroidapps.com/wiki//index.php?title=HTC_Incredible_with_802.11n

opcode1300 said:
I have not confirmed this yet. but ill post a link, looks ok
http://www.magicandroidapps.com/wiki//index.php?title=HTC_Incredible_with_802.11n
Click to expand...
Click to collapse
This is awesome if it really works!

Could someone post a link to the compiled module? Some of us really have poor compiling skills....

760hacker said:
This is awesome if it really works!
Click to expand...
Click to collapse
It does really work, I'm a lot better at hacking than PhotoShop

kjbuente said:
Could someone post a link to the compiled module? Some of us really have poor compiling skills....
Click to expand...
Click to collapse
This ^^^ +1. Would go well with the nand unlock thats coming soon!i

I THINK I got it compiling now.... I'll test and report back

wonder if someone could compile this and post a download link for those of us with windows to push through adb.

Found the module here....
http://www.mediafire.com/?jyiyzjmdnzm
Just use adb push in recovery.
Phone says 65Mbps, Router says 65Mbps. I say this works! Thanks OP!

Added this to my OC kernel. now i just need to get the nand/flash thing figured out

Windows or only linux?
So can this be done Using windows just pushing that modified module from the previous post?

blue45 said:
So can this be done Using windows just pushing that modified module from the previous post?
Click to expand...
Click to collapse
HowTo VIDEO enabling wireless N plus proof http://www.youtube.com/watch?v=LXbMf47kXqc
Yes
download file: http://www.mediafire.com/?jyiyzjmdnzm
01. Place bcm4329.ko on root of SD Card
02. Enter ADB Shell (Yes with the adb recovery trick)
03. $su
04. #cd /system/lib/modules
05. #/system/bin/cat bcm4329.ko > bcm4329.ko-orig
06. #/system/bin/cat /sdcard/bcm4329.ko > bcm4329.ko
07. #/system/bin/ls -l
-rw-r--r-- root root 217116 2010-04-06 13:42 bcm4329.ko-orig
-rw-rw-rw- root shell 216716 2010-06-19 01:39 bcm4329.ko
08. # /system/bin/sync
09. # exit
10. $ exit

mejdam said:
Yes
download file: http://www.mediafire.com/?jyiyzjmdnzm
01. Place bcm4329.ko on root of SD Card
02. Enter ADB Shell (Yes with the adb recovery trick)
03. $su
04. #cd /system/lib/modules
05. #/system/bin/cat bcm4329.ko > bcm4329.ko-orig
06. #/system/bin/cat /sdcard/bcm4329.ko > bcm4329.ko
07. #/system/bin/ls -l
-rw-r--r-- root root 217116 2010-04-06 13:42 bcm4329.ko-orig
-rw-rw-rw- root shell 216716 2010-06-19 01:39 bcm4329.ko
08. # /system/bin/sync
09. # exit
10. $ exit
Click to expand...
Click to collapse
thanks works great, it will connect to N even with my router set to mixed mode. so it looks as if it prefers N but if it isn't there it connects to G. just how I want it.

While this is connecting at a faster speed, I am not seeing improved distance...
Can anyone confirm?

Speed
Can our processors handle the faster throughput, or is the processor a bottleneck?

dreamersipaq said:
Can our processors handle the faster throughput, or is the processor a bottleneck?
Click to expand...
Click to collapse
108mbps (fastest pre-N speeds, AFAIK) is much slower than internal bus processor/memory speeds, not to worry. Only full-speed Gigabit lan is a challenge to a modern PC's bus/memory bandwidth, and we ain't nowhere near that, brotha

dreamersipaq said:
Can our processors handle the faster throughput, or is the processor a bottleneck?
Click to expand...
Click to collapse
The processor is not a bottleneck. If you really want to see what kind of throughput is possible, you can download my iPerf app from the market to test with. See my wiki page for details on how to use it at magicandroidapps.com.
Maximum TCP throughput on 11g is 25Mbit/S. For single-stream 11n, you should be able to go faster than that. Give it a try and post your results.
Remember that for "internet" speed tests, WiFi is not the bottleneck, so using iPerf on your local network, with the iPerf server connected to your AP's Ethernet port is the way to get accurate results.

Wireless N! Thank you OP this works great! Only tough part is getting back into adb

Did it
mahkee said:
Wireless N! Thank you OP this works great! Only tough part is getting back into adb
Click to expand...
Click to collapse
Hey quick question, what kind of test can I do on phone to test the speed of the connection?
I KNOW that a pc vs phone is different, but when I go to speedtest.net, Phone gets 12.**Mbps while PC gets 21.**. Same location, distance from router, time, etc...

dreamersipaq said:
Hey quick question, what kind of test can I do on phone to test the speed of the connection?
Click to expand...
Click to collapse
See post #17

Related

Cyanogenmod 5.0.5.3 - Wireless_tether 2.0_pre8 (and older)

I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
ghost_o said:
I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
Click to expand...
Click to collapse
Did you turn off USB tethering?
hotweiss said:
Did you turn off USB tethering?
Click to expand...
Click to collapse
Never turned it on, and verified it is off...
how did you load the apk?
lpasq said:
how did you load the apk?
Click to expand...
Click to collapse
Downloaded to SD, and installed from browser download screen...
ghost_o said:
Downloaded to SD, and installed from browser download screen...
Click to expand...
Click to collapse
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
lpasq said:
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
Click to expand...
Click to collapse
Will do adb.. I have the linux sdk..
Thanks, will post back with results..
OK, installing with adb has the same effect.
There are posts from the google code pages where this has happened in the past (last year though), so I doubt related..
Out of ideas...!
eth0 IEEE 802.11-DS ESSID:"AndroidTether" Nickname:""
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 3A:4E:3D:88:EC:41
Bit Rate=72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-57 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is with WEP set.. It must have something to do with wpa_supplicant somewhere.. I'll keep digging...
maybe it might have something to do with atnt not able to do it throught there network. like us tmobile users can use data while on the phone? dont know alot but that could be a possibility
Nah, wpa_supplicant is not negotiating wep for some reason. I just replace the wpa_supplicant.conf file with a very generic open key WEP config and it still does not work..
I need to dig through my broadcom nda's and find this chip, and see if I can use the firmware.. I'll just load it up in AP mode and run hostapd and be done with it....
Ad-Hoc just plain sucks, almost as much as wep...
Cant find find wireless apk anywhere can someone please give me link
ttieder said:
Cant find find wireless apk anywhere can someone please give me link
Click to expand...
Click to collapse
http://lmgtfy.com/?q=android-wifi-tether&l=1
deprecate said:
http://lmgtfy.com/?q=android-wifi-tether&l=1
Click to expand...
Click to collapse
lmgtfy.com - that was awesome - my family members are gonna feel like idiots asking me questions now!
I had not heard of that site before.
Regarding wep-encryption & CM 5.0.5.x:
http://code.google.com/p/android-wifi-tether/issues/detail?id=292
So, wep-encryption is broken (no idea why) on the latest cyanogenmod-build. Please use CM 5.0.4.1 - it works flawlessly there.
I will take a closer look the next days ... but it's hard to tell what is causing this - I don't know which changes were made on CM.
By the way ... why was this topic moved to Q&A
This is definitely an issue which needs to be solved and should stay in development!
Thanks - I googled for quite a while, and never came across that info. Tethering is not that critical (unless I am travelling), so I will just wait for a fix sometime.
I would have figured other in this forum would have hit it though?!?!?
-G
I've installed 5.0.5.3 and downgraded the kernel which came with 5.0.4.1 - and it start working again! So, I would say that this issue is related to the latest kernel (2.6.33.1)!
I've created an issue on cyanogemod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1217
i have wifi tether pre 8 on latest CM mod and its working great, wep works, and no errors in log.
I am having the same problem. I have both a nexus one and motor milestone. Tethering on milestone doesn't have problems but my nexus can't seem to connect as well no Sep security. I can see the my SSID, anyone can help?
There are obviously factors that differ between devices somehow. I too can change kernels and the issue goes away. Something is "missing" somewhere. A git pulled vanilla 2.6.33 kernel works just fine when booting the zimage from fastboot..
I have not looked at the cyanogen .config or wireless module source yet to see any modifications that would effect it...
I'm more interested in the module working in AP mode now that the driver supports it, and have been working on that...
-G

[How To] Manually enable sideloading

First of all, Linux and OS X come with sqlite3 by default. Windows users will need to download the executable. With that said, here is how you can enable sideloading the old-fashioned way.
Code:
[[email protected] ~]$ adb shell
$ su
# busybox cp /data/data/com.android.providers.settings/databases/settings.db /data/data/com.android.providers.settings/databases/settings.db.bak
# chown system.system /data/data/com.android.providers.settings/databases/settings.db
# ls -l /data/data/com.android.providers.settings/databases/settings.db*
# busybox cp /data/data/com.android.providers.settings/databases/settings.db /sdcard
# exit
$ exit
[[email protected] ~]$ adb pull /sdcard/settings.db
sqlite3 settings.db
sqlite> SELECT * FROM secure WHERE name="install_non_market_apps";
3|install_non_market_apps|0
sqlite> UPDATE secure SET value=1 WHERE name="install_non_market_apps";
sqlite> SELECT * FROM secure WHERE name="install_non_market_apps";
3|install_non_market_apps|1
sqlite> .quit
[[email protected] ~]$ adb push settings.db /sdcard/
[[email protected] ~]$ adb shell
$ su
# busybox cp /sdcard/settings.db /data/data/com.android.providers.settings/databases/settings.db
# chown system.system /data/data/com.android.providers.settings/databases/settings.db
# ls -l /data/data/com.android.providers.settings/databases/settings.db*
# exit
$ exit
[[email protected] ~]$ adb reboot
You should be all set.
thank god for super one click
Script?
Sent from my MB860 using XDA Premium App
lsxrx7 said:
thank god for super one click
Click to expand...
Click to collapse
1) Great if you use Wind'oh!s which I refuse to do.
2) I like to know how things work.
I think this work on only rooted devices. If that case we have one already which will root it and also side load apps.
You got the phone gdanko?! Cool
I'll do it this way for kicks when I get my phone lol
gdanko said:
1) Great if you use Wind'oh!s which I refuse to do.
2) I like to know how things work.
Click to expand...
Click to collapse
Yes, it's always great to know how things work.
But it looks like SuperOneClick is not just confined to Windows.
It is compatible with:
Windows Vista
Windows 7
Ubuntu Hardy (8.04 LTS)
Ubuntu Jaunty (9.04)
Ubuntu Karmic (9.10)
Ubuntu Lucid (10.04 LTS)
Ubuntu Maverick (10.10)
Debian Lenny (5.0)
Debian Squeeze (testing)
Debian Sid (unstable)
Debian Experimental
SuperOneClick uses Mono on Linux platforms, so most any of the modern ones should work. I used it on my openSUSE box and it worked just fine for allowing non-market installs.
Can anyone do this a little more nood friendly? And/or does this require root?
phro321 said:
Can anyone do this a little more nood friendly? And/or does this require root?
Click to expand...
Click to collapse
Yeah, you basically want to get out of this thread and head here:
http://forum.xda-developers.com/showthread.php?t=960336
Follow briefmobile's tutorial. And yes, it requires root.
If I am not mistaken gdanko doesnt use any of those operating systems. He uses a mac...
Maybe his old school ways will help uncover some mysterious portal into the Atrix that will allow cracking the bootloader...
I just finished running superoneclick. I wanted to double check that my phone is now allowing unknown sources, but i dont see the checkbox where it should be. Is this normal? Thanks!
__redfox__ said:
I just finished running superoneclick. I wanted to double check that my phone is now allowing unknown sources, but i dont see the checkbox where it should be. Is this normal? Thanks!
Click to expand...
Click to collapse
I guess the check box is not added, but superoneclick did do its job. The phone is communicating with the laptop as expected.
__redfox__ said:
I guess the check box is not added, but superoneclick did do its job. The phone is communicating with the laptop as expected.
Click to expand...
Click to collapse
Follow this to add the check box: http://forum.xda-developers.com/showthread.php?t=972760
agentdr8 said:
SuperOneClick uses Mono on Linux platforms, so most any of the modern ones should work. I used it on my openSUSE box and it worked just fine for allowing non-market installs.
Click to expand...
Click to collapse
Fails on Ubuntu 64. And installing mono and a host of other things for something so trivial is pointless.
Thank you, I needed this sideloading hack since I've already updated/rooted my phone and couldn't use Gladatrix or aRoot without having to reflash 1.26
------------
edit: Actually it got my phone stuck in bootloader with my configuration (1.57 update and rooted). SBF flashing now..
marlasinger said:
Thank you, I needed this sideloading hack since I've already updated/rooted my phone and couldn't use Gladatrix or aRoot without having to reflash 1.26
------------
edit: Actually it got my phone stuck in bootloader with my configuration (1.57 update and rooted). SBF flashing now..
Click to expand...
Click to collapse
Hey How did you root your 1.57?
Spoofy said:
Hey How did you root your 1.57?
Click to expand...
Click to collapse
Go to the GladRoot thread linked in my signature below. Please use the search function in the future.
Ririal said:
Go to the GladRoot thread linked in my signature below. Please use the search function in the future.
Click to expand...
Click to collapse
Lose the attitude buddy.
Don't tell me to search, as I have been googling and searching this forum for over a week and found nothing but SuperOneClick which also required me to downgrade.
I probably missed it due to "Last edited by Ririal; 23rd April 2011 at 01:40 AM. Reason: Updates"
Unfortunately this is still not what I am looking for as I am on 1.57 and am still required to downgrade.
Please have some respect.
EDIT: I'ts also not in the sticky thread
EDIT #2: I just found [HOWTO] Easy Root 1.5.7 using GingerBreak which popped up on the 23rd. WOHOOO, no need to downgrade and risk Wifi issues.
Spoofy said:
Lose the attitude buddy.
Don't tell me to search, as I have been googling and searching this forum for over a week and found nothing but SuperOneClick which also required me to downgrade.
I probably missed it due to "Last edited by Ririal; 23rd April 2011 at 01:40 AM. Reason: Updates"
Unfortunately this is still not what I am looking for as I am on 1.57 and am still required to downgrade.
Please have some respect.
EDIT: I'ts also not in the sticky thread
Click to expand...
Click to collapse
It has nothing to do with respect, and I don't have an attitude. Relax, guy.
All the information is readily available, all you need to do is look for it. There's several threads on the first page of the development forum (which you found as you're posting in it) that contain the information you need. One of the threads is even clearly labeled: "[HOWTO] Easy Root 1.5.7 using GingerBreak"
So sorry, I get a little short with people who ask questions that are already answered. Don't take it personally. Here's the breakdown:
There's currently 2 methods of root, one is GladRoot, which requires you to downgrade first. The other is GingerBreak, which formats your phone data. Pick your poison.

[Request] LG Revolution section?

Verizon's third 4G Android smartphone is out today. I think that it is worth having a separate for development here, eh?
I second this request
I agree. This is a solid phone.
I also agree to it's own forum
agreed, especially with the fact that it's rooted now, def needs an area here!
stetsonaw said:
agreed, especially with the fact that it's rooted now, def needs an area here!
Click to expand...
Click to collapse
How hard was it to root? Was the bootloader unlocked or just an easy unlock?
I was trying to decide between the Thunderbolt and the Revolution(not a samsung fan).
LG doesn't seem or want to lock anything down! Hurrah!
How is the battery life on that phone compared to the thunderbolt? Better, worse, or indistinguishable?
This device was so easily rooted. Time for the custom ROM's for this device...
Sent from my Droid using XDA App
Windows ADB Root Method
Speaking of easily rooted...
Remember, I am not at fault if you brick your phone, now, proceed.
I updated the Rootzwiki page with the same info found below for rooting via Windows... see the rootzwiki for the Linux steps.
Busybox actually comes installed by LG on the Revo, how awesome is that??
Download the rageagainstthecage binary
Download the SU binary
Move these files to the same directory your adb.exe is in.
Open Command prompt (either use the Windows Key+R and type cmd or start/run, then type cmd)
32-bit users: >cd c:\program files\android\android-sdk\platform-tools
64-bit users: >cd c:\program files (x86)\android\android-sdk\platform-tools
Or >cd (whatever directory adb is in)
>adb devices (verifies you are connected)
>adb push rageagainstthecage-arm5.bin /data/local/temp/rage
(if the above command fails due to read-only, type 'adb user' then 'adb root' to validate root status, then 'adb devices' again to verify connection)
>adb push su /data/local/temp/rage
>adb shell chmod 777 /data/local/temp/rage
>adb shell ./data/local/temp/rage
>adb shell
#mount -o remount,rw -t ext3 /dev/mmcblk0p12 /system
#busybox cp /data/local/temp/su /system/bin/su
#chmod 6755 /system/bin/su
Verify the file is in place w/correct permissions
#cd /system/bin
#ls -l *su
-rwsr-sr-x root root 26248 2011-05-29 01:09 su
(permissions name access filesize date time filename)
At this point, you may way to remove the files you put in /data/local/temp (optional):
#rm /data/local/temp/su
#rm /data/local/temp/rage
continue with commands
#reboot
Download and install SuperUser from the Market
Thanks Zennmaster, _mrbirdman_ for finding the linux routes and birdman for helping me out!
One the Revo gets its own section, I'll post this there.
qipengart said:
Verizon's third 4G Android smartphone is out today. I think that it is worth having a separate for development here, eh?
Click to expand...
Click to collapse
I totally agree
Does SuperOneClick rootig method work on this particular device?
Sent from my DROID2 using XDA App
From what i've been told, yes it does... newest version using the gingerbreak exploit. (gingerbreak app does not work)
Or you can do it the long way...
LG Revolution Root the Windows ADB way
Played with this device and actually thinking about procuring it. After all, since rooting is so easy, wifi tethering should be easy to procure and with 4G blazing fast.
An answer would do me great justice....thanks!
We want a section for the lg revolutionaires!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!yeah!!!!!!!!!!!!!!!!!!!!!!!:d:d:d:d:d
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
svetius said:
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
Click to expand...
Click to collapse
That's good to hear! I will voice my support for a Revolution forum. I'm loving the device so far - it's a solid phone that seems to be more than the sum of it's specs, and honestly I like the hardware build more than my OG Droid.
not sure if where allowed to post links, but androidcentral has a little community going already. The root thread has over 2k views alone. Seems like that should be good enough sign for a thread started here.
http://forum.androidcentral.com/lg-revolution/
Its definitley a solid device.
I upgraded from the Droid1 to this, and this phone is great! Loving it so far. I don't know if I want to go the custom rom route with this phone, but it would be nice to have some developer interest and some options down the road. I sure hope the Rev picks up interest because it really is a good device. With that said, I think the Rev having its own section can only help to increase awareness and interest in this phone.
svetius said:
Revolution section likely coming soon. It's "likely" and not "definite" because we're still trying to determine whether there's enough interest towards this device.
Click to expand...
Click to collapse
I went from a G2x to the Charge and finally settled on a Revolution. I guess I was just spoiled by those phones having their own forums... I am totally lost now... no home. Anyways, yes there is interest.

[HOW TO] G.B on International Builds using 2ndinit (minor update 04/07/11)

Before anything............. This may Brick your phone, follow instructions and it wont
Big shoutouts to:
2nd-init------
skrilax_cz for writing this awesome trick!
edgan for getting it working on atrix with taskset
this hack:
eval for crazy loopback mount idea and all scripts
unknown for lots of helpful testing and debug
XLR88 for the system.img of GB 2.3.4
This is an example of the sort of thing that 2ndinit makes possible
but it is a quick hack and running with the wrong kernel - so still buggy
Bugs
1) The screen flips out when locked, so basically you swipe left and screen goes right.
2) No wifi
3) Camera dont work
4) Moto sign in not working
5) fingerprint
Working
1) Mobile data
2) network
3) Google sign in
4) Market
5) Calls
Will update when fixes are found and bugs are ironed out.
How to get GingerBread via 2ndinit on a locked bootloader for motorola atrix
Tools you need
Adb or Rootexplorer, 2ndinit.apk, terminal
Fastboot
Install 2ndinit.apk
Reboot
in terminal type
ls -a /sys/kernel/debug
Click to expand...
Click to collapse
should get output not
...
Click to expand...
Click to collapse
Download this ...........http://download839.mediafire.com/gv6kzdu34z3g/lcldnltaqj8xd9x/2ndGB.tgz
extract this to sdcard
Download this ...........http://hotfile.com/dl/122055970/0a6dfce/moto-fastboot.zip.html
Extract to sdcard
Delete everything in /preinstall
adb shell
su
cd /preinstall
rm -rf
Click to expand...
Click to collapse
copy 2nd-init, taskset, busybox to /preinstall
In ternimal
chmod 755 2nd-int
chmod 755 taskset
chmod 755 busybox
Click to expand...
Click to collapse
Rename hk. Img to system.img to and then copy to /preinstall folder
copy files from /ETC/rootfs/ to /system/etc/rootfs/ and set permissions
chmod 644 /system/etc/rootfs/*
Click to expand...
Click to collapse
copy this to /system/bin/ download and add gb directory to /data/ so it becomes /data/gb/
In terminal type
ls -a /sys/kernel/debug
Click to expand...
Click to collapse
you should get nothing at all
reboot.....
Backup your data this is a recommendation just in case
reboot again...........
when rebooting hold volume down then scroll down to EARLY USB ENUMERATION then volume up (do this everytime you want gingerbread)
wait.............
You should successfully boot into GingerBread... Congradulations
getting back to froyo
reboot
If all this fails, install 2ndinit.apk from here
Then repeat this tutorial...
Sorry about the crap video
WATCH HERE
If anyone can help to solve the flip of screen here is some clues that may help
1) screen is working prefectly until screen turns off, then it flips
Glad my work could be of use =)
And thanks for taking this off my hands while I'm away... hope you can fix the touch screen left-right input flip ... if anyone has any ideas, PM me, _unknown and stevendeb25. Here's to hoping all international users can enjoy 2.3.4 soon!
PS. haha thanks for quoting all my cursing in IRC about my /data failures
How my hack works
For international devs who want an idea of how I did it (before stevendeb25's tutorial & release) the following details my mount_ext3.sh:
Loopback hack only loads if you fastboot menu to early USB enum, so, run if ro.usb_mode==debug (plus helps us debug to adb early... why /system/etc/rootfs/default.prop we copy to / has ro.secure=0 & persist.service.adb.enable=1) In addition to default.prop we copy, extracted files from GB's ramdisk:, /init, /init.rc (modified, comment out mounting /system) and ueventd.rc from etc/rootfs, plus symlink /sbin/ueventd->/init.
Next, mknod and mount /preinstall rw, where we keep taskset, 2nd-init and busybox binaries, as well as system.img (CG60 from hktw 2.3.4 sbf.) It's probably already in /dev/block/ but this varied across froyo builds so mknod and mount rw to be safe. Good idea to use /preinstall/busybox from now on as /system mount dis/appears.
e2fsck -y the system.img and then losetup the loopback mount, umount -f -l /system, and mount -t ext3 <loopbackdevice> /system. For debug cat out /proc/mounts to a file in /preinstall or /data, actually I also append ">>/preinstall/debug 2>&1" to every command. Finally, now you can (taskset) 2nd-init your new system!
Unfortunately, seems necessary to fastboot -w or just rm -r /data/* between boots of froyo and GB. Annoying, but I couldn't easily get a GB-only /data mounted.
Now, can you fix the input flip left-right after lock screen? Clues are: it doesn't happen if this trick is tried on GB kernel (with Froyo ramdisk, system, and same 2nd-init trick.) Also, it persists after warm reboot, GB->GB. Pulling in /system/lib/hw from Froyo didn't help. Tho you'll want to bring back (and insmod) aev.ko, evfwd.ko, plus revert dhd.ko to Froyo version, as the first two are in-kernel on GB, and the latter seems to differ. I am fairly confident most bugs can be fixed by replacing (lock screen? nvrm_daemon?) pieces of GB userspace with Froyo versions in system.img. I just lost a bit of ambition after finding the fastboot oem unlock in the BL plus I will be away for a bit.
So, good luck to stevendeb25 and all you non-ATT Atrix hackers!
At least International users get some Gingerbread love! Good job guys!
i can't believe!!!
what a great new!!!
thanks guys!
the video seems to be really amazing!
wanna try it!!!!
that bootscreen looks awesome at first part in the video, is that stock?? oo
Excellent work brothers, you guys are really making us proud as well as you should be!
Very good job!
Now I can start dreaming about GB in my non-att atrix
You sexy, sexy man! Rawr!!
Great news
Sent from my MB860 using XDA Premium App
stratax said:
that bootscreen looks awesome at first part in the video, is that stock?? oo
Click to expand...
Click to collapse
Yeah stock orange uk bootscreen
Sent from my MB860 using XDA Premium App
Lol..
Awesome Steven, lookin' forward
bongd said:
You sexy, sexy man! Rawr!!
Click to expand...
Click to collapse
Stock Bell Atrix on Rogers with updated radio, Rooted, deodexed, Honeycomb theme, and frozen!
Released ............ enjoy guys, if dont want flip screen, dont lock the phone
This remember me when we try to put android on Windows Mobile Phones!haha
Anyway, nice work man, Let's play a lil
Wow, good work guys. I am sure this has been torture for international users. For the past couple of weeks, we in the states (or anyone on at&t) have been like kids on Christmas, while everyone else sits on the sidelines It's a good thing the 2nd init port got put to good use.
HolySorento said:
This remember me when we try to put android on Windows Mobile Phones!haha
Anyway, nice work man, Let's play a lil
Click to expand...
Click to collapse
Android has been ported to the Iphone, but as far as I know only to the older generations.
c'mon guys, are you trying that??
post your opinions!!
stevendeb25 said:
Released ............ enjoy guys, if dont want flip screen, dont lock the phone
Click to expand...
Click to collapse
Great work steve
Steven, is there no way for you to use drivers from the hktw build to fix wifi and camera?
Or do those require kernel level access or something?
Sent from my MB860 using XDA Premium App
stevendeb25 said:
Yeah stock orange uk bootscreen
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Think anyone could post this? It looks much better than the ATT one.
tasty_boy said:
c'mon guys, are you trying that??
post your opinions!!
Click to expand...
Click to collapse
I'd love to try but without wifi and that flip issue I think I'll pass this version.
Sinful Animosity said:
Steven, is there no way for you to use drivers from the hktw build to fix wifi and camera?
Or do those require kernel level access or something?
Click to expand...
Click to collapse
Other way around... if you pull in dhd.ko from the latest Froyo build you flashed on your system, as well as aev.ko and evfwd.ko (and /system/etc/firmware or wifi/ ?) into loopback mounted /system you will have more chance of working wifi in HKTW2.3.4. (HINT HINT you could do this directly in the mount_ext3.sh script... copy useful 2.2 stuff to /preinstall, copy back into new /system after unmount,remount, even insmod if you have to...)
Remember, this trick produces a mismatch between /system version (GB,2.3.4) and kernel version in boot.img which is actually running. We can take care of ramdisk post-hoc before 2nd-init but older kernel and its API is still in place so pieces of HKTW userspace will have to be replaced/modded to fix bugs. This version of mount_ext3 is an early release for the hackers who want to tinker until it works... good luck! I will have only web and ssh access off and on for 10 days but can answer any questions by PM, on IRC or here..

[GUIDE]BackTrack 5 in webtop (BackTop)

BACKTOP v0.00001​
Click to expand...
Click to collapse
Alright, so this is a guide to finally get the backtrack 5 software running inside of webtop. It uses chroot and xterm to allow full access to the software contained within the backtrack 5 arm image.
Prerequisites:
CWM Installed:
For all version: http://forum.xda-developers.com/showthread.php?t=1138541
WebTopMOD installed:
For 2.3.4 go here: http://forum.xda-developers.com/showthread.php?t=1169457
For 1.8.3 go here: http://forum.xda-developers.com/showthread.php?t=1093790
You do not need to download the Debian disk image. Will we be using the backtrack disk image instead.
BusyBox Installed in /system/bin:
Downloaded "BusyBox Installer" from the app store.
BE SURE TO INSTALL IN /SYSTEM/BIN!
Click to expand...
Click to collapse
The Goods:
BackTop.zip:
Download and un-zip the attached files into /sdcard/bt
BackTop.zip
BackTrack 5 ARM Image:
PART 1 : Download Link : http://bit.ly/p1BT5
PART 2 : Download Link : http://bit.ly/BT5p2
PART 3 : Download Link : http://bit.ly/BT5p3
These download links are from the xperia backtrack project and where I took inspiration to get it working in webtop. After using 7z to unarchive just place bt.img in the /sdcard/bt folder. The archives other contents can be safely ignored.
Click to expand...
Click to collapse
What you should have by now:
WebTOPMOD for Atrix.
BusyBox Installed in /system/bin.
Downloaded scripts placed in the /sdcard/bt folder.
Downloaded bt.img placed in the /sdcard/bt folder.
Click to expand...
Click to collapse
Give it a go:
Step 0: Connect the phone to display/lapdock. Run webtop and wait for it to boot.
Step 1: Open LXTerminal from the dock and type "cd /sdcard/bt"
Step 2: To run BackTop type "sudo bash backtop"
You should be presented with a white xterm screen. You can now use all the utilities built into backtrack 5 with ease. You can even run the gnome desktop environment! (More on that bellow)
Click to expand...
Click to collapse
Running Gnome:
You first need to kill off all the webtop crap do this by typing the following in xterm.
"ps ax|grep awn|awk '{print $1}'|xargs kill"
"ps ax|grep panel|awk '{print $1}'|xargs kill"
Then start gnome by typing "gnome-session" in xterm.
Click to expand...
Click to collapse
Accessing sdcards:
You'll need to make two directories inside of backtrack /sdcard and /sdcard-ext to do this type:
"sudo mkdir /sdcard"
"sudo mkdir /sdcard-etc"
Once you've done this simply reboot your phone and restart BackTop.
Click to expand...
Click to collapse
Known issues:
ettercap causes network connectivity inside of webtop to fail.
If something does go terribly wrong you can always force quit backtop with the following command:
"sudo bash /sdcard/bt/forcekillbt"
Click to expand...
Click to collapse
Cool stuff, I'll definitely check this out. Moved to development.
mate I don't have webtop but as a network engineer I'm giving this a big thumbs up, super cool to have a pen testing suite in your phone!!!
reserved #10Chars
It might just be me but do your links work? Specifically the http://bit/ly ....etc. thanks
Sent from my MB860 using XDA App
edit: had a smart attck and everything is tip top...well done sir...thx!!
that is the most metal thing ever
I'd prefer it actually dual boot on my phone for hac..I mean testing on the go xD
What will this one do that the others don't?
Cheers
pederb said:
What will this one do that the others don't?
Cheers
Click to expand...
Click to collapse
If you don't know what BackTrack is then you don't need it.
pederb said:
What will this one do that the others don't?
Cheers
Click to expand...
Click to collapse
its a pen testing Linux suit. its essentially Linux loaded up with hacking tools meant for testing networks to prevent hacking or "penetration". hack your own network. discover the vulnerabilities. and patch them. - to put it simply
This is amazing. Thanks.
7z issue with the bt.7z
Hum... I might be doing something wrong but I am not able to uncompress the 3 volumes posted in the links... I was able to download them all but the only one who actually I can uncompress is the first one and it generate a file bt.7z that I am also unable to uncompress... I am getting the following msg when I try to 7unzip them:
"cannot open file 'x:\xx\xx\bt.7z.002' as archive"
Should I join them all into one then use 7zip?
Forget it I just found it out by myself... is using a program to join them all into one then Unzip it.
My dream come true .............. i assume that we can run kismet and metasploit framework ?!
What kernel and rom were you able to make this run well with as i am having really bad reboots after i undock the phone from the lapdock as i am running faux123 kernel and cherry crust v3.
webtop when connected to hdmi not doing anything...
I was trying to use this backtrack distro on my AT&T Atrix and I must admit that I am a kind of noob on this ... I wasn't seeing big advantage until now that we have bt to use instead of the stock version...
I have no Lapdock so I am using Ronaldo_9 CWM version to run Webtop on HDMI in my GB 2.3.4 ( 4.5.91 from Kenneth Penn ). It was working til I followed these instructions ...
Well a little bit of what I did:
1- Downloaded the WebTopMOD from Joe Ferreira v2 to install with CWM.
2- Got also BusyBox installed through the BusyBox Installer over my /system/bin
3- Downloaed (even knowing it's not needed) the Debian disk from Joe Ferreira link (to install webtopmod).
4- Downloaded the BlackTrack 5 image from the links on the first post
5- Downloaded the BackTop.zip from the first post
6- Created the /sdcard/bt folder and put only the bt.img and forcekillbt and backtop files from Backtop.zip file onto it...
7- Plugged in my HDMI cable over my tv (yes I have no lapdock)
8- The Webtop option pop's up and when I selected it.....
Nothing happened... not even an error msg or stuff... the only thing still working is EC... but webtop none.... Does anyone of you have any clue or hint of what can I do about it?
EDIT: Got it working... it was because of the broken V2 WebtopMOD so I flashed the V1 and everything went fine.... Thank you all for not helping it made me a better researcher
I think I just wet myself I've been waiting for someone to come up with this since they started the ARM archticture and ported it to the XOOM tablet
Sent from my MB860 using XDA Premium App
The built in wifi doesn't support packet injection does it?
baumerman said:
The built in wifi doesn't support packet injection does it?
Click to expand...
Click to collapse
It doesnt....
Sent from my MB860 using XDA App
BCM4329 supports Promiscuous Mode and Multiple Monitor mode.
It supports Packet Injection, too.
The WiFi module needs to be modified for enabling these things... I'm currently working on GenTop, but after finishing that work I can take a look at it and see if I'm skilled enough to enable it on the driver.
kholk said:
BCM4329 supports Promiscuous Mode and Multiple Monitor mode.
It supports Packet Injection, too.
The WiFi module needs to be modified for enabling these things... I'm currently working on GenTop, but after finishing that work I can take a look at it and see if I'm skilled enough to enable it on the driver.
Click to expand...
Click to collapse
That would be awesome... just amazing how u dealing with a lot of stuffs simultaneously ....... tyvm for visiting this thread its almost dead...
Doing a simple (means not a complex one) research at Google it seens that there's no much of Monitor mode for android cell phones so far... not sure why if nobody cares or if it's not possible... but u got skill enough to give the last word
Hope to hear something soon...
I wish there was more development for this, and +1 for packet injection
gzrecoil said:
I wish there was more development for this, and +1 for packet injection
Click to expand...
Click to collapse
There is monitor mode for iPhone and itouch... not sure the reason why not for android :-(
Sent from my MB860 using XDA App

Categories

Resources