[Q] How to flash boot.img to AMLogic aml8726-mx TV BOX - Android Q&A, Help & Troubleshooting

Hi all
Ive managed to flash new firmware to my Android Tv box and am now looking to update it further.
Found a script which is supposed to be very good but i have no idea how to get it to run on the box
http://forum.xda-developers.com/show...4&postcount=62
Thread above has a link to the .img file and links to scripts to add the image file but i cannot figure out how to do it.
Did get some instructions via pm from a member here but they weren't detailed enough for me to work out, instructions i got were "Download it from a web browser on the device, move it where it needs to be and set correct permissions with a root file explorer, download the image then you can flash it from the Terminal Emulator app by entering the command."
Anyone either give me a step by step guide or point me to where i might find one?
Thanks

Anyone?

Related

How can i root my prestigio PMP5080B Android Pad on gingerbread 2.3.1

Help!!
i been surfing the internet trying to find a way of how i can root my device. so far ive had on luck. i have tried gingerbreak but i don't think this has even worked. does anyone have any ideas of how you could root this particular device. if you have any suggestions or know how you can, i would be very grateful.
HOWTO - root PMP5080B
There is a way to root the tablet.
But it it does not root the runnning version, it roots the update image.
So if don't have the most actual firmware try this:
(maybe you can flash the firmware even it is not newer, but i don't know how)
Todo (Windows PC necessary):
At first load the latest firmware and unzip it:
h t t p : / / w w w .prestigio.com/info/product/downloads?NODE_ID=61101103718510974&ITEM=110706112617507776
Download the Wendal tool:
h t t p s :/ / docs.google.com/leaf?id=0B8h...RjZjFmODdiZTQ1
Then follow this steps:
1. Unzip the Wendal tool, you get a folder named "RK29xxImagetools_v2.1".
2. copy the update.img from Prestigio firmware download in the "RK29xxImagetools_v2.1" folder and rename the file to "wendal.img"
3. start "Runme.bat"
4. press "1", you get the message that you have to rename your file. Since you have already done this before proceed. The batch file starts, make sure you dont see any errors.
5. press "2" followed by "Enter". The rootet image will be created automatically
6. end the programm with "3"
7. in the "RK29xxImagetools_v2.1" you will find a file named "wendal-new.img", copy it to your SD card and rename it to "update.img".
8. put your SD card in your tablet, you will get a message to update your firmware
9. the tablet reboots, flashes the new firmware
10. be happy with your root access
Still having problems.
i have done what you said for me to do but when i rename the firmware to "wendal.img" and run it for some reason it keeps saying i haven't put the firmware in the folder when i have. do you know what how you can sort this out.
cheers
Did you unzip the firmware download?
Tried, tested & confirmed working
Just like to note that the software used will give you a warning about placing the update.img in the correct folder and renaming it even when it has already been done. You just have to press enter!
I have 5080B and i want to root it, but on ICS stock rom. Problem is, i cannot use wendal tools cause it can't add su and superuser.apk into /system ("no such directory") and even earlier i used to root gingerbread with these tools it is half-root - /system not rw, but superuser works
i saw update 2.0.2 from prestigio, pre-rooted, but i want to root this, newest version, 2.0.3
i have linux setup running and i tried mounting system.img but i can only add su, and nothing else cause there's no space...
also, how do i boot recovery from the device itself? i tried vol- and power key but there is an image of an 'destroyed' Android bot, no options there at all
Same problem - want root on Prestigio PMP 5080B
Just got a Prestigio PMP5080B running ICS 4 and want to root the tablet. I read from the preceding message that thhe method discussed here doesn't seem to work with it. Any ideas would be most welcomed here too.
By the way Hi!
Ziggy
help
remoh said:
There is a way to root the tablet.
But it it does not root the runnning version, it roots the update image.
So if don't have the most actual firmware try this:
(maybe you can flash the firmware even it is not newer, but i don't know how)
Todo (Windows PC necessary):
At first load the latest firmware and unzip it:
h t t p : / / w w w .prestigio.com/info/product/downloads?NODE_ID=61101103718510974&ITEM=110706112617507776
Download the Wendal tool:
h t t p s :/ / docs.google.com/leaf?id=0B8h...RjZjFmODdiZTQ1
Then follow this steps:
1. Unzip the Wendal tool, you get a folder named "RK29xxImagetools_v2.1".
2. copy the update.img from Prestigio firmware download in the "RK29xxImagetools_v2.1" folder and rename the file to "wendal.img"
3. start "Runme.bat"
4. press "1", you get the message that you have to rename your file. Since you have already done this before proceed. The batch file starts, make sure you dont see any errors.
5. press "2" followed by "Enter". The rootet image will be created automatically
6. end the programm with "3"
7. in the "RK29xxImagetools_v2.1" you will find a file named "wendal-new.img", copy it to your SD card and rename it to "update.img".
8. put your SD card in your tablet, you will get a message to update your firmware
9. the tablet reboots, flashes the new firmware
10. be happy with your root access
Click to expand...
Click to collapse
Hey, i have done everything right, but after unzipping the update.zip, i find only the boot.img file not the update.img file...and even after renaming it to wendal.img, the runme.bat program says FAILED...any clue how this can be fixed?
TVMALOPE.IM said:
Hey, i have done everything right, but after unzipping the update.zip, i find only the boot.img file not the update.img file...and even after renaming it to wendal.img, the runme.bat program says FAILED...any clue how this can be fixed?
Click to expand...
Click to collapse
If you want, i can share my rootet version 1.0.26 for you, i still have the old .img file
But actually i am using this version on my pad:
http://x--t-e-a-m.blogspot.de/
I think it is far better than the original firmware (root included, it is Android 4.1 !)
Italian people did it, so maybe bing translator can help you
http://www.microsofttranslator.com/bv.aspx?from=&to=en&a=http://x--t-e-a-m.blogspot.de/
help
thanks but im new to android so i cant understand, can you send me your .img file...because i just want to copy straight to memory card and get root access, please...my tab is PMP7170B3G
TVMALOPE.IM said:
thanks but im new to android so i cant understand, can you send me your .img file...because i just want to copy straight to memory card and get root access, please...my tab is PMP7170B3G
Click to expand...
Click to collapse
The img file is for PMP5080B, so it won't help. Wrong thread, sorry

[Q] MTK6573 custom recovery and backups / Stock Boot, Recovery + Scatter included

Phone is a Star X19i
Now I'm looking at getting a system to allow me to back up the rom and re-flash if needed.
Post 4 has attachments of my boot, recovery and scatter files.
Old issue: (Solved)
Stupid thing I did I renamed the mtklockscreen.odex to mtklockscreen.odex1 just as a test in a half asleep phase to see if I would get the stock lockscreen loading.
Suffice to say the phone no longer boots.
Really don't think I can get into ADB and rename the file to get the phone booting again unless anyone knows a way.
Android was 2.3.6 and I asked the seller if it was possible to get the rom incase anything like happened which they didn't.
So anyone have any ideas?
I have attached the stock recovery and boot images made with cat and a scatter file I made to post 4.
As I have no idea about modifying these for hard root can anyone take a look?
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
dxppxd said:
I don't know the specifics of the phone, but if you can go into recovery mode maybe you can get adb working, or use a flashable zip to rename the file by installing it from recovery (just need to edit the zips' updater script)
Click to expand...
Click to collapse
I got into built in Factory mode and can see the file I renamed through ADB and android commander but cannot rename it back due to not having hard root access.
I also have a copy of the boot and recovery partitions 5 and 6 respectively I made in the adb shell yesterday as I was half looking at getting hard root access.
ren mtklockscreen.odex1 mtklockscreen.odex
ren: permission denied
I read you can do a custom recovery with root using SP Tools still so can anyone help me do this?
I know about system root etc and stuff and have flashed roms before on other tablets and have been a PC I.T tech (wouldn't think it due to the stupid mistake) but this recovery and scatter files etc is kinda new to me.
I have a scatter file now I just made if anyone is interested in helping me.
Yes I have a MTK6573 but the scatter file came from the MT6516 Rom Studio which I read works the same for the 6573.
Attached is also my stock boot and recovery partitions I made with cat yesterday if there usable to anyone to help.
Well I got it working and fixed.
I had to go into adb shell and su and mount the file system as writable, as I have used linux before I didn't know about android and what needed to be done and permission locks etc.
The stock boot, recovery and scatter files will remain on this thread if anyone wants to help create or find a recovery which can allow me to create backups and flash custom roms.
I may be able to provide a dump of android 2.3.6 for those that want it once I'm provided with a backup solution as I have read a few people wanting this updated android rom.
This got too close to what I would like liked with bricking this phone.
And I'm not comfortable unless I have a rom backup of this.
Rooting Advice: For anyone with a MTK6573 on Android 2.3.6 trying to root but having issues with super one click make sure you only turn on USB debugging after Android has loaded and just before you plug the usb cable in to run super one click.
I have seen a few thread and posters here about not being able to root the phone and this is the cause that debug needs to be switched on right before you connect and try to root.
Original seller has agreed to send the firmware and flashing stuff on cd for me so I can upload it for you all.
This is a win for MTK6573 Star X19i owners as I'll have the updated 2.3.6 Gingerbread firmware to release for you all root modify etc in a week or so.
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
cybermaus said:
Be careful with ROM studio. I believe it is not compatible with MT6573.
You want to read this: http://bm-smartphone-reviews.blogspot.com/2012_04_01_archive.html
Click to expand...
Click to collapse
That's what I read and did to get my scatter as I used cat then used the program linked in that thread to generate the scatter.

[Q] Help desperately needed installing Cybermaus Lenovo A789 ROM

Hello,
I'm very close to insanity now with trying to install cybermaus' custom rom for the A789 for the past 6 hours. I followed the instructions in this thread:
http://forum.xda-developers.com/showthread.php?t=1874403
The first thing it tells you to do is read another guide here, which I have read countless times:
http://bm-smartphone-reviews.blogspot.nl/2012/05/mt6575-flashing-tutorial.html
I have installed the drivers fine. I have two issues (so far) which are driving me insane:
1. Where on earth am I supposed to be getting this scatter file from? I have downloaded various versions from here there and everywhere over the internet. There is also one in the TWRP_recovery_v2.3.1.1_for_A789.zip file (which is with the ROM file on cybermaus' Dev-Host page) which I have tried (by the way that zip file is mentioned no where in any of these guides so god knows if that is involved or not). Where does the scatter file need to be placed in relation to the rom? When I load the scatter file into Flash Tool I either get all the file locations blank, and all the memory region address, begin address and end addresses all blank as well. Or if I extract the contents of the ROM zip file (A789_ROW_S107_cybermaus_ICS_v3.21.zip) and put the scatter file (one that I found on GSM Forums) into the same folder with the extracted rom contents I get ONLY the BOOTIMG with a location but still no memory addresses and it doesn't work anyway. I cannot get it to find a location of everything in the "Names" column (ie PRELOADER, DSP_BL, MBR, EBR1 etc) as it shows in the guides.I am following the guides exactly and have tried so many things to attempt to do this!
2. How, in gods name, does the A789_ROW_S107_cybermaus_ICS_v3.21 file get flashed at all according to these guides? Is it just me or does the actual ROM not get mentioned at all anywhere in both guides?? I CLEARLY DON'T UNDERSTAND THIS PROCESS and I don't want to be unfair but I don't feel like it's been explained very well !! Is the scatter file supposed to somehow tell the Flash Tool where the ROM is?? Do they have to be in the same folder?? Does the ROM have to be extracted or it remains as .zip?? Cybermaus himself in another post about scatter files says "I have seen several people asking 'where to find the scatter file'. Well, it comes with the ROM you want to flash. If your ROM file does not come with a scatter file, then is not a ROM file that can be flashed with the flash utility, but with an open recovery." O K, so, where is the one with his rom?? Am I stupid or is it not there?
I have flashed other phones successfully in the past with CWM where the guides had clear instructions on how to download and install CWM, then download the .zip file of the rom and then boot to CWM and install it, however this phone has none of that and I just can't see how this is supposed to work. Other people have clearly been able to do it!
Please can someone guide me a bit and explain to me what I have to do, considering I have followed the guide exactly a billion times and it does not work (for me anyway). Usually I find getting the drivers to work the annoying bit but this whole scatter file thing, WTF???
I would appreciate any help!
Please can someone who has a copy of A789_ROW_S107_cybermaus_ICS_v3.21.zip that THEY KNOW WORKS please upload it to somewhere and please post the link. There seems to be a problem downloading the version that is in the guide in Cybermaus' DevHost site, it downloads extremely slowly and then at the end files are missing every time, I have tried to download it many times on different days, the scatter file and lots of others are missing and sometimes it stops at around 150MB but says it is 100% done.
Please help, this might be what's preventing me from following the guide.

[Q] Cube U27GT - Help with Rooting a Stock Rom and can we get a forum?

Dear Admins,
Could we get a forum setup for the Cube U27GT WiFi version? I dug around on the site a bit beforehand but didn't see one, I apologize if I missed it and please direct me there if I did.
I have this tablet and I am doing some initial basic firmware development for it and want a proper place to start putting threads.
Dear Dev Community,
I can't root this bloody thing... At least, not the rom itself. Let me explain...
I can flash the stock rom from Cube and that can be rooted using Kango Root. --Fine...
However, I can't figure out how to replicate this when I make my own rom.
Thus far, here is what I have attempted...
1. Setup dsixda's excellent kitchen on my Ubuntu workstation.
2. Unpack the rom, clean things up, manually put the boot image into the dsixda unpacked working rom folder, run dsixda's root functionality (which add SU binary to xbin and SuperSu apk file to app folder as well as do some things with the boot image file).
3. Rather than using repack with Dsixda (which makes an update.zip image which I can't use because the stock recovery environment on this device can't flash zip update files and I can't for the life of me figure out how to get and or make a working CWM or TWRP recovery image for this unit)...
4. What I do is I run commands in linux to unpack the stock rom to another directory and mount that directory, then clear out a bunch of folders and then manually copy in my files from dsixda's working folder, then repackage up my unpacked stock rom into a new system.img file.
5. Then copy my now modified boot image, system image, and also userdata image (I modify that as well as that is where most all of the chinese bloatware is loaded from) to my SP_Flash_Tool, generate new checksum.ini file and flash normally...
What I get as a result...
1. As long as I am really careful with how I copy files into my new image, the new system flashes okay (if I am not careful, after flash USB storage for some reason has a format error and the system will boot but can't mount USB storage and other odd issues ensue as a result).
2. Assuming everything flashes okay, and no issue with USB storage partition, I have SuperSU installed and when I go to use an app (ES File Explorer or Root Checker) that require's root, I do get the prompt. However none of the root functions actually work and Root Checker tells me I am not rooted.
That is as far as I have got. So as a result, I have a really nice, westernized, cleaned up rom but with no root.
Anyone have any ideas?
This is my first adventure into mod'ing MTK roms so I am sure I am doing all kinds of things wrong . I had a good bit of experience on Rockchip SoC's before this though.
Kind regards and thanks in advance!
Roman
Figured it out!
So I finally did the following rather hackish work-around...
1. Flash stock firmware...
2. Root with Kingo Root
3. Enabled ADB
4. Attach to PC and fire up MTK Droid Tools
5. Take a full backup
6. Modify the system image from the backup and make changes
7. Put that in new firmware flash package
8. Flash new firmware
YAY - Cleaned up rom, modified, with root!
Once I get it all packaged up and uploaded to mtkfirmware.com I will post a link for anyone that wants a cleaned up rom with root!
The only downfall of the above method is that it absolutely requires that the developer have a device on hand because you can't just root the stock image file (at least, I couldn't figure out how... - bleh...
Kind Regards,
Roman
Dear roman,
Thanks for your hard work.
I have a simple question (I think) and if you have the time to reply or -any other android guru- I would be thankful.
My later issue was with a U27GT cube tablet, but I have others, one for each kid, and this is more of general question.
I am reading this and other forums about how to flash tablets from PC. My question is:
Can the flashing process be done from a SD card?
Thanks a lot and regards,
Fernando
SKorea

[Q] Extract Compressed File to SD Card Director on First Boot

Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
th3magpi3 said:
Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
Click to expand...
Click to collapse
see Introduction : How to build an Android ROM - XDA-University
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS] by lokeshsaini94
This thread will be moved to Android Q&A, Help & Troubleshooting

Categories

Resources