I have a One Mini, help needed.

guywithdesire1992

Senior Member
Oct 7, 2010
87
22
0
Hello there people,

I am lucky enough to be in possession of a newly un-released HTC One Mini (proof seen below).

I am your loyal servant so let's get this thing rooted. Tell me what to do and I will do anything I can to help. :good:

 

O_G

Senior Moderator / ET Admin
Staff member
Jul 8, 2007
7,159
8,705
263
Moved To Q&A

Please do not open question threads in a dev section​
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
OP,

Could you run the following commands and then post the file and zip up the folder they make? (Run the first from terminal emulator, second from computer)

Single file (will be in sdcard)

Code:
dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img
Folder (will be on computer, zip up and upload please)

Code:
adb pull /data/preload
Sent from my buttered S3
 
Last edited:

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
0
Denver
OP,

Could you run the following commands and then post the file and zip up the folder they make? (Run the first from terminal emulator, second from computer)

Single file (will be in sdcard)

Code:
dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img
Folder (will be on computer, zip up and upload please)

Code:
adb pull /data/preload
Sent from my buttered S3
the boot partition is read protected and so is /data without root


we need temp root to dump the boot partiion for me to build him a working recovery
 

guywithdesire1992

Senior Member
Oct 7, 2010
87
22
0
OP,

Could you run the following commands and then post the file and zip up the folder they make? (Run the first from terminal emulator, second from computer)

Single file (will be in sdcard)

Code:
dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img
Folder (will be on computer, zip up and upload please)

Code:
adb pull /data/preload
Sent from my buttered S3
Cannot run, permission denied.


C:\Users\Dan>cd c:\android

c:\android>dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img
'dd' is not recognized as an internal or external command,
operable program or batch file.
c:\android>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ adb pull /data/preload
adb pull /data/preload
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
error: device not found
1|[email protected]:/ $ ^C
c:\android>adb pull/data/preload
Android Debug Bridge version 1.0.31

-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <specific device> - directs command to the device or emulator with
the given
serial number or qualifier. Overrides ANDROID_S
ERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.

If -p is not specified, the ANDROID_PRODUCT_OUT

environment variable is used, which must
be an absolute path.
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this command with no additional arguments

will disconnect from all connected TCP/IP devic
es.

device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport

adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --
iv <hex-encoded iv>] <file>
- push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
('--algo', '--key', and '--iv' mean the file is
encrypted already)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.

adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosy
stem] [<packages...>]
- write an archive of the device's data to <file>
.
If no -f option is supplied then the data is wr
itten
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks
themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the
device's
shared storage / SD card contents; the defau
lt is noshared.)
(-all means to back up all installed applicatio
ns)
(-system|-nosystem toggles whether -all automat
ically includes
system applications; the default is to inclu
de system apps)
(<packages...> is the list of applications to b
e backed up. If
the -all or -shared flags are passed, then t
he package
list is optional. Applications explicitly g
iven on the
command line will be included even if -nosys
tem would
ordinarily cause them to be omitted.)

adb restore <file> - restore device contents from the <file> backup
archive

adb help - show this help message
adb version - show version num

scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb get-devpath - prints: <device-path>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:

- If <directory> is not specified, both /system and /data partitions will be u
pdated.

- If it is "system" or "data", only the corresponding partition
is updated.

environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.

c:\android>
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
You didn't type the second command correctly...there should be a space between "adb" and "/data/preload".

For the first command, run this instead (from your computer)

Code:
adb shell
dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img
exit
adb pull /sdcard/boot.img
And then upload the boot.img that should be in your current folder on your computer


If still nothing, please PM me so we can set up a team viewer and I can try to pull those files and I can also try to root your phone (safe, nothing bad will happen if it fails)

Sent from my buttered S3
 
Last edited:

fvdaak

New member
Aug 13, 2013
3
0
0
Hi,

scine some days I own a htc one mini and I need to "root" it.
What is the best place to get started?

I'm very firm with linux, so I think i can do something ;)

(I switched back from ios after some years of using iphone)
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
Hi,

scine some days I own a htc one mini and I need to "root" it.
What is the best place to get started?

I'm very firm with linux, so I think i can do something ;)

(I switched back from ios after some years of using iphone)
PM me so we can set up teamviewer and try to root your phone

What's in it for me is that I really need the One mini's boot.img :D
 

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
Would be great if you could get the recovery.img also.
If I can dump the boot.img then he can dev unlock and I'll pass him an insecure boot.img through which he can gain root.

Or if he gains root through another method, then we can still dump everything.

After that, life is good.

Anyway, still waiting for a response.
 

fvdaak

New member
Aug 13, 2013
3
0
0
Hi,

I can confirm, what guywithdesire1992 said:
There is no permission to open the device.
When I do "dd if=/dev/block/mmcblk0p32 of=/sdcard/boot.img", I get the following error:
/dev/block/mmcblk0p32: cannot open for read: Permission denied

Do you have any suggestions?
 

fvdaak

New member
Aug 13, 2013
3
0
0
btw:

There is no "su" on the device.
I've tried to install static linked su from "SuperUser.apk" and also from "CWM-SuperSU" - without success.
I have stored the su executables to /data/local/tmp and gained executable-rights (chmod 777). After that I was able to execute it, but i does nothing.
No error, just nothing :(