OmniROM 5.1.1 A500/A501 - V13 Final

Android development for the Acer A500/A501

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby bourboncowboy » 04 Jan 2017, 03:32

I think u need to use afterota as it loads the unlocked bootloader and a recovery I believe. Afterota may be out of date but what it does should still be ok. You may need to install a newer bootloader and THor's latest TWRP. Once there, read Thor's instructions on the OP of your chosen ROM, read it again! I believe most format both data and cache to f2fs file system. Wipe data and do not reload from a backup. Use Thor's suggested Gapps and Superuser. TWRP allows you to specify all 3 files and then flash them with one command. Should work smoothly!!
User avatar
bourboncowboy
Junior Owner
 
Posts: 23
Joined: 01 Apr 2014, 22:45
Reputation point: 5
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 04 Jan 2017, 03:56

bourboncowboy » 04 Jan 2017, 03:32 wrote:I think u need to use afterota as it loads the unlocked bootloader and a recovery I believe. Afterota may be out of date but what it does should still be ok. You may need to install a newer bootloader and THor's latest TWRP. Once there, read Thor's instructions on the OP of your chosen ROM, read it again! I believe most format both data and cache to f2fs file system. Wipe data and do not reload from a backup. Use Thor's suggested Gapps and Superuser. TWRP allows you to specify all 3 files and then flash them with one command. Should work smoothly!!


I looked at afterota and it's Windows only. I'm not sure what I can do that's non-Windows. I checked Bad Sector and it seems to have a Linux version, but there's no instructions on how to unlock the bootloader. Any ideas?

viewtopic.php?f=8&t=1857
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby bourboncowboy » 04 Jan 2017, 19:20

Bad sector is used only to unbrick an A500 so I do not think it will help you. It is simple to do, it has 2 batch files, you just run after each other.
I think this is what I used to unlock bootloader and flash recovery.
https://forum.xda-developers.com/showth ... ?t=1622425
But the Blackthundr Apex tool is likely windows only.
Simplest thing maybe to get ahold of a windows laptop for a day!!!
User avatar
bourboncowboy
Junior Owner
 
Posts: 23
Joined: 01 Apr 2014, 22:45
Reputation point: 5
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby freightyard » 04 Jan 2017, 19:36

Actually babsector installs an unlocked bootloader and custom recovery as well as formats the other partitions back to empty stock state ready to flash
you would need to update to thor's new recovery then format data and cache to f2fs before installing rom and gapps
using adb fastboot
fastboot flash recovery recovery.img
User avatar
freightyard
Testers Group
 
Posts: 2660
Joined: 30 Jan 2012, 17:29
Reputation point: 163
Junior OwnerJunior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 05 Jan 2017, 13:34

I think my problem with bad sector is that I don't know how to use it. I can extract it but there's a bunch of stuff there. I'm not sure if there's a UI to this. Is there one on the Windows version?

I also remember when I ran blackthund3r's ICS Root app, there was something about APX when I do: --RemoveStockRecoveryReflash

Image

Is this the same as bootloader unlocking?

Thanks!
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby freightyard » 05 Jan 2017, 18:18

niniendowarrior » 05 Jan 2017, 07:34 wrote:I think my problem with bad sector is that I don't know how to use it. I can extract it but there's a bunch of stuff there. I'm not sure if there's a UI to this. Is there one on the Windows version?

I also remember when I ran blackthund3r's ICS Root app, there was something about APX when I do: --RemoveStockRecoveryReflash

Image

Is this the same as bootloader unlocking?

Thanks!

no babsector is a shell script
the readme file explains how to use it
the blacthund3r tool is a root tool
you do need your cpuid before you run it and using that you would need to generate your sbk
google search and forum search will answer all your questions
User avatar
freightyard
Testers Group
 
Posts: 2660
Joined: 30 Jan 2012, 17:29
Reputation point: 163
Junior OwnerJunior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 05 Jan 2017, 22:20

Okay. Is my SBK number just the androidboot.serialno?
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby freightyard » 05 Jan 2017, 23:38

niniendowarrior » 05 Jan 2017, 16:20 wrote:Okay. Is my SBK number just the androidboot.serialno?

No it's sbkcalculator
User avatar
freightyard
Testers Group
 
Posts: 2660
Joined: 30 Jan 2012, 17:29
Reputation point: 163
Junior OwnerJunior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 06 Jan 2017, 01:18

freightyard » 05 Jan 2017, 23:38 wrote:
niniendowarrior » 05 Jan 2017, 16:20 wrote:Okay. Is my SBK number just the androidboot.serialno?

No it's sbkcalculator


Thank you for pointing that out, freightyard. I've managed to calculate my SBK using the CPUID taken from androidboot.serialno on my dmesg. For documentation purposes, this is where I got it from:

http://acerhacks.com/sbkcalc/

Also, I don't know how I managed to miss it, but I finally saw the flash.sh shell script on the badsector package. So, I have Thor's TWRP, Omni Rom, badsector. I think I'm all set.

I'll skip the afterOTA part of this guide: viewtopic.php?f=12&t=1980 and use badsector instead to unlock the bootloader. Then, install Thor's TWRP, and then install Skrilax_CZ v9 bootloader, then Omni Rom. I'm feeling good about my chances!
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 07 Jan 2017, 14:05

I would like to ask about the BadSector (Babsector?) scripts. I know I have to reboot my tablet into recovery mode and then plug it into my computer where I'll run flash.sh. But, being on the safe side, I decided to look at the Windows bat scripts A501 A.bat and A501 B.bat and the contents are different when compared to flash.sh (Linux shell script).

A501 A.bat: nvflash --bct flash.bct --setbct --configfile flash1.cfg --create --odmdata 0xb00d8011 --bl bootloader.bin --sbk %MYSBK% --go
A501 B.bat: nvflash --bct flash.bct --setbct --configfile flash2.cfg --create --odmdata 0xb00d8011 --bl bootloader.bin --sbk %MYSBK% --go
flash.sh : ./nvflash --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash.cfg --create --bl bootloader.bin --go

I'm concerned about a few things.
1.) flash.cfg on the Linux script doesn't exist where as the bat files point to flash1.cfg and flash2.cfg and those do exist.
2.) flash.sh has no entry on my SBK (which I do have already).
3.) odmdata hex is also different on flash.sh.

I'm hoping someone can shed some light on this. Please help if you can.

Thanks!
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby freightyard » 10 Jan 2017, 17:43

install wine on linux machine then run the windows batch files following the readme file procedure
here is good tutorial on how to run batch files in wine
http://www.linux.org/threads/running-wi ... inux.7610/
User avatar
freightyard
Testers Group
 
Posts: 2660
Joined: 30 Jan 2012, 17:29
Reputation point: 163
Junior OwnerJunior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 11 Jan 2017, 01:19

freightyard » 10 Jan 2017, 17:43 wrote:install wine on linux machine then run the windows batch files following the readme file procedure
here is good tutorial on how to run batch files in wine
http://www.linux.org/threads/running-wi ... inux.7610/


I wasn't aware that Wine would work for the Babsector script. I will look into that. Thank you!

Also, if it's not too much, please PM me the flash.cfg file as it's missing here.

For clarity's sake with everyone here (and other newbies who may be searching for stuff), this link makes the walkthrough on babsector pretty clear.
https://forum.xda-developers.com/showth ... ?t=2450119
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 14 Jan 2017, 13:31

Hi all,

I've attempted to use the approach above and use Wine's cmd emulation but I'm not getting anywhere.
Code: Select all
Z:\home\user\Bootloader\BadSector\Image>"a501 a.bat"
   ****************************************************************
   *   Before executing, be sure to delete recovery-from-boot.p   *
   *          from /system to ensure recovery will stick          *
   ****************************************************************

   ****************************************
   *   Reboot your tablet into APX mode   *
   ****************************************

Generate your SBK with your CPUID from here :
http://vache-android.com/v1/index.php?site=sbk

Enter your SBK:0xXXXXXXXX 0xXXXXXXXX 0xXXXXXXXX 0xXXXXXXXX
Nvflash started
USB device not foundPress any key to continue...


No harm done yet. My tablet boots just fine but this laptop I used to root it isn't going anywhere with Wine. Any ideas?
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby freightyard » 14 Jan 2017, 15:41

looks like there are no drivers for emulator to see the tablet
have you tried the shell script in linux
User avatar
freightyard
Testers Group
 
Posts: 2660
Joined: 30 Jan 2012, 17:29
Reputation point: 163
Junior OwnerJunior Owner

Re: OmniROM 5.1.1 A500/A501 - V12 Final

Postby niniendowarrior » 14 Jan 2017, 15:49

freightyard » 14 Jan 2017, 15:41 wrote:looks like there are no drivers for emulator to see the tablet
have you tried the shell script in linux


I have not tried the shell script on Linux yet. I'm suspicious over the missing SBK. In theory, it seems that I could write the script to use the same parameters of nvflash as the bat script but I dunno what could go wrong with that. Thoughts?
User avatar
niniendowarrior
Helpful Owner
 
Posts: 78
Joined: 31 Dec 2016, 14:35
Reputation point: 0
Junior Owner

PreviousNext

Return to Acer A500/A501 Android

Who is online

Users browsing this forum: Bing [Bot], freightyard, Google [Bot], riccardosven, Yahoo [Bot] and 4 guests

x

#{title}

#{text}