Posted: Sun May 17, 2015 14:43 Post subject: Cross compiling of adb/dd-wrt port
I've tried to get Zoom support to help me with tethering support for android 4.2+, but they have been nothing but unhelpful and have ignored my emails and repeatedly told me that "the root password is for engineers only!". Well I am an engineer!
Port scan of their router shows a telnetd running on port 2300. After zoom didn't help I felt like I had no choice but to disect their firmware.
After connecting to the router I can run adb from the terminal. adb devices says that my phone is offline, which is what you'd expect with adb 1.0.29 and a 4.4 android.
So basically I need to cross compile a newer adb and drop that in instead of the old one. That's where my problems start:
1) Do I have to cross-compile for MIPS or is it MIPS-II? Where do I get the toolchain from?
2) Will it work with the dynamically linked outdated libraries and how do I debug that if neccesary?
3) Can I emulate the router in quemu first? I have only one router and I really don't want to brick it!
4) I split the binary with dd. How do I merge it again after modificaiton and squashing?
5) How would I go about replacing the rootfs with dd-wrt?
Dear kcrk on your stage of research can use other firmware from analogs? I have a TrendNet Tew-655BR3G, and want to install the firmware from Upvel UR-703N3G. Need update/upgrade bootloader.
Posted: Wed Jun 17, 2015 15:24 Post subject: Using other firmware
I'm sorry to say that I've not tried to flash any other firmware. I'm not sure how big the flash memory is, but I'll open up my router and check what hardware it has and I may consider the "No risk, no fun!" option and try to force a flash with a different firmware anyway.