Boot from sdcard - Android Software/Hacking General [Developers Only]

Solved. Needed a 32 bit Windows to be able to make a bootable card.
1. My Flytouch II/Wowpad refuses to boot from the sdcard.
I am using the correct slot, the card is bootable, but no way.
Anything I forgot ?
2. I can use the recovery console to upgrade, but that requires an update.zip version.
I got the android files for the 3245 build, but how can I convert these 5 .img files into an update.zip version ?
Thanks, Wolfgang

Related

[Q] Cannot flash CM on 3100

Hi everyone,
I have a Galaxy Tab 2 7.0 (P3100) and I have rooted it and installed CWM so I could install the latest CM release. But when I try to install the CM zip file, it says "some symlinks failed". Now my tablet won't boot, the splash screen with "Samsung Galaxy Tab 2" keeps on forever. But I still have access to CWM and the Download mode so I think everything's not lost yet
Here are the exact steps I did:
- Uploaded the CM image (cm-10-20121213-NIGHTLY-p3100.zip), the gapps zip and the root zip to the tablet.
- Installed heimdall on my computer, with the correct drivers.
- Flashed CWM on the tablet.
- Installed the root zip on the tablet using CWM.
- Booted the tablet again just to make sure rooting was enabled (yes, it was).
- Opened CWM again, wiped data, wiped cache.
- Installed CM image:
--- Error: some symlinks failed (status 7)
- Installed the gapps zip file (worked)
- Formatted /system
- Installed CM image:
--- Same error: some symlinks failed (status 7)
I wanted to try another CM images, maybe that one is broken, I don't know, but now I cannot upload more files to the tabled internal SD card. I can't mount it anymore on my computer because the tablet won't boot. I tried using an external SD card (from another Android phone I have) but CWM says "Cannot mount /external_sd" when I try to mount it.
Can anyone help me? I want to flash the latest CM on my tablet.
Thanks!
This seems to me like either a broken recovery or maybe a corrupt download. What version of CM are you trying to flash? Also, what version of CWM are you using and where did you find it?
Posted from my Fascinate using XDA Premium
Yeah, I also think the download was corrupt. I tried flashing cm-10-20121213-NIGHTLY-p3100.zip (the latest one on the day I flashed) and my CWM version is 6.0.1.1. I downloaded it from ClockworkMod official website, they say that is the latest version for my tablet model.
I believe CWM is working and that the image is corrupt, but I can't find a way to flash another CM image because I don't know how to put another file inside the tablet, or how to flash an image from my computer to the tablet. Can I use something like heimdall to flash a CM to my tablet? Can I upload an image to the tablet so I can use CWM to install it? "adb push" doesn't work, it doesn't detect my device in CWM mode. Do I need some working/stock Android image on the tablet so I can flash CM over? Or it will work no matter what's installed (given that the download is not corrupt)?
Thanks!
cristiandeives said:
Yeah, I also think the download was corrupt. I tried flashing cm-10-20121213-NIGHTLY-p3100.zip (the latest one on the day I flashed) and my CWM version is 6.0.1.1. I downloaded it from ClockworkMod official website, they say that is the latest version for my tablet model.
I believe CWM is working and that the image is corrupt, but I can't find a way to flash another CM image because I don't know how to put another file inside the tablet, or how to flash an image from my computer to the tablet. Can I use something like heimdall to flash a CM to my tablet? Can I upload an image to the tablet so I can use CWM to install it? "adb push" doesn't work, it doesn't detect my device in CWM mode. Do I need some working/stock Android image on the tablet so I can flash CM over? Or it will work no matter what's installed (given that the download is not corrupt)?
Thanks!
Click to expand...
Click to collapse
Please tell me you made a backup after rooting and before modding?
If you didn't (which it sounds like), BAD CRISTIAN!!! But this will make you learn to do it from now on, huh?
Which leaves you only two options, both include using a computer to get a ROM zip to the tab...
1- connect tab to computer in recovery with usb cable and download a new copy to SD card via computer.
2 - remove SD card from tab, place in computer card reader, and download a new copy to SD card via computer.
LeftyGR said:
Please tell me you made a backup after rooting and before modding?
If you didn't (which it sounds like), BAD CRISTIAN!!! But this will make you learn to do it from now on, huh?
Click to expand...
Click to collapse
I didn't make a backup :crying:
Yes, now I learnt, I will always make a backup from now on...
LeftyGR said:
1- connect tab to computer in recovery with usb cable and download a new copy to SD card via computer.
Click to expand...
Click to collapse
How exactly do I download a new copy of the image to the SD card? When I plug the tablet to the computer, I can't access its files. It used to show me the files when the Android system booted, but on Recovery mode it won't display them, the filesystem isn't mounted. Should I do anything special? Should I use another CWM version?
LeftyGR said:
2 - remove SD card from tab, place in computer card reader, and download a new copy to SD card via computer.
Click to expand...
Click to collapse
I tried that, but it seems I cannot mount the external SD card using CWM. When I hit "Mount external SD Card", it says "Cannot mount /external_sd". The SD card works fine though, I use it on another phone and on my computer... Is this a CWM problem? =/
Thanks!
cristiandeives said:
I didn't make a backup :crying:
Yes, now I learnt, I will always make a backup from now on...
Click to expand...
Click to collapse
Good man.
How exactly do I download a new copy of the image to the SD card? When I plug the tablet to the computer, I can't access its files. It used to show me the files when the Android system booted, but on Recovery mode it won't display them, the filesystem isn't mounted. Should I do anything special? Should I use another CWM version?
Click to expand...
Click to collapse
Pull the ext sd card out of the tab and put it into a card reader on a computer using the adapter the micro sd card [should have] come with.
I tried that, but it seems I cannot mount the external SD card using CWM. When I hit "Mount external SD Card", it says "Cannot mount /external_sd". The SD card works fine though, I use it on another phone and on my computer... Is this a CWM problem? =/
Click to expand...
Click to collapse
Possibly... However if you can mount your internal sd card, you should be able to place the zip on there. I don't usually suggest using internal, but if that's what you gotta do....
I found out why I couldn't mount my external SD card with CWM: I had to format it with FAT32! I don't know what filesystem there was before, the SD card I have was used by an old Éclair phone. I still couldn't install others CM 10 images (I really don't know why), but I managed to install CM 9 and the brand new CM 10.1.
Thanks, guys! =)
cristiandeives said:
I found out why I couldn't mount my external SD card with CWM: I had to format it with FAT32! I don't know what filesystem there was before, the SD card I have was used by an old Éclair phone. I still couldn't install others CM 10 images (I really don't know why), but I managed to install CM 9 and the brand new CM 10.1.
Thanks, guys! =)
Click to expand...
Click to collapse
Awsome. Thank you for providing your solution!!

[root tool] Toshiba Thrive 10.1" ICS

(Now, I know this is not in the right section or even in the device's page, but...)
Forewarning: I am NOT responsible for any damages caused by running this tool. (You ran it, not me.) Also, do NOT use on the Thrive 7 or ANY of the Excites! The Thrive 7 has an entirely different bootloader/partition layout than the 10.
Pio_masaki and I have been working hard for almost a year to get root on the ICS version of the Toshiba Thrive 10.
Last night, I was able to finally sneak past sealime.ko and have it work.
It uses the "root any ICS device" tool, with special modifications specifically for the Thrive 10.
(can't post any links, so it's on the "thrive-hackers" github page.)
Special note: While it is set up for OSX ADB, I have not been able to find any binaries.
Are you saying that we are close to a root method for Thrives running Toshiba ICS?
rohads said:
Are you saying that we are close to a root method for Thrives running Toshiba ICS?
Click to expand...
Click to collapse
Saying there is a method to root it now, yes, we got around sealime.ko. This means we can flash the HC bootloader which is unlocked, which allows custom recovery and kernels/ramdisks (boot.img) to be used.
BTW the link is https://github.com/Thrive-Hackers
congrats guys ! very awesome work !
jdsingles deodexed ROM w/ agat63's 1.3 kernel Suped up w/ CB 6.26.13
More specifically, it bypasses sealime to flash the unlocked bootloader. What we did was we MVd /dev/block/mmcblk0p6 to 0p9. It's a pure fluke Pio and I found out that it works. We found out that sealime was explicitly blocking write to 0p6, so he semi-sarcastically said to move it. I ran the mv command, whadda ya know? It worked!
'Course, getting the tool completed wasn't as simple as that...
PS: Could we get this moved to the Toshiba Thrive Development section?
Have instructions been written for the process?
worked for me
I used this tool on Jul 8 and it worked very well. I got it from thriveforums dot org. Thank you pio_masaki and AmEv.
I tried changing the recovery to the latest TWRP using "fastboot flash recovery twrp-2.4.1.0.img" while in bootloader. I was not able to, though as it kept giving me errors.
Does this bootloader not allow flashing a recovery? I noticed the rootme script uses adb commands to push the CWM recovery.
I am now running Dale's latest deodexed rooted ICS rom with the CWM recovery he included.
Other unrelated lessons learned:
If you can't mount your SD card in recovery, try a different card!
And, Dale packages his update.zip inside the downloaded zip file!
navyguy said:
I used this tool on Jul 8 and it worked very well. I got it from thriveforums dot org. Thank you pio_masaki and AmEv.
I tried changing the recovery to the latest TWRP using "fastboot flash recovery twrp-2.4.1.0.img" while in bootloader. I was not able to, though as it kept giving me errors.
Does this bootloader not allow flashing a recovery? I noticed the rootme script uses adb commands to push the CWM recovery.
I am now running Dale's latest deodexed rooted ICS rom with the CWM recovery he included.
Other unrelated lessons learned:
If you can't mount your SD card in recovery, try a different card!
And, Dale packages his update.zip inside the downloaded zip file!
Click to expand...
Click to collapse
Try fastboot flash:raw.
Is there any need to do a backup before rooting?
TubaMeister said:
Is there any need to do a backup before rooting?
Click to expand...
Click to collapse
Not explicitly, but it wouln't hurt in case your tablet got into contact with allspark.... er, the bootloader didn't flash, and you're stuck in a bootloop.
easy root and CWM recovery
walk thru
http://www.youtube.com/watch?v=MXeYJhKCgX8
adb driver
http://www.thriveforums.org/forum/t...vers-usb-adb-driver-installation-package.html
root tool
https://github.com/thrive-hackers/thrive-10-inch-ics-root,
follow this to install CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
follow to install touch CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
ROMs
http://www.thriveforums.org/forum/dalepl/
Uh oh
robyn402 said:
walk thru
http://www.youtube.com/watch?v=MXeYJhKCgX8
adb driver
http://www.thriveforums.org/forum/t...vers-usb-adb-driver-installation-package.html
root tool
https://github.com/thrive-hackers/thrive-10-inch-ics-root,
follow this to install CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
follow to install touch CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
ROMs
http://www.thriveforums.org/forum/dalepl/
Click to expand...
Click to collapse
I installed the drivers, used the root tool, the restore was successful, but now the tablet is stuck in a boot-loop mode.
The root tool was running, there was a line that said the screen would go blank, which it did, and it stayed there for several hours. When I came back to check on it, the tablet was off, so I turned it on. That's when I found the boot loop. It'll get to the home page, tell me that nova launcher has stopped, then loop back to the moving stars section of the boot screen.
Any ideas on what to do now?
DLeach4512,
if CWM is still alive, so just flash any ROM via CWM (flashing wipes all your data that exist in internal memory, so you need to make backup via CWM if you wish to save your data; and after flashing ROM you can import all data via Titanium Backup)
Kyonex said:
DLeach4512,
if CWM is still alive, so just flash any ROM via CWM (flashing wipes all your data that exist in internal memory, so you need to make backup via CWM if you wish to save your data; and after flashing ROM you can import all data via Titanium Backup)
Click to expand...
Click to collapse
You know, I feel kinda dumb because I didn't even try that!
Now i've tried it, and I see I can get into CWM.
I put a ROM on an SD card on my PC, then put that SD card into the Thrive and used CWM to install the .zip of the ROM I selected, and it won't install. It starts, then it says Installation aborted, but won't tell me why.
Any ideas where I should start unraveling this mystery?
1. check that your recovery is CWM and not stock recovery
2. check that you put on SD archive that contain folders named system and META-INF, file like boot.img, something other maybe (many ROMs archive contain "archive in archive", so you need to unpack archive from main archive and than put that internal archive on SD); after checking that all right try to flash that archive again
3. try another sdcard (full sized SDHC + formated in FAT32)
DLeach4512 said:
You know, I feel kinda dumb because I didn't even try that!
Now i've tried it, and I see I can get into CWM.
I put a ROM on an SD card on my PC, then put that SD card into the Thrive and used CWM to install the .zip of the ROM I selected, and it won't install. It starts, then it says Installation aborted, but won't tell me why.
Any ideas where I should start unraveling this mystery?
Click to expand...
Click to collapse
also make sure you open the zip and place the update.zip on your card -
From my GSIII - jd's Stock/Rooted/Deodexed 4.3
Kyonex said:
1. check that your recovery is CWM and not stock recovery
2. check that you put on SD archive that contain folders named system and META-INF, file like boot.img, something other maybe (many ROMs archive contain "archive in archive", so you need to unpack archive from main archive and than put that internal archive on SD); after checking that all right try to flash that archive again
3. try another sdcard (full sized SDHC + formated in FAT32)
Click to expand...
Click to collapse
Excellent!
1) I had to extract "update.zip" from the ROM I had downloaded.
2) I re-formatted the card I was using to FAT32 instead of FAT.
3) I was able to get the install started with no trouble after following your directions.
BIG THANK YOU FOR THAT!
I got a successful install message, and then it booted!
Thanks a million!
Problems after Mount Changes
I changed the mount as described on thriveforums.org to allow apks and data to go to the external sd rather than "shared" internal memory.
I now have the situation with less free memory available on the sd card than on internal. The CWM backups went on the physical card- a 32 G one almost full. Will look for a major mfr 64 Gig.
One or so issues with the revised mounts where the external sd card is now internal. They relate to making backups with dalepl's latest CWM 6.0.1: where to put CWM backups for now and are they being made correctly with the revised mounts?
The backup made prior to the mount change looks normal: a single, dated/numbered folder about 2.6 Gb, 6 files: boot.img, cache.ext4.tar, data.ext4.tar, nandroid.md5, recovery.img and system.ext4.tar. However, the one made after the mount change also has a dated, numbered folder of only 15.8 Mb and 7 files: .android_secure.vfat.dup, boot.img, cache.ext4.dup, data.ext4.dup, nandroid.md5, recovery.img and system.ext4.dup. There is a second folder associated with the later bu called "blobs", which is huge --2.76 Gb, 3292 folders and 6581 files. Is this an expected result and any one think it might be a valid bu?
Also, it went on to the external SD (now "internal") and total storage use is now almost 28 Gb out of 30.2. I now have the situation with less free memory available on the sd card than on internal. The stuff there looks ok, pix movies and music plus CWM bups of 5.5 G and App_Backup_Restore archived apks at 2.8 Gb. So, I copied the cwm backups folder to the real internal memory, now sdcard2. I assume this true internal memory might get wiped during a restore so, this is not a valid storage site for this? And, if I put copies on a spare card, will that really work if my downloaded apps are on the original card, eg does the CWM backup copy the external card apps?
As I note, for some reason this 'blobs' folder won't copy easily to a USB via the Thrive or Win 7 pc. It also won't copy to a Win 7 HD partition where I store my Thrive stuff. (Update: I was able to do a wireless transfer to my pc and then, from there, to a spare SD card.)
Any thoughts? Should I go back and change the mounts to default?
BTW, I find FolderMount has no real use with the changed mount on the Thrive unless someone tells me otherwise. With the Thrive mounting the external card as internal, files go to the physical card.
gberpa,
I don't understand your question - it is very long. But I know that custom recovery (CWM / TWRP) itself remounts sdcard and internal memory before wipe process so it will wipe correct memory (only internal memory). If you need to change the ROM you don't need to worry about mounting paths because after wipe mounting paths will be restored to original.
Partition layout of Toshiba Thrive 10.1" ICS
AmEv said:
Also, do NOT use on the Thrive 7 or ANY of the Excites! The Thrive 7 has an entirely different bootloader/partition layout than the 10.
Click to expand...
Click to collapse
Can you give us information on the Toshiba Thrive 10.1" ICS partition layout and their names, please?
We would like to compare it to ours Toshiba Excite Pro (AT10LE-A, tostab12BA). A Dirty Cow enabled KingoRoot has given us a temporary root.
[Q] How Root Toshiba Excite Pro AT10LE-A-108 by dexxxZ
https://forum.xda-developers.com/showthread.php?t=2583677&page=6
Sent from my takee 1 using XDA Labs

[Q] Can't flash from SD Card

Good evening, XDA :cyclops:
I am having issues flashing from recovery!
Some device info: Motorola Xoom WiFi, fully stock and fully updated, unrooted, bootloader unlocked today, device wiped multiple times. This is my first day trying anything custom on this device.
I decided today that i wanted to go custom on my Xoom today and update it to KitKat via this method.
I have downloaded all the required files per the mentioned guide. While in recovery i go to apply update from USB drive, but it is not finding any of the downloaded files from the guide.
What I see is
Code:
Android system recovery <3e>
Choose a package to install:
/sdcard
../
The ../ is my only option to click and it obviously returns me to the main recovery menu.
All the zip files are on the root of the SD card, not in sub folders. I have confirmed via PC and another phone that the files are indeed there. I tried with a different, fresh, formatted (fat32) SD card, but I'm getting the same results.
The Xoom is indeed reading the SD card, confirmed via settings>storage.
I've tried using adb, but it's telling me the image isn't correct, but it's certainly possible I'm missing a step with adb.
Code:
C:\Xoom bootloader unlocker2>adb reboot bootloader
C:\Xoom bootloader unlocker2>fastboot flash R.A.H._TWRPv2.6.3_BigPart_selinux.zip
unknown partition 'R.A.H._TWRPv2.6.3_BigPart_selinux.zip'
error: cannot determine image filename for 'R.A.H._TWRPv2.6.3_BigPart_selinux.zip'
Yes, the zip is in that folder. I thought maybe I'd root first, so I tried that method with the root zip, but I'm getting the same error.
Is there something I can do to repartition this device and get it rommed, or am I doomed to use it stock?
Thank you for your time!
I found some information stating that I need to enable the SD card, but since I'm running up to date SW, and I can see the SD card from settings, I'm assuming that this isn't the case, correct?
I'm still stuck. Anyone around who could give me some advice?
scubab said:
I'm still stuck. Anyone around who could give me some advice?
Click to expand...
Click to collapse
It appears the XOOM does not like SD Cards that were formatted using Windows
(or perhaps Quick Formatted using Windows).
Using a 4GB FlashDrive formatted as Fat32 using Linux (i.e. Linux Mint 17.3 Cinnamon 64 bit boot CD)
resolved the issue.

[Completed] Help Convert TNTpipo.img into and ext sd installable file/zip

Hello, i need a bit of help, ive got my original .img file from TNT.
i had windows when i installed it first time, i have Linux mint 17 now .
i tried with neighbors win 7 machine but i can tget the tablet recoged by any means, i think the usb port is buggered up
nothing works.
any way i can install from external sd card, is there any way to mod the img to install from sd card similar to the Decontaminatv3.1.zip
iv installed tnt software and can mount the system folder have a copy of it converted to ext4(was a real pain)
decontam just gets renamed to install.zip and goes right in, just wish there was a linux based converter that didnt require an enlarged brain to operate
put img file in folder
start app
press button to convert .img to install.zip
copy install.zip into sd card
done and happy!!
any body have any ideas?
IMG is a completely different Packing of Source files. Those typically can not be converted into Zip files as their signature is integrated.
Please post Device details so we can help further.

Eonon/Klyde unit is not starting

Hello,
After a failed update my unit is not starting, is a px5 unit with hal9k installed.
Recovery v8.0.6 , error: E: can't mount /cache/recovery/last_locale, and rebooting in loop
Is possible to recover unit somewhere?
I try to create with SD_Firmware_Tool a card to boot unit from GPS card, but everytime when card is inserted is entering in some test mode unit, like card is not correct.
With same tool when I choose sdboot, card is created, unit booting, but recovery is old v6.
In the end there is a way to rewrite recovery, and after that to install some firmware?, stock was android 8.
I do not want to open unit and solder cables until to end all resources.
Try another MicroSD.
After creating the card, you have to overwrite the sdupdate.img file with the right one.
Ati_gangster said:
Try another MicroSD.
After creating the card, you have to overwrite the sdupdate.img file with the right one.
Click to expand...
Click to collapse
Sure I was overwrite sdupdate.img, I tryed with 4,6,8 Gb card, many times, with recovery for android 9, 8 also, unit is booting in test mode always.
Ok maiYe cards are not ok, I will search for some 2GB cards.
I just try with another 2x2GB and 4 GB card, using Hal9k_Mod_3.x_upgrade_to_Android_8.0 , run with administrator, and replacing sdupdate.img for each card,...I don't think that is something wrong until here,...maybe unit is not compatible with this cards?
Hmmm... I don't know ?*
The easiest way is to use Modinstaller Pro.
Cannot use Modinstaller, is not booting old install.
Picture attached with chineste test.
Picture with error now on device.
Picture with a card made with recovery 6, from where I can do some update, but what images (recovery,firmware) to get?
No, Modinstaller is not the same as Modinstaller Pro.
Here's my video for Modinstaller Pro.
https://youtu.be/X0qsmwnaQA8
The chinese test came from your MicroSD. Eject the card, the chinese test will not appear anymore.
To be clear, cannot install Modinstaller or Modinstaller Pro (nothing with apk ) i know that is different, i cannot boot into Android.
That card is created with SD_Firmware_Tool.exe to boot from, why to remove? the idea was to install new recovery, but my unit is not booting that card, question is why?
On picture 3 I have a card created with option sd boot not firmware update, and unit is booting, but with v6 recovery, from here I can write some other firmware?, recover my unit?
With recovery 6.1.2 you can install a Android 6 Rom.
https://yadi.sk/d/umCvHqCDzHccr/RockChip PX5 Android 6.1/MX/update
Take the newest
Download archiv, extract Update.img, copy on a Fat32 formatted usb drive, choose apply update system image (I'm not sure, maybe package).
From there you can use Modinstaller Pro to update to 8 or 9 with USB.
I recover unit, now I have android 6, I will read if Modinstaller Pro can do upgrade from 6 to 9, and I will update.
Thanks, I was sure that with boot sd card can repair, is curious why I can boot unit only with sdboot checked not with firmware upgrade, card is created ok but enter in test mode always.
Hi, can you tell me the steps you followed to install android 6 along with recovery. I am in a similar situation on a px5 gs device from xtrons.
Thank you

Categories

Resources