spxploit help ! - P3600 Software Upgrading

Could someone please spend a few minutes and write down the steps to get splxploit working !!! Like myself I think there are a number of people struggling with this.
I am not at all familiar with Linux but I HAVE tried and unfortunately failed.
I used a Live CD of Knoppix, which seems to run fine on my system but I can't get gcc to compile the file. I have tried other Live CD's but couldn't get any others to run properly.
What I have done is unzip the splxploit.c file to the desktop. I then right clicked on the file, went to properties and changed the permissions to read/write. The file appears to be in the directory ramdisk/home/knoppix/desktop .
So I then go to the start menu, and choose run command. I get a popup box where I enter the gcc command line (I also ticked the box to show the process in a terminal window)
I have tried various combinations of the gcc command line,but it aways says unable to find directory/file.
e.g.
gcc splxploit.c -o splxploit
gcc /ramdisk/home/knoppix/desktop splxploit.c -o splxploit
and every other combination I can think of !!
A quick tutorial for those who use windows would be VERY helpful
Thanks

let me get you a statically linked version later

ww2250 said:
let me get you a statically linked version later
Click to expand...
Click to collapse
here you're. unzip it and the binary should run in most linux x86 hosts.

See the splxploit thread:
http://forum.xda-developers.com/showthread.php?t=308691
I just posted a windows version

That is great news !!!! On my Hols, but will check out the windows version when I get back next week. Will let U guyz know how I get on

Related

Rescue for my Trinity...

Hi All, (sorry for my language)
I can not upgrade or use my Trinity. Device freezing while booting-up. And Red NO GSM message appears on the bottom line. When blue Windows Mobile splash screen comings up, device freezing.
I'm trying to re-flash with SD card method (extract nbh file and rename to TRINING.nbh and put to te SD card and start manual bootloader) NOT ALLOW message appears on the upper line.
My device SPL version is 1.05. How can i rescue my trinity?
Thanks in advance...
seem u upgrade wrong version...try flash with original OS ROM, or else return to "them" to repair....
If you can figure out how to compile splxploit, you can fix this, see
http://forum.xda-developers.com/showthread.php?t=308691
@stepw,
Thank you stepw. Problem is "how to compile splxploit" I'm using Windows XP OS on my notebook.
RUU_signed.nbh extracted and waiting for next steps.
What is the next steps, who can explain to me.
Thanks in advance
ya, i try mingw to compiler but doesn't work. or it say error somewhere on file splxploit.c......Just wait for new answer. I brick my dopod810...and i'm waiting for your answer....
tuannghia1985 said:
ya, i try mingw to compiler but doesn't work. or it say error somewhere on file splxploit.c......Just wait for new answer. I brick my dopod810...and i'm waiting for your answer....
Click to expand...
Click to collapse
The issue was resolved for tuannghia1985 in the other thread
I am trying to use the splxploit, but am not at all familiar with Linux. Could do with a few pointers ....
I am using a Live CD of Knoppix on my windows PC. It appears to run very well, and seems to have gcc installed already as default.
What I did was unzip the splxploit.c file to the desktop and then went to the run command and typed "gcc splxploit.c -o splxploit" a console popped up, but gave a message saying gcc : couldn't find file or directory". I tried various combinations e.g "gcc home/knoppix/Desktop splxploit.c -o splxploit" but just couldn't get it to work. I think I am just telling the gcc program to look in the wrong place.
ANy help would be appreciated !!
gaz

I Got Hamachi Working on G1 Android!

Hello,
I was interested in getting Hamachi to work on my newly-acquired G1. After applying Cyanogen's Mod and rooting the thing, installing Debian (yay!) and setting up all the nifty scripts to make it semi-permanent, I focused on getting Hamachi to work.
First I tried the Linux tgz but it failed ("wrong architecture, teabag!" it told me.) ..so I looked around some more, and came across a build for the Nokia N770 (Maemo something-or-other) and decided to give it a try, and holy **** if it didn't work (after some tweaking.)
NOTE: YMMV.
Make sure your phone is r00ted. Can't do it without the r00ty-juice. Also, a Debian distro is required. See here for how: http://www.saurik.com/id/10
**EDIT** I just reflashed my G1, so I had the opportunity to try again and figure out the exact steps! Here they are, as they worked for me:
01) Download the N770 Hamachi tarball: http://files.hamachi.cc/linux/nokia-770/hamachi-0.9.9.9-20-lnx-n770.tar.gz .
02) Untar/ungzip it, it will extract to hamachi-n770-0.9.9.9-20.
03) cd into there, and run sh ./install.
04) mkdir /dev/net to create the node directory in /dev.
05) mknod /dev/net/tun c 10 200 to create the tunnel device.
06) apt-get install sudo if you don't already have it.
07) apt-get install libcrypto++7 if you don't already have it.
08) ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7
09) sudo tuncfg to get the tunnel driver started.
10) hamachi-init to set up the initial configuration and RSA keys.
11) hamachi start to start up Hamachi.
12) hamachi login to login to the Hamachi network.
13) hamachi set-nick nickname if desired.
14) hamachi join network password if desired.
Success!! Got my G1 online and logged into my Hamachi network! I did apply this Linux fix (to make it stay online within my Hamachi2 network -- this is Hamachi 0.9.9):
echo KeepAlive 10 >/root/.hamachi/config
Maybe overkill, as it's gonna send a ping every 10 seconds over the air, which I'm sure will eat up my battery after a while.
--Weasel5i2
nice! been waiting for something like this for quite some time ;D having some problems though... it won't compile... when i run make install, just keeps on giving me a "Nothing to do for target "install"" Tried removing tuncfg folder and hamachi executable too (which doesn't work btw, says libcrypto is missing), still didn't work... any ideas?
Oh, thanks for reminding me! I also did an apt-get install libcrypto++7 when it gave a linker error.
As far as Make goes, it doesn't really compile (it is precompiled) as much as just copy the binaries to the proper places in the path.. Try doing the install of libcrypto++7 and see if it works for you.
--W5i2
alright... so ive tried installing libcypto 0.9.8 and renamed it to 09.9.7.... however it still says i need to run hamachi-init which doesn"t work!
Edit: alright, got it... i had to do sh install
Thanks, seems to work!
tip: the libcrypto.so.0.9.8 wich you have to rename to libcrypto.so.0.9.7 is located in /usr/lib
Can any of you two (Fish & Zero) whom have gotten this to work confirm what you did, and if "Debian" is needed ?
TheUriel said:
Can any of you two (Fish & Zero) whom have gotten this to work confirm what you did, and if "Debian" is needed ?
Click to expand...
Click to collapse
it does work, it only works on debian at the moment, since the binaries are not designed for android. however, the network connection should work with android too, since debian and android share their connections...
all you need to do is follow the instructions, but also run
apt-get install libcrypto0.9.8 and
mv /usr/lib/libcrypto0.9.8.so /usr/lib/libcrypto0.9.7.so (something like that check ls /usr/lib)
Alright so im still breaking my neck to get this to work but i dont get it.
This guy says "4) Untar/ungzip the file, run 'make install' and it should install without errors/warnings, IIRC.. (I did this last night)". What is he talking about ? Do i download the zip file, extract the folder in it to the root of my SD ? because thats what i have done so far. And if yes after then what comes next ? I cant put his puzzle together. -.- So lost, and i really want this.
You need a working debian on your android for this to work.
and even then its helluva lot of doing magic until it so much as tells you that it's started.
My Problem for example is that when i do: "hamachi start" it tells me that it can'T access the tun device (no such device) but it's there...
Dont worry about it, i went back to Hero after getting Debian working.
Updated PP
I reflashed my phone, so I had a chance to install Hamachi and document it again. As such, I updated the parent post with the correct instructions.
Enjoy, and please let me know if anything doesn't work and I'll happily try and help with troubleshooting.
--W5i2
Hmm almost eberything works except 'hamachi start' wich throws bad response from tuncfg (/dev/net/tun no such device)
Prolly a problem with my debian installation but you got an idea without reinstalling the whole thing?
You need to make the tun device first:
# mkdir /dev/net
# mknod /dev/net/tun c 10 200
I have since rewritten the original post to have more detailed (and proper) instructions.
^_^
-W-
Tried that after it was posted here in a reply (i think)
But to no avail (tried sudo tuncfg too but nothing changed)
Can't wait to go try this.
Does anyone have any VNC viewers (preferably free) that they recommend for use with this? My computer is behind a NAT router so I need to use Hamachi to access it.
Spica
Hi all,
Am I able to install this Debian into my rooted Eclair 2.1 Samsung Spica?
Thanks in advance.
SadaT5700 said:
Hi all,
Am I able to install this Debian into my rooted Eclair 2.1 Samsung Spica?
Thanks in advance.
Click to expand...
Click to collapse
Or my Evo 4G?
I have ubuntu running on my Evo 4G per the instructions here: http://forum.xda-developers.com/showthread.php?t=720622
I've followed the hamachi install instructions in this thread, but when I try running "hamachi start" I receive the following:
07 04:33:56.732 [ 0] [6315] tap: connect() failed 111 (connection refused)
Does anyone out there have any idea on how to fix this and get hamachi running?
This would be AMAZING on the Evo. Just imagine the possibilities of remote administration.
I have it working however I can only mount linux shares I cant mount windows drives
and what sucks is the ubuntu image wont let you paste files to filesystem ,root, home, or anywere. only from terminal.

Setting Up NDK on Window

Looking for some assistance getting the NDK working properly on Windows 7 (64).
I followed all of the instructions to set up the NDK in windows but am running into an issue.
Per the instructions you need to install CYGWIN which i did and then go to the root NDK folder and run build/host-setup.sh.
Once I run this i get the following error;
ERROR: Could not find a valid GNU make executable.
Please ensure GNU Make 3.81 or later is installed.
Click to expand...
Click to collapse
I do have GNU make 3.81 installed for windows.
If i try to use cygwin to run a make APP=hello-jni as a test as it states i get the error;
bash: make: command not found
Click to expand...
Click to collapse
if i use windows command prompt i can run the make.exe fine.
I'm thinking the issue is because its trying to use a Linux based make since i would assume Cygwin cannot rune EXE files.
Could anyone assist me with this that has it set up and working properly in windows?
Any takers please?
Check 'Make' package in Cygwin setup.
Do yourself a favor and use a real operating system. Ditch that MSJUNK.
On top of that, I *strongly* suggest that NOBODY EVER use windoze for compiling ANYTHING. When you are building software for other people to use, you most *definitely* do NOT want to build software that has been compromised. Windoze is the world's number ONE compromised platform. It about as save as having your way with a 50 year old street corner hooker without protection.

[Q&A] [TOOLS] Touchpad Toolbox

Q&A for [TOOLS] Touchpad Toolbox
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
I guess I am an idiot because I cannot seem to get 3 downloads that work.
the fat kid said:
i appreciate the quick response, so im throwing in the zip file that says " update-cwm-jcs>>>>>>>>>>>>" along with the "gapps-kk>>>>>>>"
and then unmounting media volume?
again, thank you,.
---------- Post added at 02:47 AM ---------- Previous post was at 02:41 AM ----------
edit: just tried all 3 of the recovery files in the op and it still says same error message. any ideas? should i be renaming this from update-cwm blah blah, to the format that it is saying is accepted such as,
It will recognize as a compatible KitKat/DataMedia ROM files that look like:
cm-11-*-tenderloin.zip or
ev_tenderloin-nightly-2014.??.??.zip or
aokp_tenderloin_kitkat_*.zip
again im throwing the gapps-kk-20140105.zip in the ttinstall folder along with the update-cwm-jcs-dm-tenderloin.zip file and then ejecting the tp selecgint unmount media volume and am still getting the error message.
---------- Post added at 03:22 AM ---------- Previous post was at 02:47 AM ----------
geez im a freakin moron.... i had incompatible zip files... sorry folks for the clutter
all other noobs like me WATCH THE VIDEO TWICE.
thanks again, all of you are awesome and hopefully this makes my touchpad relevant again.
Click to expand...
Click to collapse
Would you be so kind as to tell me the 3 downloads you used because I have tried and tried and no success.
Can the Touchpad Toolbox be updated to so that it will accept GAPPS named pa_gapps-*4.4.4-*.zip instead of pa_gapps-*-4.4.2-*.zip?
Either that or remove or allow to skip the requirement that GAPPS zip must be present to do the "Install Android" selection. I eventually worked around it rejecting by renaming the 4.4.4 to 4.4.2 but it will probably frusturate novice users.
tweak42 said:
Can the Touchpad Toolbox be updated to so that it will accept GAPPS named pa_gapps-*4.4.4-*.zip instead of pa_gapps-*-4.4.2-*.zip?
Either that or remove or allow to skip the requirement that GAPPS zip must be present to do the "Install Android" selection. I eventually worked around it rejecting by renaming the 4.4.4 to 4.4.2 but it will probably frusturate novice users.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=54986968&postcount=293
TPtoolbox boot menu volume rocker not work.
Hi, I ran the tptoolbox and boots in to menu, but the volume button up or down does work, neither does pressing home. But home and pwer button will reboot device. I tried many times no response from volume rocker in menu. Please help, thanks.
I have the 4G Hp Touchpad 1.5 ghz, dual core 32 gb.
Anyone know if the charging dock will still work following an android installation?
Also, I will search for compatible rom builds, but do themes work as well? (Not sure why they wouldn't, just checking)
sj
Sent from my gTab3 (SM-T210R) on NoleKat v1.4 using [email protected] HD Mobile Pro
sjsharksfan420 said:
Anyone know if the charging dock will still work following an android installation?
Also, I will search for compatible rom builds, but do themes work as well? (Not sure why they wouldn't, just checking)
sj
Sent from my gTab3 (SM-T210R) on NoleKat v1.4 using [email protected] HD Mobile Pro
Click to expand...
Click to collapse
Yes the Touchstone charging dock works on android...
TP Toolbox failed; I'm OS-less; please help
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
I still need help. HELP!
I still need help. Anybody? HELP!!!
vizspace said:
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
Click to expand...
Click to collapse
Have you tried to install it using jcsullins recommendation that you use the Linux way with Mac?
Kit Kat working
OK, like the chap above, I moved the wrong three files into the ttinstall folder. I figured that out. It's the way the thread was written, easy to get confused as they have links right below and say it's those, when in fact it is not (a gapps, recovery and rom need to be moved in there, not the data version of android as that link downloads). Anyway, I sorted it out. Just putting closure on that. Thanks JCSullins! Now we need a Mac version so I need not borrow a friends PC laptop.
vizspace said:
I'm on a Mac.
I can't figure out how to make tptoolbox work on the Mac.
I went to a frustrated friend with a PC (Windows) who did not allow me enough time to complete my task.
My Touchpad is now OS-less, as in no OS; no WebOS, no Android.
I successfully did a full data wipe, twice. Thus no OS.
I couldn't get past the next step, install Android, on TPToolbox.
I got stimied after trying to copy the three files to the ttinstall folder. It said a proper recovery file was not found.
I followed the steps above to a T. I copied and pasted the three files from the windows batch to the ttinstall.
I realize in those three files there were no gapps, no recovery, no kitkat files.
So I hope I copied the right three.
Anyway, my frustrated impatient friend kicked me out, so I have no access to a PC anymore (just my old faithful Mac); I have a TP without an operating system on it; and I have no idea how to proceed (as I don't know which three files I'm supposed to copy and paste as it seems the ones I did copy and paste weren't the ones and there's no Gapps, no Recovery and no Android KitKat installs anywhere (I thought that would be within the TP Toolbox programme itself.)
Like I said, I clicked on the correct links, I went with JCSullins first link vs. the other two.
So somebody, anybody, write me back if they know either how I can proceed, or if I can just send you my TP and you can do a big favour for a small nobody.
Thanks everybody.
If not, anyone wanna buy a TP with no OS?
Click to expand...
Click to collapse
vizspace said:
--SNIP--
Now we need a Mac version so I need not borrow a friends PC laptop.
Click to expand...
Click to collapse
Have you tried running the script in terminal as jcsullins suggested?
C) Run the script provided with TPToolbox
Extract the contents of the TPToolbox zip file from above.
Navigate to the tptoolbox_v40 directory that was extracted from the zip.
On Windows, run the batch file named tptb_v40_win.bat
On Linux, run the script named tptb_v40_nix.sh
On Mac, try what I said for Linux and let me know what happens.
Click to expand...
Click to collapse
About the .sh file on a Mac; and, question about transferring files
shumash said:
Have you tried running the script in terminal as jcsullins suggested?
Click to expand...
Click to collapse
Hi Shumash, Thank you for writing and being interactive. Yes I did do as suggested and tried running the .sh (linux) file on my Mac. The file opened with TextWrangler and read:
#!/bin/sh
# This script is Copyright (c) 2014 James Sullins, All rights reserved.
# James (JC) Sullins, aka jcsullins
# No modifications or distribution without permission
TPTB=TPToolbox-2014-05-18-v40.bin
if [ \! -r ${TPTB} ];
then
echo "Cannot find Touchpad Toolbox binary file ${TPTB}"
exit 1
fi
echo "Checking novacom service ..."
novacom -l
rc=$?
if [ $rc -ne 0 ];
then
if [ $rc -eq 1 ];
then
echo "Cannot find novacomd service. Try rebooting or re-installing novacomd"
exit 2
elif [ $rc -eq 127 ];
then
echo "Unable to find novacom program. Try re-installing novacomd"
exit 4
else
echo "Unknown error rc=$rc checking for novacom service. (novacom -l)"
exit 3
fi
fi
echo "Loading TPToolbox ..."
novacom boot mem:// < ${TPTB}
rc=$?
if [ $rc -ne 0 ];
then
if [ $rc -eq 1 ];
then
echo "Cannot connect to Touchpad."
echo "Make sure Touchpad is connected with USB cable."
echo "Make sure Touchpad is in webOS Recovery (bootie) mode."
echo " (where big USB symbol shows on Touchpad screen)"
exit 5
else
echo "Unknown error rc=$rc loading TPToolbox (via novacom boot)."
exit 6
fi
fi
I did a quick search online and found that Macs don't handle the .sh command, rather the command is, believe it or not, .command.
More that that I'm a novice. So I can't say.
And that's when I went to borrow a friend's PC whereupon I double clicked the .win file, extracted it, then ran it in the ensuing window no problem.
--------------------
Now I'm glad someone is reading this thread. I have a question for you (or anyone). Now that I've TP Toolbox'd my HP Touchpad (and I did not select the option to install WebOS on it), how do I transfer files from my Mac (preferred method) to the HP Touchpad now?
I put it in recovery mode (the big USB sign) but it didn't show up on my Mac desktop. It was unrecognized in the Finder too.
So I went back to my friend on hands and knees and am now using TP Toolbox to put an updated file into the ttinstall folder. Is TP Toolbox now the only way to get files on and off my Touchpad? Say it ain't so (and walk me through the process if it ain't so).
There must be an easier way. What am I to do? Please help. Thanks.
vizspace said:
Hi Shumash, Thank you for writing and being interactive. Yes I did do as suggested and tried running the .sh (linux) file on my Mac. The file opened with TextWrangler and read:
--SNIP--
There must be an easier way. What am I to do? Please help. Thanks.
Click to expand...
Click to collapse
From a search on Google (I don't have a Mac):
First in terminal make the script executable by typing:
chmod a+x (yourscriptname)
Then in finder right-click your file and select "Open with" and then "Other...".
Here you select the application you want the file to execute into, in this case it would be Terminal. To be able to select terminal you need to switch from "Recommended Applications" to "All Applications".
NOTE that unless you don't want to associate all files with this extension to be run in terminal you should not have "Always Open With" checked.
After clicking OK you should be able to execute the script by simply double-clicking it.
Click to expand...
Click to collapse
file xfer and mac script
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
vizspace said:
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
Click to expand...
Click to collapse
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
vizspace said:
1. How do i xfer files from mac to touchpad and back? Need i use tptoolbox or is there anther way?
2. Second quetion, separate from first...
You wrote:
Quote:
First in terminal make the script executable by typing:
chmod a+x (yourscriptname) wrote:
I dont understand that. What is a script name? Is it my computer name? Other? Where would i find this info?
If my name were viz, and it isn't, would i type
chmod a+x (viz)
(With brackets, as you did)
Or
Chmod a+x viz
(Without the brackets)
Again, what is my scriptname?
3. Is this related to quetion 1? Does yor response suggest all files must niw be xferred using tptoolbox (in the method you described) if im using a mac and that there is no other way to accomlish that task?
Click to expand...
Click to collapse
This link may be of use to you :
https://www.android.com/filetransfer/.
TP Toolbox on a Mac
This system will not allow me to post my questions. It claims I have a URL in my message (which I do not) and won't allow me to post.
Is there another way to contact you?
Another email? Forum? Etc.?
I saved my questions as I can not submit them here.
There's a problem with the XDA forum.
Mac TPToolbox and other juicy issues
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
Thanks. I followed your link (to google) and read many results. The easiest looking result, which almost worked was this:
shumash said:
Google is your friend. Search first, ask second. I'm outta here:
https://www.google.com/?gws_rd=ssl#q=how+to+run+shell+script+mac
Click to expand...
Click to collapse
it was the fourth result, entitled: "How to run a unix shell script from the Mac Finder"
I followed those instructions.
Terminal opened (launched from the Finder window using their noted technique) and here is what was displayed in Terminal: (please note: I exchanged my computer name from it's real name to ABC and XYZ (for this thread; not my real computer name).
Last login: Fri Oct 24 11:27:14 on ttys000
ABC:~ XYZ$ /Users/XYZ/Downloads/HP\ Touchpad\ Tools/tptoolbox_v40/tptb_v40_nix.command ; exit;
Cannot find Touchpad Toolbox binary file TPToolbox-2014-05-18-v40.bin
logout
[Process completed]
I do see the .bin file in the same folder, the TPToolbox folder, as tptb_v40_nix.sh (which, by the way, I duplicated and changed the extension from .sh to .command, prior to searching in Finder as outlined in above links' description).
So I don't know what to do.
I know a lot of things you likely do not know; but you clearly know more about computers than I. Please be patient and explain succinctly.
I tried your method, first replied from , with and without brackets, that didn't help.
--------------------------------------------------------------
Regarding Android File Transfer, and I thank the contributor below for chiming in with that advice, I've used that, but it only works sometimes. It is not reliable; and doesn't see ALL the files (as a WebOS USB connection to my Mac used to).
Is there some way to put the HP Touchpad into USB mode and connect it to my Mac (like I used to before on the HP WebOS side (when I had an HP WebOS side)? This may be argument enough to keep the WebOS side. (I can put it in USB mode on Android, but the Mac does not recognize the HP Touchpad at all doing it that way).
---------------------------------------------------------------
Another unrelated question: What ever happened to PreWare? I can't find it anywhere. I installed Jason Robitaille's WebOS QuickInstall 4.5.0 and ran it ok. But when one clicks on the globe, there's no Preware. When one clicks on the Search field , there are zero results (except themes). No Applications, Kernels, Patches, etc.. Nothing. So what ever happened to Preware?
Not having been able to find that, and with Palm no longer supporting WebOS at all after Jan 15, 2015, was the nail in the coffin for WebOS for me. If I can't find Preware and all the apps and tweaks that come along with it, the only reason I can see keeping any WebOS on this tablet at all is to be able to put it in to WebOS USB mode and easily connect it to my Mac.
-----------------------------------------------------------
Lastly, I'm running JCSullins build titled/dated: cm-11-20141002-SNAPSHOT-jcsullins-tenderloin.zip
How do I take a screenshot with this ROM? It used to be Power button and lower volume button, but that screenshot option is no longer available in this JCSullins build, nor in the previous build: cm-11-20140625-SNAPSHOT-jcsullins-tenderloin.zip
Any ideas how to take a screenshot?
---------- Post added at 02:59 PM ---------- Previous post was at 02:43 PM ----------
sstar said:
This link may be of use to you :
https://www.android.com/filetransfer/.
Click to expand...
Click to collapse
Regarding Android File Transfer, and I thank the contributor below for chiming in with that advice, I've used that, but it only works sometimes. It is not reliable; and doesn't see ALL the files (as a WebOS USB connection to my Mac used to).
Is there some way to put the HP Touchpad into USB mode and connect it to my Mac (like I used to before on the HP WebOS side (when I had an HP WebOS side)? This may be argument enough to keep the WebOS side. (I can put it in USB mode on Android, but the Mac does not recognize the HP Touchpad at all doing it that way).
---------------------------------------------------------------
Another unrelated question: What ever happened to PreWare? I can't find it anywhere. I installed Jason Robitaille's WebOS QuickInstall 4.5.0 and ran it ok. But when one clicks on the globe, there's no Preware. When one clicks on the Search field , there are zero results (except themes). No Applications, Kernels, Patches, etc.. Nothing. So what ever happened to Preware?
Not having been able to find that, and with Palm no longer supporting WebOS at all after Jan 15, 2015, was the nail in the coffin for WebOS for me. If I can't find Preware and all the apps and tweaks that come along with it, the only reason I can see keeping any WebOS on this tablet at all is to be able to put it in to WebOS USB mode and easily connect it to my Mac.
vizspace said:
--SNIP--
Last login: Fri Oct 24 11:27:14 on ttys000
ABC:~ XYZ$ /Users/XYZ/Downloads/HP\ Touchpad\ Tools/tptoolbox_v40/tptb_v40_nix.command ; exit;
Cannot find Touchpad Toolbox binary file TPToolbox-2014-05-18-v40.bin
logout
[Process completed]
I do see the .bin file in the same folder, the TPToolbox folder, as tptb_v40_nix.sh (which, by the way, I duplicated and changed the extension from .sh to .command, prior to searching in Finder as outlined in above links' description).
So I don't know what to do.
--SNIP--]
.
Click to expand...
Click to collapse
My guess is that executing the shell script by double-clicking starts it in the wrong directory. Open a terminal in the directory where you have the Toolbox files and execute it from the command line there.

A pure C implementation of 'cuber' using OpenSSL's BigNum library

In case anybody cares, here's a pure C reimplementation of 'cuber.py'
(my own earlier reimplementation of @vortox's signature.py).
This is what I'm using in my '1-Click' bootloader unlock VM...
See 'grep ^gcc' for "build instructions".
Hack, you can probably build this for ARM and run it right on your very HDX tablet... (-;
UPDATE (JanuaryFebruary 2017):
OK; so, @zivimo had built this for ARM, but people still haven't noticed.
I repacked his binary from a .tar.gz to a .zip archive and decided to spell out the instructions for use.
Perhaps, this helps... With the right bootloader in place, and adb/fastboot installed (and working),
the unlock is as easy as follows...
Download and extract unlock.zip (SHA256: e40e3010f8eccfa9cbd1e73eecac30cf799099d183de23b2d256fc3407f143f6e5db0b8d82c8fd2a25a22b0a598014d22a2ec33cef27a8d4b65a36acde08f27a)
to the same directory that holds the adb and fastboot executables (unless you have added them to your PATH)
Click on get_code.bat in the extracted folder
-- optional (but commonly required) step(s) --
fix root (roll back, if you need to), flash vulnerable bootloader
[you'll definitely need to perform at least some of these if the last step fails]
Click on unlock.bat in the extracted folder
The archive also includes .sh variants of the .bat files for convenience.
You could also just click to show the hidden section and cut&paste... (-;
Code:
[STRIKE]unzip cuber.zip[/STRIKE]
adb push cuber /data/local/tmp/
adb shell chmod 0755 /data/local/tmp/cuber
adb shell 'id=$(cat /sys/class/block/mmcblk0/device/{manfid,serial}); echo "$id"; echo 0x${id:6:2}${id:11:8} | /data/local/tmp/cuber > /sdcard/unlock.code'
adb pull /sdcard/unlock.code
adb shell rm /sdcard/unlock.code /data/local/tmp/cuber
adb reboot-bootloader
fastboot -i 0x1949 flash unlock unlock.code
NOTE: download and extract the attached 'cuberunlock.zip' and run the above commands
in the directory where 'cuber' got extracted to.
Nice job! Originally I wanted to use OpenSSL BigNum too, but I hadn't enough time and Python was easier to use
hey,
made a static compile with an arm debian (jessie). seemed the easiest solution to me. compile command:
Code:
# gcc -fPIE -static cuber.c -o cuber -lssl -lcrypto
# strip cuber
# ldd cuber
not a dynamic executable
# ./cuber
Usage: cuber [RSA-bytes] < data > sig
seems to work. arm(!) binary attached.
ok draxie, you pointed me here but something seems to be missing. i downloaded unlock.zip, put the files in my adb directory. when i run get_code.bat, it pushes cuber to the kindle in the right directory, changes permissions (dont see any errors there) but then stops saying the system can't find the specified path. Whats funny is i used es file explorer to check the paths in the script, and they are there so not sure where the hang up is.
chin_bone said:
ok draxie, you pointed me here but something seems to be missing. i downloaded unlock.zip, put the files in my adb directory. when i run get_code.bat, it pushes cuber to the kindle in the right directory, changes permissions (dont see any errors there) but then stops saying the system can't find the specified path. Whats funny is i used es file explorer to check the paths in the script, and they are there so not sure where the hang up is.
Click to expand...
Click to collapse
Did you check all three paths?
/data/local/tmp
/sdcard
/sys/class/block/mmcblk0
The 2nd one _may_ be problematic if you're on SafeStrap.
I don't know why. I'm yet to install that on one of my test
devices to investigate. (Or, was that the 1st... )
The 0 in the 3rd one may actually be a 1 on some systems.
I have a few extra lines in my VM script to work around
that, I can easily add that here as well, if that turns out
to be the issue.
BUT, to try and troubleshoot: how far does the script get?
If it didn't complain with the permissions, the 1st path is probably OK.
Does it print your manfid/serial?
If so, mmcblkX would be right as well.
Any chance that you're on SafeStrap?
Can you push/pull to/from /sdcard?
- - - - -
On a second thought: I've only ever tested this on Linux.
String quoting on Windows may work differently, and could *royally* mess up how that more complex command is interpreted.
I'll test tomorrow; it's like 20 past 1am here. I need to get some sleep.
In the meantime, as a workaround, you could just hard-code your manfid/serial, and replace this line:
Code:
adb shell 'id=$(cat /sys/class/block/mmcblk0/device/{manfid,serial}); echo "$id"; echo 0x${id:6:2}${id:11:8} | /data/local/tmp/cuber > /sdcard/unlock.code'
by the decidedly much simpler:
Code:
adb shell 'echo 0xmmssssssss | /data/local/tmp/cuber > /sdcard/unlock.code'
draxie said:
Did you check all three paths?
/data/local/tmp
/sdcard
/sys/class/block/mmcblk0
The 2nd one _may_ be problematic if you're on SafeStrap.
I don't know why. I'm yet to install that on one of my test
devices to investigate. (Or, was that the 1st... )
The 0 in the 3rd one may actually be a 1 on some systems.
I have a few extra lines in my VM script to work around
that, I can easily add that here as well, if that turns out
to be the issue.
BUT, to try and troubleshoot: how far does the script get?
If it didn't complain with the permissions, the 1st path is probably OK.
Does it print your manfid/serial?
If so, mmcblkX would be right as well.
Any chance that you're on SafeStrap?
Can you push/pull to/from /sdcard?
- - - - -
On a second thought: I've only ever tested this on Linux.
String quoting on Windows may work differently, and could *royally* mess up how that more complex command is interpreted.
I'll test tomorrow; it's like 20 past 1am here. I need to get some sleep.
Click to expand...
Click to collapse
It's all good draxie, i figured out what i was doing wrong with the other procedure, that damn STEP 2, once i did it, everything fell into place. Bootloader unlocked and now just trying to figure out which rom to try first. Thanks again, you guys are great and i know how valuable everyones time is. :good:
I keep hitting road blocks, I am rooted and on Fire OS 4.5.5.2 I click get code a screen flashes up then I click Unlock and my Kindle boots to the Grey Kindle screen with Fastboot underneath and nothing else happens. Same happens when I copy and past the code into ADB. What step am I failing at? Thanks for the help!
pdanforth said:
I keep hitting road blocks, I am rooted and on Fire OS 4.5.5.2 I click get code a screen flashes up then I click Unlock and my Kindle boots to the Grey Kindle screen with Fastboot underneath and nothing else happens. Same happens when I copy and past the code into ADB. What step am I failing at? Thanks for the help!
Click to expand...
Click to collapse
@draxie - I have no experience with this tool; python/gmpy2 works reliably for me. Sorry to pull you in ...
Davey126 said:
@draxie - I have no experience with this tool; python/gmpy2 works reliably for me. Sorry to pull you in ...
Click to expand...
Click to collapse
I am up and running now, unlocked and running kk-fire-nexus-rom-thor-20161017. Play store is also up and running.
pdanforth said:
I am up and running now, unlocked and running kk-fire-nexus-rom-thor-20161017. Play store is also up and running.
Click to expand...
Click to collapse
Did you end up using some other method, or did these scripts work for you in the end?
Either way, others may find useful if you could share whatever worked for you. (-;
Unfortunately, I still haven't had a chance to test these scripts in Windows;
so, I couldn't answer your first call for help in a good way. If there's something
wrong and there's enough interest, I'll be happy to fix it as soon as I can.
draxie said:
Did you end up using some other method, or did these scripts work for you in the end?
Either way, others may find useful if you could share whatever worked for you. (-;
Unfortunately, I still haven't had a chance to test these scripts in Windows;
so, I couldn't answer your first call for help in a good way. If there's something
wrong and there's enough interest, I'll be happy to fix it as soon as I can.
Click to expand...
Click to collapse
@stangri did my unlock file and I used this thread to unlock https://forum.xda-developers.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982
I had trouble making the Unlock file, once that was done and some help from other users I am now up and running!

Categories

Resources