Meanwhile, if you see this post before I get to it, tell me what I need to do to dump the files you need to create ROM package.
Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Amlogic Next8HD8G (NX008HD8G) Modified Recovery - Stock Rom & Flashable Root
Collapse
This topic is closed.
X
X
-
Originally posted by shaunmt View Post
Meanwhile, if you see this post before I get to it, tell me what I need to do to dump the files you need to create ROM package.Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
AML8726-M3 Cortex A9 @ 1GHz
Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *
Nextbook 8 (NX785QC8G) - STOCK (unfortunately)
-
Originally posted by eegorr View PostLOL! Maybe not, but that's all we could come up with. I thought you were there almost a year ago when we were struggling to get those tablets rooted. They were locked up tight - Finless Bob finally gave up! I guess he didn't know about Google test keys. But someone else found that vulerability in init_pppd.sh and, after buying a modem and OTG cable, I used it to achieve root.
Maybe so, but it's not necessary and it is just another opportunity for something to go wrong!
I didn't, either, but it is not executable from the Android Terminal app. And SuperSU was not able to update it, either.
As I said, it was not our first choice. That text is copied and pasted from the modified init_pppd.sh script that allowed me to achieve root. If there is a typo, it was there when the script was run! Where is it, anyway?
I would, but I don't have the setup to do it and just changing the zip file would cause it to fail validation, right?
I was mistaken... in fact I mixed things up a bit in some of my previous posts... I mistakenly advised more than once that my root package sets su to 0644 (which would not even work). I was thinking of my ROM package which sets system apks to 0644 (correctly). Su is set to 06755 (0= root owner, 6=group, 7 =read/write/execute for owner, 5=read/execute for group, 5=read/execute for everyone else.
There is no typo in your root script. It uses the same permissions for su as mine. (06755)
If you change the .zip file, you'll need to resign it again with google test keys to use it with the modified 3e recovery.
Alternatively, you could use Cydia Impactor to root instead.
ShaunMTFreaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by eegorr View PostOkay, I'll give it a shot a little later today.
Meanwhile, if you see this post before I get to it, tell me what I need to do to dump the files you need to create ROM package.
The only way to get all of the others is to dd them. (You can't just DD system too because it is ubifs.)
Here is how use dd to dump partitions:
Do
Code:cat proc/mtd
You should get output something like this:
Code:dev: size erasesize name mtd0: 00800000 00200000 "bootloader" mtd1: 00800000 00200000 "logo" mtd2: 00800000 00200000 "aml_logo" mtd3: 00800000 00200000 "recovery" mtd4: 00800000 00200000 "boot" mtd5: 20000000 00200000 "system" mtd6: 00800000 00200000 "cache" mtd7: 40000000 00200000 "userdata" mtd8: 18c00000 00200000 "NFTL_Part"
Cache is user settings. Userdata is downloaded apps. System, cache and userdata can't be backed up properly using dd. Use Onandroid (Online Nandroid Backup) from the play store.
Don't mess with NFTL_Part!
Output file names should be as follows:
"bootloader" = bootloader.img
"logo" = logo.img
"aml_logo" = aml_logo.img
"recovery" = recovery.img
"boot" = boot.img
So your command lines for dumping should be in this format:
dd if=/dev/mtd/mtd# of=/sdcard/external_sdcard/ouputfilename
Check your mtd#'s on your device using cat proc/mtd and fill in the mtd#'s and output file #'s and enter the dd commands one line at a time.
If your cat proc/mtd output matches my device, then your lines would be:
Code:dd if=/dev/mtd/mtd0 of=/sdcard/external_sdcard/bootloader.img dd if=/dev/mtd/mtd1 of=/sdcard/external_sdcard/logo.img dd if=/dev/mtd/mtd2 of=/sdcard/external_sdcard/aml_logo.img dd if=/dev/mtd/mtd3 of=/sdcard/external_sdcard/recovery.img dd if=/dev/mtd/mtd4 of=/sdcard/external_sdcard/boot.img
When done, copy the files and folders you dumped off your external sd card, zip them all up together in a single zip file, upload them and let me know where I can download them.
ShaunMTFreaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by eegorr View PostIn what way would you consider it rooted?
Unfortunately, that's not all it does!)
Archos Gen9 A80S cm-11.0
Kindle Fire 2 cm-11.0
Comment
-
Originally posted by shaunmt View PostThe easiest way to get the system partition is to use Onandroid (Online Nandroid Backup) from the play store to create a backup. It grabs some of the other partitions as well, but not all of them.
The only way to get all of the others is to dd them. (You can't just DD system too because it is ubifs.)
Here is how use dd to dump partitions:
Do
Code:cat proc/mtd
You should get output something like this:
Code:dev: size erasesize name mtd0: 00800000 00200000 "bootloader" mtd1: 00800000 00200000 "logo" mtd2: 00800000 00200000 "aml_logo" mtd3: 00800000 00200000 "recovery" mtd4: 00800000 00200000 "boot" mtd5: 20000000 00200000 "system" mtd6: 00800000 00200000 "cache" mtd7: 40000000 00200000 "userdata" mtd8: 18c00000 00200000 "NFTL_Part"
Code:dev: size erasesize name mtd0: 01000000 00400000 "bootloader" mtd1: 00800000 00400000 "logo" mtd2: 00800000 00400000 "aml_logo" mtd3: 00800000 00400000 "recovery" mtd4: 00800000 00400000 "boot" mtd5: 20000000 00400000 "system" mtd6: 10000000 00400000 "cache" mtd7: 40000000 00400000 "userdata" mtd8: 18a800000 00400000 "NFTL_Part"
You need bootloader, logo, aml_logo, recovery, boot, and system for a full ROM.
Cache is user settings. Userdata is downloaded apps. System, cache and userdata can't be backed up properly using dd. Use Onandroid (Online Nandroid Backup) from the play store.
Don't mess with NFTL_Part!
Output file names should be as follows:
"bootloader" = bootloader.img
"logo" = logo.img
"aml_logo" = aml_logo.img
"recovery" = recovery.img
"boot" = boot.img
So your command lines for dumping should be in this format:
dd if=/dev/mtd/mtd# of=/sdcard/external_sdcard/ouputfilename
Check your mtd#'s on your device using cat proc/mtd and fill in the mtd#'s and output file #'s and enter the dd commands one line at a time.
If your cat proc/mtd output matches my device, then your lines would be:
Code:dd if=/dev/mtd/mtd0 of=/sdcard/external_sdcard/bootloader.img dd if=/dev/mtd/mtd1 of=/sdcard/external_sdcard/logo.img dd if=/dev/mtd/mtd2 of=/sdcard/external_sdcard/aml_logo.img dd if=/dev/mtd/mtd3 of=/sdcard/external_sdcard/recovery.img dd if=/dev/mtd/mtd4 of=/sdcard/external_sdcard/boot.img
When done, copy the files and folders you dumped off your external sd card, zip them all up together in a single zip file, upload them and let me know where I can download them.
ShaunMT
Edit: Okay, I tried a selective backup and selected only system, but nothing was created. The log file gets to the point where it is checking for required tools, then logs the following error:
Error: mkyaffs2image not found in path! Exiting...
What now?
Edit: I just found this:
Was the file "mkyaffs2image" missing on your tablet, Shaun?
Edit: His fix aborts after it attempts to verify the update package. I'm going to try to copy the file manually via terminal.
Edit: No good, not even with ES Explorer. I can't copy this file to either /system/bin or /system/xbin - "permission denied".Last edited by eegorr; 28 October 2013, 21:14.Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
AML8726-M3 Cortex A9 @ 1GHz
Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *
Nextbook 8 (NX785QC8G) - STOCK (unfortunately)
Comment
-
Originally posted by pimpmaster55307 View PostI got my tablet to see the files in the recovery mode, turns out I had a bad SD card I went and bought a new one and it went right to it. But now when it goes to install after verifying update package it says installation aborted. Any reason it would say this for?
It it didn't say signature validation failed, then your files are corrupted and you need to download them again.
ShaunMTFreaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by shaunmt View PostIf it failed signature validation, you're in the stock internal recovery instead of the modified recovery on your SD card.
It it didn't say signature validation failed, then your files are corrupted and you need to download them again.
ShaunMT
Comment
-
Originally posted by shaunmt View PostIf it failed signature validation, you're in the stock internal recovery instead of the modified recovery on your SD card.
It it didn't say signature validation failed, then your files are corrupted and you need to download them again.
ShaunMT
Thanks for all your help. My tablet is up and going again.
Comment
-
Originally posted by pimpmaster55307 View PostThanks for all your help. My tablet is up and going again.Freaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by shaunmt View PostGlad to hear it!
I have all of the image files you asked for except the system image dumped, zipped up, and ready to upload.
Since my last edit, I saw your post to someone else and downloaded the file again, this time directly to the uSD card. Using your recovery with Ameer's fixtool.zip file, I still get the following:Is this a problem with the zip file or is it related to the Google test keys you used with your recovery.
-- Install /sdcard ...
Finding update package...
Opening update package...
Verifying update package...
Installation aborted.
Edit: I just found the instructions for onandroid (in first post of previously mentioned xda-developers thread). Running onandroid v9.10 from the Terminal command line (after executing su) I get the following error: "BusyBox version less than 1.20 found.z", then "Exiting...".
Apparently, the version of BusyBox that comes pre-installed on this tablet is v1.16 (2012-03-08).
Edit: I used JRummy Busybox installer to update Busybox to v1.20.2. Now I get past the Busybox error, but I am getting the mkyaffs2image error again!
FINAL EDIT: I found OBackup on Google Play, but, of course, my device is not compatible. So I sideloaded the latest apk (v1.35) and IT WORKED!!!!
Shaun, check your PM for a link to two zip files on my Google Drive.Last edited by eegorr; 29 October 2013, 09:21.Nextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
AML8726-M3 Cortex A9 @ 1GHz
Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *
Nextbook 8 (NX785QC8G) - STOCK (unfortunately)
Comment
-
Originally posted by eegorr View PostInstalled, but what settings do I use for the backup? (backup type, backup mode)
This one is almost identical, except for the sizes of the blocks:
Code:dev: size erasesize name mtd0: 01000000 00400000 "bootloader" mtd1: 00800000 00400000 "logo" mtd2: 00800000 00400000 "aml_logo" mtd3: 00800000 00400000 "recovery" mtd4: 00800000 00400000 "boot" mtd5: 20000000 00400000 "system" mtd6: 10000000 00400000 "cache" mtd7: 40000000 00400000 "userdata" mtd8: 18a800000 00400000 "NFTL_Part"
Edit: Okay, I tried a selective backup and selected only system, but nothing was created. The log file gets to the point where it is checking for required tools, then logs the following error:
Error: mkyaffs2image not found in path! Exiting...
What now?
Edit: I just found this:
Was the file "mkyaffs2image" missing on your tablet, Shaun?
Edit: His fix aborts after it attempts to verify the update package. I'm going to try to copy the file manually via terminal.
Edit: No good, not even with ES Explorer. I can't copy this file to either /system/bin or /system/xbin - "permission denied".
I don't think mkyaffs2image is necessary...
ShaunMTFreaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by eegorr View PostShaun, please see my post above: http://www.freaktab.com/showthread.p...l=1#post107793
I have all of the image files you asked for except the system image dumped, zipped up, and ready to upload.
Since my last edit, I saw your post to someone else and downloaded the file again, this time directly to the uSD card. Using your recovery with Ameer's fixtool.zip file, I still get the following:Is this a problem with the zip file or is it related to the Google test keys you used with your recovery.
-- Install /sdcard ...
Finding update package...
Opening update package...
Verifying update package...
Installation aborted.
Edit: I just found the instructions for onandroid (in first post of previously mentioned xda-developers thread). Running onandroid v9.10 from the Terminal command line (after executing su) I get the following error: "BusyBox version less than 1.20 found.z", then "Exiting...".
Apparently, the version of BusyBox that comes pre-installed on this tablet is v1.16 (2012-03-08).
Edit: I used JRummy Busybox installer to update Busybox to v1.20.2. Now I get past the Busybox error, but I am getting the mkyaffs2image error again!
FINAL EDIT: I found OBackup on Google Play, but, of course, my device is not compatible. So I sideloaded the latest apk (v1.35) and IT WORKED!!!!
Shaun, check your PM for a link to two zip files on my Google Drive.
It sounds like you got everything figured out though. I'll have to recheck the name of the app I use and edit my instructions...
ShaunMTFreaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
https://www.paypalobjects.com/en_US/..._donate_SM.gif
Comment
-
Originally posted by shaunmt View PostI think you figured out how to use Onandroid... the system partition should backup as a .tar file...
I don't think mkyaffs2image is necessary...
ShaunMTNextbook Premium 8 SE (Next8P12) - * ROOTED * (Sold on ****)
AML8726-M3 Cortex A9 @ 1GHz
Nextbook Premium 8 HD (N0008HD8G) - * ROOTED *
Nextbook 8 (NX785QC8G) - STOCK (unfortunately)
Comment
-
Originally posted by shaunmt View PostI think you figured out how to use Onandroid... the system partition should backup as a .tar file...
I don't think mkyaffs2image is necessary...
ShaunMT
Thanks for clearing that up! It's been awhile since I installed it...
ShaunMTLast edited by shaunmt; 29 October 2013, 17:28.
Comment
What's Going On
Collapse
There are currently 1916 users online. 0 members and 1916 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Comment