[TOOL] One XL Toolbox for Linux [mods made easy!] - AT&T, Rogers HTC One X, Telstra One XL

I'm proud to present my One XL Toolbox for Linux version 1.3
You can see from the screenshot below that it will perform various tasks and modifications in a "one-click" fashion. I'll be adding more features as they become available.
I've only tested this on a few phones and from one computer, so let me know if you find any bugs. If you're not very familiar with android or with linux, you should read the feedback from others in this thread before giving it a try.
This program is provided without any warranty and by using it, you agree to do so at your own risk!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To use The Toolbox:
Download OneXL-Toolbox.tar.gz
Extract the files.
Open a terminal window in the directory created
Type: chmod +x toolbox.sh
Press enter
Type: ./toolbox.sh
Enjoy!
If this program helps you out, please click the THANKS button below
Enjoy,
Billy

Updated 5/30/12
-Fixed error when /sdcard/tmp doesn't exist. Thanks Nerdphoria!
Updated 5/28/12
-Fixed mistake that made the Super CID script not work for Rogers phones. Thanks zerojay!
Billy

And no, I absolutely will not be porting this to Windows or Mac, but anybody else is more than welcome to!
Thanks,
Billy

Great work. Good to see others here working on linux platforms as well.
JeepFreak said:
And no, I absolutely will not be porting this to Windows or Mac, but anybody else is more than welcome to!
Click to expand...
Click to collapse
Lol..the Mac users tend to get the short end of the stick when it comes to tools. There's no reason scripts like this wouldn't work (maybe with a little massaging) via Terminal if they've got bash/fink and all the adb stuff setup.

agentdr8 said:
Great work. Good to see others here working on linux platforms as well.
Lol..the Mac users tend to get the short end of the stick when it comes to tools. There's no reason scripts like this wouldn't work (maybe with a little massaging) via Terminal if they've got bash/fink and all the adb stuff setup.
Click to expand...
Click to collapse
This is true, but I don't even know anybody with a Mac, so I don't want to commit to making the script work with one.
Billy

Does your enable WiFi tethering script just modify the db from broadband to pta?
This requires the tethering guard apk?
Sent from my HTC One X using xda premium

warri said:
Does your enable WiFi tethering script just modify the db from broadband to pta?
This requires the tethering guard apk?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Yessir. The script assumes you still have tetherguard.apk. I think the tetherguard odex file is also required, but I haven't gotten confirmation on that.
Thanks,
Billy

Great job!

kennethpenn said:
Great job!
Click to expand...
Click to collapse
Thanks! That means a lot coming from you!
Billy

JeepFreak said:
This is true, but I don't even know anybody with a Mac, so I don't want to commit to making the script work with one.
Billy
Click to expand...
Click to collapse
Heh I hear ya. I was just saying that most linux scripts can work just fine (with minor tweaks) on Macs if the user has a little bit of *nix knowledge.

Correct me if I'm wrong here, but I thought the Rogers One XL had a CID of ROGER001, not ROGERS01?

zerojay said:
Correct me if I'm wrong here, but I thought the Rogers One XL had a CID of ROGER001, not ROGERS01?
Click to expand...
Click to collapse
You're absolutely right. Nice catch! Got the script updated.
Thanks again,
Billy

Related

Want to try out Cyanogen's mod on the emulator?

http://android.modaco.com/content/g...-running-with-the-market-etc-cyanogen-3-6-5/#
Kinda cool, should work for other ROMs too...
In action in screenshot beloww - nice way to try apps out from the market too!
P
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yea you can also emulate your own phone by dumping a nandroid backup in there. Pretty cool for sheer geek thrills but ultimately not very useful.
No Linux love at all in any tutorial/hack/mod/program/anything. I will figure it out I guess.
nandroid
goldenarmZ said:
Yea you can also emulate your own phone by dumping a nandroid backup in there. Pretty cool for sheer geek thrills but ultimately not very useful.
Click to expand...
Click to collapse
How would I dump my nandroid backup into. Looks cool su I wanna give it a shot.
Would someone post a system.img for the latest greatest hero ROM with sense UI? Thanks
r0ck0 said:
Would someone post a system.img for the latest greatest hero ROM with sense UI? Thanks
Click to expand...
Click to collapse
Yes please! I have tried to find this but have come up empty handed.
Ion42 said:
Yes please! I have tried to find this but have come up empty handed.
Click to expand...
Click to collapse
apparently the emulator can't handle image files which are that big, it just crashed on mine...
the_fish said:
apparently the emulator can't handle image files which are that big, it just crashed on mine...
Click to expand...
Click to collapse
I have done a nandroid backup and ran it on the emulator just fine. Can't use one that pushes the apps to ext partition unless you find a way to make a multi-partition img to use as SD.
Would someone post a system.img for the latest greatest hero ROM with sense UI? Thanks
Click to expand...
Click to collapse
Search the forum for the HTC WWE update that came out a while back. Someone posted a link to it here before roms were modded from it. Not the Newest one out, but it has sense/touchflow/rosie or whatever they feel like calling it this week. Or do like others said and do a nandroid backup while running a hero rom.
No Linux love at all in any tutorial/hack/mod/program/anything. I will figure it out I guess.
Click to expand...
Click to collapse
Detailed intruction on setting up the SDK for ubuntu linux are on this forum. Try skimming through the first 2-5 pages of the dream development section. If you have the SDK setup it works just like under windows. it's even easier if you install eclipse and the android plugins. They you even get a gui to set up your virtual android devices. Once you have one setup, simply type "emulator (device name)" in terminal and it will load up. Read the documentation that comes with the sdk or at developer.android.com.
Pretty cool for sheer geek thrills but ultimately not very useful.
Click to expand...
Click to collapse
I must beg to differ. It's quite useful for testing purposes. It leaves your phone free to do it's job while allowing you to still test apps and roms during development. I would much rather abuse the emu than my physical devices while getting bugs worked out.
gurnted, your just one of those guys arnt you.
hey...
whats the theme on the screenie??
im newbie to CM and i like that theme thing better than mine
thanks
hops4life said:
whats the theme on the screenie??
im newbie to CM and i like that theme thing better than mine
thanks
Click to expand...
Click to collapse
It looks like the 1.5 market running on a hero rom....
paulobrien said:
http://android.modaco.com/content/g...-running-with-the-market-etc-cyanogen-3-6-5/#
Kinda cool, should work for other ROMs too...
In action in screenshot beloww - nice way to try apps out from the market too!
P
Click to expand...
Click to collapse
This looks pretty cool!
Thanks
I might give it a shot.
Sent from my HTC Magic using XDA App
this work for 2.3 roms ?
vladnosferatu said:
this work for 2.3 roms ?
Click to expand...
Click to collapse
AFAIK, you need to compile the code for emulator.

[TOOL] Android Injector

CHECK THIS LINK TO UNLOCK THE "Unknown Sources" OPTION ON YOUR NON ROOTED ANDROID PHONE
http://forum.xda-developers.com/showthread.php?t=1107499​​
Now you can install apps on your Android powered phone or device without having to get them through the Android Market.
Android Injector allows you to quickly and easily install apps that you have downloaded to your computer in the form of ".apk" files onto your Android phone or device. Some phones do not allow you to install apps from any other source except the Android Market. However, some app authors do not release their apps to the Android Market and elect to put them on other sites such as Getjar.com. Android Injector allows you to download apps from those other sources to your computer and then install them onto your phone from your computer quickly and easily via USB connection.
Just install the USB drivers for your phone or device onto your computer (check your carrier or device manufacturer for drivers), connect your phone to your computer via a USB cable, select any amount of Android app files (.apk) and click "Install to device". No rooting or any of that complicated stuff.
~~Credits Go To Kyle Dusang, Harmony Hollow Software~~​
Thanz for sharing mate!!
☞★sent from my Galaxy3!!
♪drajax!! ♬♂ツ
drajax said:
Thanz for sharing mate!!
☞★sent from my Galaxy3!!
♪drajax!! ♬♂ツ
Click to expand...
Click to collapse
No problem
Re-Uploaded with a few changes.
im guessing this works for att phones???
vampir4997 said:
im guessing this works for att phones???
Click to expand...
Click to collapse
That is correct.
It worked really good! Thanks
Screenshots..
Can someone please upload some screenshots..
Thanks.
wporta said:
Can someone please upload some screenshots..
Thanks.
Click to expand...
Click to collapse
Tested on RCMixS++ ROM for HTC Desire
And it works.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Very cool app! I like it!
Awesome!
Awesome app! Thanks!
Would be awesome if it was available for Mac/Linux
This app is superb!!!
But please, make a shortcut on the context menu, when right-click over an apk file on the explorer... please.. make it... it make the process so much more simple...
Does it work on Nook color?
Sorry to ask (or someone will say try it) but if it does this would be an awesome achievement and a reason to keep the stock format on the nook color and get all the other apps you want with the new update. Great job on your app it looks great and reviews speak well of it.
I love it!
some doubt
hi,
good work BUT i think that the same thing could be possible with a simple shurtcut to a batch on which you drop one or a group of APK files....
I use that method...
Dude, nice! It even has drag&drop function! Really nice work, thanks
Good work! Highly appreciated.
I do have some questions and comments:
(1) what's the method behind this? How exactly does it work?
(2) are you aware of any legal or technical side effects from using this method?
(3) does the utility support any command-line parameters? If so, it'd be negligible to add a shell option to interface with Explorer.
Thanks again!
Does this alleviate the need to push an .odex file?
This is nice, might come in handy, Great work!!

[Tool]Auto Super Cid Script v3

Hi guys
first of all it's my first script so if you find any bugs or you have some suggestions how to improve the script i'm here to listen
I think this script is otiose, but there is always bunch of people that don't know
how to use terminal and simple commands.
So if you one of them you are in the right place!
What you need:
1. S-OFF
2. HTC drivers installed.
3. Any kind of Windows machine
4. USB Debugging turned on.
5. And the attached file below.
How to:
1. Connect your phone to PC and set "Charge only".
2. Run the file: Auto Super-Cid Script By Pavelol v2.bat
3. Follow the instructions of the script.
Change log:
v3
added an option to check current CID by request. (thx aviorx1)
P.S
If this tool helped you, hit the Thanks button and Rate the Thread
You can contact me on #Sensation-Devs @IRC
disclaimer: of course i don't take any responsibility for bricked devices and dead sd cards and if you lose your jobs
I tried it but it didn't work for my sensation htc Cid HTC__044
hhuntter said:
I tried it but it didn't work for my sensation htc Cid HTC__044
Click to expand...
Click to collapse
what kind of error you have?
and i forgot to mention that s-off is required.
disclaimer: of course i don't take any responsibility for ... if you lose your jobs
Click to expand...
Click to collapse
damn... but thx anyway
also curious, what was the error
i want to try it.
but you dont provide full instruction
i press 1 then i got adb error blah
do you actaully have the ADB exe file on the same path as his BAT file?
if you don't and his BAT file uses it then it won't push through.
probably be better if you posted the error message than just typing "blah"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i dont know theres something i need to install first or something???
Thanks man!Mike won't be busying updating cids
baste07 said:
do you actaully have the ADB exe file on the same path as his BAT file?
if you don't and his BAT file uses it then it won't push through.
probably be better if you posted the error message than just typing "blah"
Click to expand...
Click to collapse
+1 OP you should update the attachment
Super CID
Worked like a charm. Nothing else did. Thanks. Unzipped it, moved the two files to my ADB folder, replaced the the fastboot with this one and ran the batch file once the phone was hooked up. Easy as it gets. Good Job!!!
TheUndertaker21 said:
i dont know theres something i need to install first or something???
Click to expand...
Click to collapse
you don't have adb.exe
baste07 said:
you don't have adb.exe
Click to expand...
Click to collapse
yeah works like a charm
i had to move all the files to adb folder. smh
thanks
based on the reply from a couple of users. this seems to be working as planned. this definitely will be a big hit for the noobs!
great work!
damn,how i could forget to include the adb.exe :\
uploading the new package
edit: now the new package should work without any problem! have fun guys
great work man! no problem on the adb.exe
but yeah there's a lot of new guys coming in who have not much experience on using ADB. good one in adding it in there!
This is such a good idea why didnt i think of it? :L awesome work man worked perfect
Guys i got a strange, maybe, issue
i've done supercid with this script and all is gone well
But
i tried to check CID via fastboot, and it says 11111111
i tried to check CID via terminal emulator and it says HTC_405
Is that normal?
Thanks
What command did you use in emulator?
Sent from my HTC Sensation Z710e using xda premium
baste07 said:
What command did you use in emulator?
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
su
getprop ro.cid
can you try this?
Just tried it and i get 11111111 on both of them
But i didn't use the script, i did it in the conventional method
Sent from my HTC Sensation Z710e using xda premium

[KERNEL][CM7/SENSE][GSM/CDMA] Kernel with mac spoof capabilities

I added functionality to the bcm4329 driver, which allows you to spoof your mac address quite easy.
The driver wil try to open /data/local/mac.dat and read the mac address from there.
So if you want eg. your mac address to be 00:41:41:41:41:41 you do this via a shell:
Code:
busybox echo -e \\x00\\x41\\x41\\x41\\x41\\x41 > /data/local/mac.dat
After changing this file you need to stop/start your wireless connection so that the driver reads the new mac address from the file.
If you want your original mac address back, just delete the file.
I'm planning to create a simple app for changing the mac without using the shell.
I'll upload the changes i did to github asap
Comment and bug reports are welcome !
Update 25/08/2012: Added Sense kernel, this is gingercakes v0.9 avs GSM
Ps: zip's are not signed !
CM7 Source: https://github.com/worstenbrood/cm-kernel
Sense Source: https://github.com/worstenbrood/bravo_2.6.35_gb-mr
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
what can i use this for?
yreham said:
what can i use this for?
Click to expand...
Click to collapse
Spoof your wireless mac address ...
thanks, i will try it tomorrow after flashing a cm7.
yeah it works. first really working method for me.
tested some mac-spoof-apps before on bravo but they didn't work at all.
the only thing i don't understand: why there is no interest at all in this modification?
markus1540 said:
yeah it works. first really working method for me.
tested some mac-spoof-apps before on bravo but they didn't work at all.
the only thing i don't understand: why there is no interest at all in this modification?
Click to expand...
Click to collapse
No idea Did the mod for my own purposes but wanted it to share with others.
worstenbrood said:
No idea Did the mod for my own purposes but wanted it to share with others.
Click to expand...
Click to collapse
that's good in airports, where they give you only 15 minutes free, change the mac and start over.
good ideea
Could you possibly do this for the CDMA CM7 Kernel?
Is this just a build from CM7 source with just the addition of the mac spoof capabilities? Or has it some other improvements?
Thanks for the work... but I'd like to see it in ManU kernels as they give me much better performance and battery life than original CM
The changes are in my github. Cant be much work merging them into manu
Sent from my HTC Desire using XDA
Jereso said:
Could you possibly do this for the CDMA CM7 Kernel?
Click to expand...
Click to collapse
Sure
Sent from my HTC Desire using XDA
i can't find data/local/mac.dat when open file explorer. cm7 latest nightly
You have to create it yourself, check the sample in the first post
Sent from my HTC Desire using XDA
Ok thank you
Sent from my HTC Desire using Tapatalk
Added CDMA build, not tested though since i don't own a cdma device. Let me know if it works (or not).
Great job! It works like a charm on my CM7.2.0 RC1
Could you also port this to CM9 (as in BCM RC2.2) or to Sandvold's ICS?
Nice work worstenbrood !! Thank you
Works like a charm.
If it can help someone, modified bcm4329.ko for GingerVillain 3.3, stock kernel.
Code:
strings bcm4329.ko | grep vermagic
vermagic=2.6.38.4-defrost-bravo+ preempt mod_unload ARMv7
Backup your bcm4329.ko ( /system/lib/modules/ ) and replace it with this one.
are there any additional features in this kernel?
Hey, Could you add this to the Manu AXI CFS kernel? Would appreciate it a lot if you could
Sent from my HTC Desire using XDA
Thanks a lot wordtenbrood,,..
you helped me a lot with this awesome tricks..

[Q][SOLVED] Device listed as offline

So I put together a 1-click root utility that supports rooting 2.2 and 2.3.4 up to the latest OTA.
The problem is that adb lists my device as offline (on 2.3.4 w/o OTA) but when I RUU to 2.2, it recognizes it as online even when the screen is off.
I've tried uninstalling drivers, reinstalling, multiple cables, and no luck.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any ideas?
EDIT: Fixed by using a non-HTC, unbranded cable. I have also release my utility, check HERE
No ideas but I do think it's awesome someone is working on this!
Sent from my PG06100 using xda app-developers app
Sonkway said:
No ideas but I do think it's awesome someone is working on this!
Sent from my PG06100 using xda app-developers app
Click to expand...
Click to collapse
Thanks, I got the root from 2.2 to work, but now I can't test to see if it works on 2.3.4 lol
Hope you get it working 100% . It will be nice to have.
No clue dude, :l
I know beggars can't be choosers, but It'd be nice to have this as a Linux tool as well
jesuscash said:
No clue dude, :l
I know beggars can't be choosers, but It'd be nice to have this as a Linux tool as well
Click to expand...
Click to collapse
Yeah, I actually wrote it in java so it has cross-platform niceness baked in
I already tested 2.2 root on ubuntu, just can't test this part of it :\
Sent from my PG06100 using xda premium
Well this is not really a "fix" more of a hack lol, but to get it to show up as device, I just turned on the flashlight and left it with that. Seems to work fine now, I just needed it for testing.
So now that its working, expect a new thread titled "1-click root" sometime tonight guys!
EDIT: God HTC drivers hate me...
Get er done .
CNexus said:
Well this is not really a "fix" more of a hack lol, but to get it to show up as device, I just turned on the flashlight and left it with that. Seems to work fine now, I just needed it for testing.
So now that its working, expect a new thread titled "1-click root" sometime tonight guys!
EDIT: God HTC drivers hate me...
Click to expand...
Click to collapse
This worked for like 5 minutes. Then not.
Did some more extensive digging on the interwebs, changed to an unbranded cable and bam. ADB works again.
Sorry for the false hopes yesterday guys, it should definitely be up by tomorrow afternoon :silly:

Categories

Resources