PDA

View Full Version : chroot bad SHA



Tritium
2016-02-04, 18:29
I've been trying to get NetHunter back on my Nexus 7 (2013) since I updated to 6.0.1 but chroot wont install due to the SHA mismatch.
I've tried downloading chroot from the nethunter app and I've also built a minimal package from the github.
Currently running a nethunter that was built from source on Feb 3rd.

This is my log for the downloaded version:

Feb 4, 2016 1:04:24 PM - New instalation log file: /storage/emulated/0/nh_install_20160204_010420.log
Feb 4, 2016 1:04:24 PM - Starting download. Standby&
Feb 4, 2016 1:06:31 PM - Original SHA: 6FE09E30236E99A9E79A9F188789944C18CEDF69D6510849AC 5821FAD84E174C2BBFA8704A2D7634E39ED5AA3E5AD7E67B43 5642CDD733905E160FA6672BB651
Feb 4, 2016 1:06:31 PM - Chroot download completed: Total 124.0 MiB.
Feb 4, 2016 1:06:41 PM - Error: BAD CHECKSUM: 2D087F12D40FF28E9C475492F87841A7BE5C1657EDBADAB1E9 0D9F9691C0BACA66D1B5BE283C778BB18B4DD2FF3DBF66D44A A3376AED7493B68E6E4993E7DC17
Feb 4, 2016 1:06:41 PM - Something went wrong verifying the downloaded file. Whoops. Try again.
Feb 4, 2016 1:06:41 PM - Checking for chroot at /data/local/nhsystem/kali-armhf
Feb 4, 2016 1:06:41 PM - No Kali chroot directory was found.


This is the log for the chroot I built from source:

Feb 4, 2016 1:23:43 PM - New instalation log file: /storage/emulated/0/nh_install_20160204_012340.log
Feb 4, 2016 1:23:43 PM - /storage/emulated/0/kalifs-minimal.tar.xz found.
Feb 4, 2016 1:23:43 PM - Deleting to make room for download&
Feb 4, 2016 1:23:43 PM - Starting download. Standby&
Feb 4, 2016 1:23:43 PM - File deleted.
Feb 4, 2016 1:25:50 PM - Chroot download completed: Total 124.0 MiB.
Feb 4, 2016 1:25:50 PM - Original SHA: 6FE09E30236E99A9E79A9F188789944C18CEDF69D6510849AC 5821FAD84E174C2BBFA8704A2D7634E39ED5AA3E5AD7E67B43 5642CDD733905E160FA6672BB651
Feb 4, 2016 1:26:18 PM - Error: BAD CHECKSUM: 2D087F12D40FF28E9C475492F87841A7BE5C1657EDBADAB1E9 0D9F9691C0BACA66D1B5BE283C778BB18B4DD2FF3DBF66D44A A3376AED7493B68E6E4993E7DC17
Feb 4, 2016 1:26:18 PM - Something went wrong verifying the downloaded file. Whoops. Try again.
Feb 4, 2016 1:26:18 PM - Checking for chroot at /data/local/nhsystem/kali-armhf
Feb 4, 2016 1:26:19 PM - No Kali chroot directory was found.


I know the one I built matched the SHA-1 that was created with it and the archive was valid according to 7zip.

Could anyone help me figure out why the checksums are always bad?

SOLVED:
A Factory Restore fixed the issue.
Honestly, I think Titanium Backup was restoring data on every reboot which caused the old version of NetHunter's APK backup to replace the new version that the kernel installed.