"auto deploy" question - Android Software/Hacking General [Developers Only]

Hi,
I've received a chinese X86-64 tablet (Cube iwork10 ultimate) from someone to make this tablet run few apps including Linux. I rooted the device, installed everything needed, configured it and it works perfectly well. I also used TWRP to backup the whole tablet.
The problem is this: I need to replicate this tablet to few others (same model) tablets. I can make a full backup with TWRP, stick a MicroSD on a new tablet, oem unlock it, boot TWRP and do a restore from image, which works...
But I'm looking to do it automatically and not manually, preferable with some script using fastboot, so my questions are:
Is there anyway to boot using fastboot and running a restore? (the image will be on the MicroSD which will be inserted prior to restore)?
Is there any app (the device is root) which is capable of copying the entire tablet to some big "update.zip" so I can use it with "fastboot update"?
How do I "feed" the fastboot boot recovery.img with parameters to TWRP to auto start restore?
Thanks

Search and download system firmware image zipped for Nexus devices or OnePlus One: they use a flashall.bat batch script that you could easily modify to your needs..
I'm not to my PC now but I could link it later..
Inviato dal mio P80h(D4C5) utilizzando Tapatalk

My problem is that in order to create such a zip, I need somehow to pull from the tablet all the partitions as an images format, any links how to do this would help a lot

As far as I understand you want to make partitions image once and then restore them on many devices, don't you?
In that case you could use dd command from a rooted device or Macrium Reflect from Windows side of the tablet..
EDIT also, don't know which variant you own but all image partitions are already available (stock not rooted or already rooted)
Inviato dal mio P80h(D4C5) utilizzando Tapatalk

Related

Install Ubuntu on transformer, help for a newbie

Hello to all,
As the object says I want to have a dual boot with android and Ubuntu on my tablet.
I have read a lot if guide but.... I haven't understand well how can I do it.
So please can someone help me to flash Ubuntu on my tft?
Inviato dal mio Desire HD usando Tapatalk
There are already many threads on this but at least this one is in the right section
first thing you need to know is your model number. It should be B30,B40 ect if it is above B70 you are out of luck. if it is below B70 then download franc's tools an NVFlashable rom of your choice and the ubuntu.img. extract francs tools to your desktop, extract the nvflashable rom to the same folder and put the ubuntu.img in the same folder
mrevankyle said:
There are already many threads on this but at least this one is in the right section
first thing you need to know is your model number. It should be B30,B40 ect if it is above B70 you are out of luck. if it is below B70 then download franc's tools an NVFlashable rom of your choice and the ubuntu.img. extract francs tools to your desktop, extract the nvflashable rom to the same folder and put the ubuntu.img in the same folder
Click to expand...
Click to collapse
I have a b50 and revolver rom.
It's a problem?
Also i have 32gb sd an 16gb version of transformer.
I don't really understand how can I do it, sorry! I have rooted it with nvflash.
Inviato dal mio Desire HD usando Tapatalk
alright you should be good just dowload franks tools here
http://forum.xda-developers.com/showthread.php?t=1364095
Ubuntuimage here (the rootfs)
http://forum.xda-developers.com/showpost.php?p=16101612&postcount=3
and the revolver 3.11.1 nvflaahable version here
http://www.multiupload.com/PFMWB39SK4
unzip franks tools to desktop or documents or w/e then extract both the ubuntu.img.gz to get the ubuntu.img and the nvflashable revolver rom and put the system, boot and recovery IMG files into the franks tools folder. then run frankc123.exe
Put our tablet in apx mode (i assume you know how because you said you rooted with it) then plug it in and on the dual boot page of frankc123.exe hit install. it may take up to half an hour. then to boot into andorid just boot normally. to boot into ubuntu do what you would normally do to get into recovery
mrevankyle said:
alright you should be good just dowload franks tools here
http://forum.xda-developers.com/showthread.php?t=1364095
Ubuntuimage here (the rootfs)
http://forum.xda-developers.com/showpost.php?p=16101612&postcount=3
and the revolver 3.11.1 nvflaahable version here
http://www.multiupload.com/PFMWB39SK4
unzip franks tools to desktop or documents or w/e then extract both the ubuntu.img.gz to get the ubuntu.img and the nvflashable revolver rom and put the system, boot and recovery IMG files into the franks tools folder. then run frankc123.exe
Put our tablet in apx mode (i assume you know how because you said you rooted with it) then plug it in and on the dual boot page of frankc123.exe hit install. it may take up to half an hour. then to boot into andorid just boot normally. to boot into ubuntu do what you would normally do to get into recovery
Click to expand...
Click to collapse
Thanks a lot! My external sd remains untouched or it's safe to backup it?
I have here all my titanium backup app.
These package contains a modded version of recovery?
Can I flash mods and script for android as usual?
I can install apache php mysql and eclipse on Ubuntu as on my PC?
Thanks a lot
Inviato dal mio Desire HD usando Tapatalk
mattiadj said:
Thanks a lot! My external sd remains untouched or it's safe to backup it?
I have here all my titanium backup app.
These package contains a modded version of recovery?
Can I flash mods and script for android as usual?
I can install apache php mysql and eclipse on Ubuntu as on my PC?
Thanks a lot
Inviato dal mio Desire HD usando Tapatalk
Click to expand...
Click to collapse
Your external sd will not be touched but make sure your backups are on it and not your internal sd. you mght want to take out your micro before you start
Yes recovery will send you to ubuntu, No you cannot flash updates as usual as ubuntu takes over the recovery partition but you can do them manually with android commander or adb. that might cause issues though and is not suggested.
As long as there is a version compiled for ARM then yes
mrevankyle said:
Your external sd will not be touched but make sure your backups are on it and not your internal sd. you mght want to take out your micro before you start
Yes recovery will send you to ubuntu, No you cannot flash updates as usual as ubuntu takes over the recovery partition but you can do them manually with android commander or adb. that might cause issues though and is not suggested.
As long as there is a version compiled for ARM then yes
Click to expand...
Click to collapse
Ok.
So in the end how can I revert to my actual situation with CMW recovery and revolver rom?
I think the procedure to install update and files for modding became quite complicated...
Usually after revolver i flash panda test kernel, hc stock fonts and oc daemon.
I think became hard to implement these mods with adb. No?
However tomorrow or at least day after tomorrow I'll try your guide and report my experience!
Thanks!
Inviato dal mio Desire HD usando Tapatalk
mattiadj said:
Ok.
So in the end how can I revert to my actual situation with CMW recovery and revolver rom?
I think the procedure to install update and files for modding became quite complicated...
Usually after revolver i flash panda test kernel, hc stock fonts and oc daemon.
I think became hard to implement these mods with adb. No?
However tomorrow or at least day after tomorrow I'll try your guide and report my experience!
Thanks!
Inviato dal mio Desire HD usando Tapatalk
Click to expand...
Click to collapse
If you choose to just go back to revolver all you have to do is open frank123.exe again and run android
oho and it would be great if you hit the thanks button instead of just saying thanks
If you can use a Linux, use Olife from the thread "ubunto on emmc" in dev or Q/A section
It will allow you to fully backup your partitions & datas
But to use ubuntu i need external keyboard or dock??
Inviato dal mio Desire HD usando Tapatalk
mattiadj said:
But to use ubuntu i need external keyboard or dock??
Inviato dal mio Desire HD usando Tapatalk
Click to expand...
Click to collapse
I believe so as the soft keyboard does not pop up in the login page
mrevankyle said:
I believe so as the soft keyboard does not pop up in the login page
Click to expand...
Click to collapse
I can't insert wifi key, my name, name of pc...is not usable...i have reverted to stock situation (stock... cmw+rom )
Is a way to use the soft keyboard instead of a real one?
mattiadj said:
I can't insert wifi key, my name, name of pc...is not usable...i have reverted to stock situation (stock... cmw+rom )
Is a way to use the soft keyboard instead of a real one?
Click to expand...
Click to collapse
I am not sure but i think that if you search through lilsteve's threads you could probably find some work around
mrevankyle said:
If you choose to just go back to revolver all you have to do is open frank123.exe again and run android
oho and it would be great if you hit the thanks button instead of just saying thanks
Click to expand...
Click to collapse
I went into Frank's Tools under Android I hit Install once my TF was in APX mode and it gave me an error. Something about NVFlash Config not being present. Does anyone have any insight into this?
SomethinAmazinn said:
I went into Frank's Tools under Android I hit Install once my TF was in APX mode and it gave me an error. Something about NVFlash Config not being present. Does anyone have any insight into this?
Click to expand...
Click to collapse
No way to rollback in this way.
Always "no in apx moe" errors appairs!
To fix simply use universal android toolkit in development section to flash a nvflashable rom.
I have restored all in this way
Inviato dal mio Desire HD usando Tapatalk
Thanks I'll try it out tonight and hope everything goes as planned.
Just for clarification purposes, I can follow the video instructions right? Or are there other steps I need to take?
PL
I need Revolver 4.1.1 Nvflashable ROM ( http://forum.xda-developers.com/showthread.php?t=1518768) thanks! PL
mrevankyle said:
alright you should be good just dowload franks tools here
http://forum.xda-developers.com/showthread.php?t=1364095
Ubuntuimage here (the rootfs)
http://forum.xda-developers.com/showpost.php?p=16101612&postcount=3
and the revolver 3.11.1 nvflaahable version here
http://www.multiupload.com/PFMWB39SK4
unzip franks tools to desktop or documents or w/e then extract both the ubuntu.img.gz to get the ubuntu.img and the nvflashable revolver rom and put the system, boot and recovery IMG files into the franks tools folder. then run frankc123.exe
Put our tablet in apx mode (i assume you know how because you said you rooted with it) then plug it in and on the dual boot page of frankc123.exe hit install. it may take up to half an hour. then to boot into andorid just boot normally. to boot into ubuntu do what you would normally do to get into recovery
Click to expand...
Click to collapse
The nvflashable ROM i have is stock ROM............and I have blob.APP, blob.LNX etc. So franks tools stops on cannot find boot.img?
Stuck there !! Help is appreciated !!
chappatti said:
The nvflashable ROM i have is stock ROM............and I have blob.APP, blob.LNX etc. So franks tools stops on cannot find boot.img?
Stuck there !! Help is appreciated !!
Click to expand...
Click to collapse
Your best bet is to use OLiFE to install custom roms on a Ubuntu dual boot, theres some instructions within the guide linked in my signature.
mattiadj said:
I can't insert wifi key, my name, name of pc...is not usable...i have reverted to stock situation (stock... cmw+rom )
Is a way to use the soft keyboard instead of a real one?
Click to expand...
Click to collapse
I have a lot of time searching for the soft keyboard answer. I cannot find any. I started a Q&A thread, but there are no response. I think the answer is a No.
You can install Ubuntu from within Android (CHRooting)..... but even here I cannot find a clear answer if the onscreen key-b works.

[A510/A511] [WIP] Stock ROM dumps - Get back to factory state

As we now have functional recovery options on our tablets, and people will inevitably mess things up with their device, we need to get a way to get your tablets back to factory condition. But I need your help with this!
What do you want?
Here's my idea: We have all seen various ZIPs floating around, most of them leaked from somewhere. The problem with these is that you can't use OTA updates, and I'm not sure what Acer Service Center thinks of custom ROM installs. What I want is to build a list of software that is officially distributed by Acer, is OTA-updateable, etc. For this reason, I want people that have not yet modified their tablets (except root) to provide image dumps of their /system, /boot, /flexrom, and /recovery partition. It's really easy to do, and you'll help yourself and others when they get into trouble.
Can I help?
Answer all of the following questions. If at one point the answer is "Sorry, you can't help", well... You can't help
Is your device unlocked and rooted? Yes - You can help! / No - You can still help, but you need to unlock and root your device.
Do you have the original Acer ROM installed on your device? Yes - You can help! / No - Sorry, you can't help
Have you received the latest OTA updates for your device? Yes - You can help! / No - You can help as well!
Have you removed any apps or files from the /system or /flexrom partition? Yes - Sorry, you can't help / No - You can help!
Have you installed a custom recovery image? Yes - You can still help, as long as everything else is still original / No - You can help!
Okay, so I can help, now what?
If you can and are willing to help (remember, it could save your own ass one day), follow the instructions below. If you get stuck or simply don't know where to start but are willing to help, let us know in this thread and I'm sure we can all help eachother out.
This will not gather any personal data from you. Personal data is stored on the /data partition, which we don't need, so: No worries!
Root your device, if you haven't already.
Connect your tablet to your computer via ADB
Type the following command: adb shell. You are now logged into your tablet. You can exit at any time by typing exit and hitting ENTER.
Type the following command: dd if=/dev/block/mmcblk0p2 of=/sdcard/boot.img. This will copy your /boot partition to a file called boot.img on your internal storage. This one will be fast, it only has about 8MB to copy.
This step can be skipped if you have a custom recovery! Type the following command: dd if=/dev/block/mmcblk0p1 of=/sdcard/recovery.img. This will copy your /recovery partition to a file called recovery.img on your internal storage. This one will be fast as well, it only has about 6MB to copy.
Type the following command: dd if=/dev/block/mmcblk0p3 of=/sdcard/system.img. This will copy your /system partition to a file called system.img on your internal storage. This one will take a bit longer, it has about 360MB to copy.
Type the following command: dd if=/dev/block/mmcblk0p6 of=/sdcard/flexrom.img. This will copy your /flexrom partition to a file called flexrom.img on your internal storage. This one will take a bit longer as well, it has about 360MB to copy.
Type exit to exit the ADB shell. Copy the four .img files from your tablet (internal storage) to your computer. You might have to reboot your tablet if the files don't show up.
ZIP or RAR these files, and upload them somewhere. If you can't find a place to store them: send me a private message or reply in this thread and we'll arrange something else. If you have uploaded the files somewhere: again, send me a private message or reply in this thread.
So now what?
When I receive your files, I will package them into an update.zip that can be flashed from custom recoveries. This will then restore everything (including the custom recovery) to factory state, which can help you in getting your device back to stock.
What versions do you have already?
Acer_AV041_A510_1.044.00_WW_GEN1 (download links will follow shortly)
Acer_AV041_A510_1.098.00_EMEA_CUS1 (download links will follow shortly)
Acer_AV041_A510_1.099.00_EMEA_DE (download links will follow shortly)
The idea sounds great so far. But I have a small problem to make a complete backup for my a511.
Your linked root tutorial for the procedure is only for a100/a510 and doesn't work for a511, as I understand.
The tutorial for rooting the a511 needs first to flash a CWM.
http://forum.xda-developers.com/showthread.php?t=1729432
So it isn't possible for us to backup the recovery partition, right ?
I have the stock Acer_AV041_511_1.028.00_EMEA_DE on my device.
Is it even possible to backup and recover the baseband ?
I'm very interested in your CWM recovery for a511 too, but since many guys f++++d up their device now, I want to make sure that my device will not goes the same way.
i can help, n my tab is rooted.
but i don understand the first step: Connect your tablet to your computer via ADB
What about if we have removed system apps (such as the antivirus that comes with the tablet). It wouldn't be a complete dump if it didn't include those.
I have root and am happy to provide a dump, but I did uninstall several of the crappier pre-installed apps that came with my tablet.
scorpio16v said:
The idea sounds great so far. But I have a small problem to make a complete backup for my a511.
Your linked root tutorial for the procedure is only for a100/a510 and doesn't work for a511, as I understand.
The tutorial for rooting the a511 needs first to flash a CWM.
http://forum.xda-developers.com/showthread.php?t=1729432
So it isn't possible for us to backup the recovery partition, right ?
I have the stock Acer_AV041_511_1.028.00_EMEA_DE on my device.
Is it even possible to backup and recover the baseband ?
I'm very interested in your CWM recovery for a511 too, but since many guys f++++d up their device now, I want to make sure that my device will not goes the same way.
Click to expand...
Click to collapse
Hi, your device will not brick, I can send you a test A511 recovery if you want. Worst that can happen is that recovery won't boot, but in that case you can simply put back recovery. Send me a private message and we can work something out.
scae said:
What about if we have removed system apps (such as the antivirus that comes with the tablet). It wouldn't be a complete dump if it didn't include those.
I have root and am happy to provide a dump, but I did uninstall several of the crappier pre-installed apps that came with my tablet.
Click to expand...
Click to collapse
Then it's of no use, unless you have a backup of your pre-installed apps. Removing apps from the /system or /flexrom partition is not recommended, and you gain nothing by it: You only gain space on read-only filesystems which you won't use in 99% of situations, and you've now broken OTA's for yourself as well, as OTA's will only install when apps are present unless you start modifying OTA files.
The 'correct' way to get rid of pre-installed apps is simply freezing them, either from the settings menu or with an app like Titanium Backup. This will make it seem like they're not there (so they don't use resources at all), but the APKs don't get removed.
So unfortunately, we can't use your dumps to restore devices to factory state. Unless, ofcourse, you've made a backup of the apps somewhere.
skymario said:
i can help, n my tab is rooted.
but i don understand the first step: Connect your tablet to your computer via ADB
Click to expand...
Click to collapse
Do you have ADB or the Android SDK installed?
NoThrills said:
Do you have ADB or the Android SDK installed?
Click to expand...
Click to collapse
I just learned ADB, n successful install ur CWM, later will try to dump my stock Rom to u.
My stock Rom version 1.073 ww gen1
does it matter if the system apps have been frozen or do they need to be unfrozen first?
I have flashed that remove stock recovery mod so the stock rom doesn't keep overwriting cwm on reboot. Does that disqualify me? If not I'll dump my rom for you when I get home.
I'm on this rom version:
ro.build.pandora.id=Acer_AV041_A510_RV28RC04_PA_CUS1
ro.build.flexrom.id=Acer_AV041_A510_1.076.00_PA_CUS1
I unlocked bootloader,rooted,installed cwm then backed up my stock rom.Could i restore my stock rom then be able to send you those fills
and return to total stock.
NoThrills said:
Hi, your device will not brick, I can send you a test A511 recovery if you want. Worst that can happen is that recovery won't boot, but in that case you can simply put back recovery. Send me a private message and we can work something out.
Click to expand...
Click to collapse
i think he mean that the a511 recovery doesn't work properly....you can flash a zip, but nearly all other options brick the device
i have a a511 too with Acer_AV041_A511_1.028.00.EMEA_DE and can help with testing or something else
I have Acer AV041_A510_1.079.00_PA_CA. (Canada)
I have not done a thing to it because it is a replacement for the Galaxy Note I bricked trying to upgrade from GB to ICS, too early.
I might try again if I was sure I could get back to where I am, using your process.
I assume that your Root link is comprehensive but I also need reassurance on how to ADB.
[email protected]
Sent from my A510
blgblade said:
i think he mean that the a511 recovery doesn't work properly....you can flash a zip, but nearly all other options brick the device
Click to expand...
Click to collapse
No, as I understand, the only working methode to root the a511 is to bootloader unlock, flash the custom recovery and then the root.zip.
Maybe I'm wrong and there is another working way to root the device ?
The problem is simply, that we lost the stock recovery before we have a backup from it.
If we have another root way for a511, the backup of stock firmware is done in a few minutes and from this point we can test the a511 custom recovery from NoThrills.
To the A511 owners: Technically, if you have a install-recovery.sh file on your device, the device will always flash recovery back from the boot.img.
In theory: To test, one could simply overwrite the stock recovery with my Recovery (not the other ones, they will brick your device) and then when you reboot, your device will overwrite the recovery with the stock one again. So you really don't need a backup of the recovery partition.
As long as you don't let your device fully boot (so, stay in recovery) there's plenty of time to test if the recovery works or not. If it doesn't, simply reset your device and it will flash back the original recovery (again: provided there is a install-recovery.sh in your /system partition).
So again, if anyone is willing to test, let me know
NoThrills said:
To the A511 owners: Technically, if you have a install-recovery.sh file on your device, the device will always flash recovery back from the boot.img.
Click to expand...
Click to collapse
I can't find a install-recovery.sh in /system partition on my a511. Search on root-explorer can't find one on the device.
Even NOT on /system/etc like on other devices.
NoThrills said:
So unfortunately, we can't use your dumps to restore devices to factory state. Unless, ofcourse, you've made a backup of the apps somewhere.
Click to expand...
Click to collapse
Ah damn, I did back them up via titanium but it doesn't seem to want to restore them - it just sits there say restoring app.
scorpio16v said:
I can't find a install-recovery.sh in /system partition on my a511. Search on root-explorer can't find one on the device.
Even NOT on /system/etc like on other devices.
Click to expand...
Click to collapse
Yeah, I meant /system/etc... That's weird, I'd figure Acer would use the same system on the A511... Let me check one of the leaked ROMs...
Hello,
I have an stock Acer_AV041_A510_1.098.00_EMEA_CUS1, there we go for the files
Host file is not the stock version, it was edited by AdAway.
Can you make a version without recovery overwritting ?
I thinks a lot of people want to try some roms... just for testing...
Acer_AV041_A510_1.098.00_EMEA_CUS1 boot && system && flexroom:
http :// dl.free.fr/jDEmTNSD4
Have Fun
Hello,
I have the same rom without root or unlocked bootloader or moded recovery so if the above on does not make it I'll upload mine.
Sent from my A510 using xda app-developers app

Nandroid backup flash to new tablet?

So I've been using and modding android devices for quite some time now, but I'm never actually tried this so maybe someone can answer this question...
I should be receiving my new shield tablet soon (from the recall program) and I'm wondering if it would be possible for me to create a nandroid backup of my old tablet and then restore that backup on the new tablet? .... Can you transfer a nandroid backup from one device to another as long as both devices are the same make/model?
Im going to do that, actually. Theorethically, you should be able to.
Enviado desde mi SHIELD Tablet mediante Tapatalk
NaminatoR1254jaime.sier said:
Im going to do that, actually. Theorethically, you should be able to.
Enviado desde mi SHIELD Tablet mediante Tapatalk
Click to expand...
Click to collapse
That's what I was thinking... However, from what I understand, a nandroid backup is about the most complete backup you can create. It copies everything from what I understand.
If that's the case, and seeing as how you can change your serial number and imei number with certain apps (I.e. those numbers are in the software) then I wonder if you would end up with two tablets with identical serial numbers?! I could be wrong, it might not copy that info, but if it did that would NOT be good since the serial number is what nvidia uses to remotely kill your old tablet (I think)!!
bluegizmo83 said:
That's what I was thinking... However, from what I understand, a nandroid backup is about the most complete backup you can create. It copies everything from what I understand.
If that's the case, and seeing as how you can change your serial number and imei number with certain apps (I.e. those numbers are in the software) then I wonder if you would end up with two tablets with identical serial numbers?! I could be wrong, it might not copy that info, but if it did that would NOT be good since the serial number is what nvidia uses to remotely kill your old tablet (I think)!!
Click to expand...
Click to collapse
I dont think so, because that type ofmdata is un another partition
Plus, the serial number must come embedded in the hardware
Enviado desde mi SHIELD Tablet mediante Tapatalk
I think it would be better the other way around make a Nandroid copy of your new tablet and install it on old to avoid the kill switch..booomm
Ok, so flashing the TWRP nandroid backup from my old tablet onto my new tablet was NOT as easy as I thought it was going to be!
For anyone else trying this, you will notice that when you try to restore the backup (assume you had the backup on an sdcard, or copied it to the new tablet somehow), TWRP will not show any restore options! It turns out, the reason for this is that when TWRP makes a backup, it is locked to your device serial number.
To get around this, you need to rename a folder... Inside the TWRP/Backups/ there will be a folder name that is a long string of numbers/letters, THIS is the serial number of the device on which the backup was created (i.e. the old tablet). You need to rename this folder to match the serial number of your NEW tablet. The easiest way to do this is to created a small backup in TWRP from your NEW tablet, just backup the recovery partition or something small, your only doing this to create the folder name with your NEW tablet serial number. Now copy the serial number of your new tablet and use it to rename the old tablet backup folder, then load up TWRP and you should be able to flash the backup of your old tablet onto your new tablet!
bluegizmo83 said:
your only doing this to create the folder name with your NEW tablet serial number. Now copy the serial number of your new tablet and use it to rename the old tablet backup folder, then load up TWRP and you should be able to flash the backup of your old tablet onto your new tablet!
Click to expand...
Click to collapse
And possibly cause a software level change/update on your new tablet to the old s/n and potentially making it a target for the kill switch?
Sent from my SHIELD Tablet using XDA Free mobile app
An Droid said:
And possibly cause a software level change/update on your new tablet to the old s/n and potentially making it a target for the kill switch?
Sent from my SHIELD Tablet using XDA Free mobile app
Click to expand...
Click to collapse
No. Twrp and cwm backup do not copy those partitions of memory. I think the only reason for twrp naming folders like that is so people with microSD cards can create backs of multiple devices and the same chip and never accidentally restore the wrong backup

Beginner questions - backing up using TWRP within 8GB moto

Hi, really looking for any advice or pointers. I have only now got round to trying to root my moto G xt1032 which is a very limiting 8GB of internal memory and no SD.
I manged to gain root access and install superuser and TWRP. Everything seemed to be ok but before messing around more i wanted to try to backup in some way (a recovery image sounded ideal). And then i just kept hitting walls; the 8GB was not enough to do a backup of the system, boot AND data. It seemed to say when i opened a (3rd party?) app TWRP Manager, that backups to external drives were not possible due to TWRP no longer supporting this feature.
Anyway I decided to risk just a backup of system and boot (leaving out data) before trying out a new ROM. After backing up i tried a slimkat rom....unfortunately the screen had a line constantly cascading down the display (this looked similar to the TWRP line running down the screen but just being a recovery console it made no difference to me - obviously it's no good having a buggy display on your handset proper).
So i decided to see if going through TWRP to restore the backup i made (of boot and system, omitting data) would work. At first everything booted but then i realized something was seriously wrong - no WIFI for example being available. So i have now come full circle and now flashed back to a stock rom that took about 4 hours to download from filefactory. I seem to be back up and running on the stock 5.0.2 vers (without bootloader unlocked i think?)
So my question really is - is there a way to backup using TWRP in my scenerio of only having an 8GB version which alone is not enough to include data in the backup? I also was not able to interact between the PC and moto whilst in the bootloader menu (by which i mean the files were not visible on my pc i was still able to use fastboot commands).
Sorry for the convuleted post - mainly I'm doing this as an experiment - would rather not brick right away but no great loss if i do. I'm just wondering how i can overcome this issue with doing a proper backup in TWRP as all i could backup previously was the boot and system which turned out no use as a recovery.
Simply use an OTG cable and any USB flashdrive (MotoG supports it, contrary to motoE)
In TWRP, you can choose the destination drive (sdcard0 or USB)
matmutant said:
Simply use an OTG cable and any USB flashdrive (MotoG supports it, contrary to motoE)
In TWRP, you can choose the destination drive (sdcard0 or USB)
Click to expand...
Click to collapse
thanks!...that makes sense. I have nevertheless rerooted last night without going further into installing custom ROM's. The motoG seems much snappier and I have adaway working (which has always been a big incentive to rooting for me). I will try the OTG method for doing backup and more soon no doubt cheers

Using RK Batchtool on a bricked Joying 5.1.1 headunit

Hi Everyone,
I did a stupid thing and flashed my head unit with a 4.4.4 rom.
I can no longer get into recovery unless I use sd_Firmware tool. sd_Firmware tools doesn't restore the image though.
I am trying to use RK Batchtools to reimage the device but I cannot get the head unit to show up in device manager.
Am I correct in using any of the 2 USB leads that come out of the back of the head unit (normally used for 3g adapter or USB thumb drive) with a A to A USB cable to join to the laptop?
Is there any button pressing process required for it to connect to the laptop?
Many many thanks in advance. So angry with myself.
Same problem, Someone Can help us?
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
colostro said:
Same problem, Someone Can help us?
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
Click to expand...
Click to collapse
OK Success, my head unit is back up and running.
I believe (somebody please correct me if i'm wrong) that the issue lies in the MCU.
I used sd_Firmware tool to generate a bootable SD card. This on it's own should've been enough to flash the device but mine would fail with an error asking to remove the SD card. Once you remove the SD card you're presented with a recovery menu.
Have a USB stick with ONLY the mcu img file, select restore from USB + wipe. This will re-apply the MCU file.
One that is done, the device will reboot but will not post. Restart the device using the boot SD card once again to repeat the process but replace your MCU file with your dupdate.img file.
This should get your device bootable again. Don't forget to load the recovery menu from the device and select the wipe data + cache option.
Let me know how you go
Thanks, i'm going to try.
I still used sd_firmware tool, but the sw doesn't recognize my sd card (Windows is ok, recognize it)...
I Can put my unit in recovery mode
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
colostro said:
Thanks, i'm going to try.
I still used sd_firmware tool, but the sw doesn't recognize my sd card (Windows is ok, recognize it)...
I Can put my unit in recovery mode
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
Click to expand...
Click to collapse
run SD firmware tool "as administrator" if you cannot see the tool.
Are you saying you can enter recovery mode without the use of a bootable SD card? Because if that's the case, we do not share the same issue.
We have not the same issue, i know.
After using Malaysk rom, my unit doesn't boot anymore, I entered in recovery mode and trying to update original rom but i receive an errore like this "device block required"
EDIT: I DID IT!!!!!!! Using your method (first MCU and then ROM), I recovered my hed unit... Thanks so much.... GREAAAAATTTTTT
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
Can you please tell me what you put onto your drive to make it "bootable" ?
Did you put the MCU file onto the drive or the firmware ?
My HU does nothing its just black screen
Thank You !!
You have to put firmware file (much greater file), then put the sd into gps slot and at least turn on your head unit and wait
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
colostro said:
You have to put firmware file (much greater file), then put the sd into gps slot and at least turn on your head unit and wait
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
Click to expand...
Click to collapse
Thank you I tried this but the tool wont write the file to the sd card as its not a .img file
Do I need to rename it ?
Thank You
have you original dupdate.img? I tried with my original head unit file and works fine
colostro said:
have you original dupdate.img? I tried with my original head unit file and works fine
Click to expand...
Click to collapse
No I dont =\
What version of MCU have you?
I'm actually trying to unbrick my Allwinner R16
I dont even know if this will work
Quadcore-r16-1.6g
Android 4.4.2
MCU Version
5.3.18-98-13-E50201-160406
SYSTEM VERSION
4.5.9_20160322
Cid6.7 said:
I'm actually trying to unbrick my Allwinner R16
I dont even know if this will work
Quadcore-r16-1.6g
Android 4.4.2
MCU Version
5.3.18-98-13-E50201-160406
SYSTEM VERSION
4.5.9_20160322
Click to expand...
Click to collapse
I'm Sorry but i can't help you... I don't know
Inviato dal mio Redmi Note 3 utilizzando Tapatalk
Cid6.7 said:
Thank you I tried this but the tool wont write the file to the sd card as its not a .img file
Do I need to rename it ?
Thank You
Click to expand...
Click to collapse
The SD card is just to boot the device, flash the MCU from a usb flash drive.
You do have to create the SD card using the update.img file though. Get one from the "Factory images" thread.
Factory images thread ? I haven't seen this got a link ?
Thank You !
http://forum.xda-developers.com/and...ent/rom-factory-firmware-rk3188-mtcd-t3366561
morgish said:
OK Success, my head unit is back up and running.
I believe (somebody please correct me if i'm wrong) that the issue lies in the MCU.
I used sd_Firmware tool to generate a bootable SD card. This on it's own should've been enough to flash the device but mine would fail with an error asking to remove the SD card. Once you remove the SD card you're presented with a recovery menu.
Have a USB stick with ONLY the mcu img file, select restore from USB + wipe. This will re-apply the MCU file.
One that is done, the device will reboot but will not post. Restart the device using the boot SD card once again to repeat the process but replace your MCU file with your dupdate.img file.
This should get your device bootable again. Don't forget to load the recovery menu from the device and select the wipe data + cache option.
Let me know how you go
Click to expand...
Click to collapse
I was able to successfully flash an MCU using your USB method. Now to flash the rom image do I select restore from UBS + Clear all or just restore from USB in recovery? What's the difference?
Also, what does the 'upgrade' checkbox on the sd_firmware tool do vs. just drag and dropping the image file in windows? This piece of software is perplexing to me. Is its main function to create disks (cards or sticks) that will flash a device w\o having to go through recovery?
rotomoto said:
I was able to successfully flash an MCU using your USB method. Now to flash the rom image do I select restore from UBS + Clear all or just restore from USB in recovery? What's the difference?
Click to expand...
Click to collapse
I believe you can upgrade and keep your settings etc if you're going from one version to the bump up.
If you're going from major version diferences (or recovering from a big fault) it would be best to do the clear all (same as factory reset).
If you have flashed your MCU successfully, you may find you can use the unit's recovery and not the "bootable sd card"
rotomoto said:
Also, what does the 'upgrade' checkbox on the sd_firmware tool do vs. just drag and dropping the image file in windows? This piece of software is perplexing to me. Is its main function to create disks (cards or sticks) that will flash a device w\o having to go through recovery?
Click to expand...
Click to collapse
I wouldn't worry too much about the sd_firmware tool settings, simply use it as a boot disk to get into recovery then use recovery to reflash the device (As you have done with your MCU file)
Yes that's correct, flashing a device without using it's own recovery. I believe it's for band new units that has never had software (recovery) flashed?
morgish said:
I believe you can upgrade and keep your settings etc if you're going from one version to the bump up.
If you're going from major version diferences (or recovering from a big fault) it would be best to do the clear all (same as factory reset).
If you have flashed your MCU successfully, you may find you can use the unit's recovery and not the "bootable sd card"
I wouldn't worry too much about the sd_firmware tool settings, simply use it as a boot disk to get into recovery then use recovery to reflash the device (As you have done with your MCU file)
Yes that's correct, flashing a device without using it's own recovery. I believe it's for band new units that has never had software (recovery) flashed?
Click to expand...
Click to collapse
Hi,
does anybody know why I get this error in the SD Firmware Tool, every time when I tick "SD Boot"? My device is bricked and it doesn't enter recovery mode. Therefore I tried this tool, as I don't have a USB A-A. Creating the firmware SD without ticking "SD Boot" works fine, but trying to make it bootable gives me this error. Tried with 3 versions of the firmware for my device. Started the tool as an administrator, on a win7.
Thx in advance!

Categories

Resources