Related
I've been reading the forums but the information seems fragmented. Is there a single source that describes the reset vector, bootloader start-end address, ram start address, etc.?
I'd like to either replace the bootloader if the current loader sources are not available or use the current loader to bootstrap a non-windows image.
I just need to understand the board bring-up basics.
Any help would be great.
After looking further I found the processor docs here: http://www.marvell.com/products/cellular/application/PXA27x.jsp
Anyone know if HP has a custom asic such that the addresses are not the same as what is listed in the processor doc?
What is the best jtag to use on this processor? I'd like to be able to flash and load to ram directly with the jtag.
unfortunately this is way too advance that I don't think anyone can answer you...
Beside tinker boot loader can really brick your device..I would rather figure out how does wm os image got load up. May be you can check other htc device forum in xda to see if any of them can load android directly without using another loader(haret) although I think right now haret is still the only option
Hi All,
I saw some references to the redbend_ua tool used here.
Can someone explain to me what is this used for and where can I find it in my Fascinate device - I mean is it part of the software I should have already or do I need to install it?
Thanks
Joe
Its used to flash recovery partition in fascinate and its there in Recovery Flashing Threads, dont try if you dont know what it means, its dangerous
But is it pre-insalled in Samsung Fascinate for Verizon?
Can you guide me where is it located on an original device?
Samsung does not supply it to the public. Its one of those "leaked" things.
It is packaged with certain roms where it is used to flash things. Ok, intentionally cryptic. If you are savvy, you could unpack it from the zip file, and read the install scripts that use it to get a basic idea of syntax. If not, probably better left alone.
Use Odin or Heimdall instead - you can get into adequate trouble with those too
I'm trying to debug Meego startup on the Tab, so it would be useful to see the kernel boot messages.
I've read about ways to see the boot messages on other devices, and tried some of these approaches, but I can't seem to find anyone who has boot messages showing on the Galaxy Tab.
Now these might be enabled in one or other of the custom roms, if so could someone point me towards the relevant one and I'll see how it's done.
So far, I've enabled CONFIG_FRAMEBUFFER_CONSOLE and disabled CONFIG_DUMMY_CONSOLE and I've also changed the recovery.rc file to use:
export ANDROID_BOOTLOGO 0
This gives me a text console at boot time rotated to the left (i.e. rotate your Tab to the right and it would be that way up) and rather than the samsung animated logo, I see the text ANDROID somewhere around about the middle of the screen. If anyone knows where these words are coming from, that would be useful (I need to do more grepping of the kernel source, but unfortunately there are lots of *ANDROID* #DEFINEs so it's not a quick thing to do)
Unfortunately it looks like the kernel ignores command line parameters, so that indicates that the bootloader is overriding them (which means I've still got console=ttySAC2). This is probably why I'm not seeing anything (I had added an extra console=tty0 to the build-time specified kernel commands)
So, does anyone have any solutions or thoughts?
If not, the next step is to override the kernel command line stuff which the bootloader passes and add in the console=tty0 line I (think) I need.
Ok so I was right, I needed to patch the kernel to allow both my build-time and the bootloader command line to be combined so that I could add console=tty0 (just patching the bootloader stuff out caused the kernel to hang iirc, so it looks like there's something useful in there)
Mhmm Meego ...Tasty!!!
I wish i could lend a hand as this is something i would love to boot to. Looking forward to the future of that OS as Maemo is awesome (just needs a bigger userbase).
I am on RotoJMEv4 and new to android so any help i can give or testing, let me know.
OK - total noobie here.
Bought my first tablet - Acer A500 off craigslist for $100. Worked like a charm for six months then went to brick status - locked on Acer Screen. BOO! HOO!
I've read and done the factory reset with the paper clip, and the Power Volume+, with no results.
Then I said to myself - "Hey, there's got to be a EASY way to do this. Probably download some software to my PC, plug in via USB, probably some sequence to boot from PC, and I'll be done!"
WRONG!
Apparently, I've got to know my CPUID - is that an acronym for Confused Person Undoubtably and IDiot - cause I got NO CLUE on that one.
And I've got to get an EUU - European United Union?
And I've got to get a Russian DeCrypter?
And.... well, you get the idea.
So, I've decided to exercise my capitalistic privileges!
IF SOMEONE THINKS THEY CAN FIX THIS DANG THING - I'LL PAY YOU!
I figure it'll take me days to figure out what I need to do and download and do it. Or, I can just ship this to someone who wants to make a few bucks and we'll both be happy.
So, if someone wants to help me do some additional diagnostics and make a buck or two in the process - email me at my public site of
rainbow 4 jd @excite. com (obviously no spaces there in the actual email address).
rainbow4 said:
OK - total noobie here.
Bought my first tablet - Acer A500 off craigslist for $100. Worked like a charm for six months then went to brick status - locked on Acer Screen. BOO! HOO!
I've read and done the factory reset with the paper clip, and the Power Volume+, with no results.
Then I said to myself - "Hey, there's got to be a EASY way to do this. Probably download some software to my PC, plug in via USB, probably some sequence to boot from PC, and I'll be done!"
WRONG!
Apparently, I've got to know my CPUID - is that an acronym for Confused Person Undoubtably and IDiot - cause I got NO CLUE on that one.
And I've got to get an EUU - European United Union?
And I've got to get a Russian DeCrypter?
And.... well, you get the idea.
So, I've decided to exercise my capitalistic privileges!
IF SOMEONE THINKS THEY CAN FIX THIS DANG THING - I'LL PAY YOU!
I figure it'll take me days to figure out what I need to do and download and do it. Or, I can just ship this to someone who wants to make a few bucks and we'll both be happy.
So, if someone wants to help me do some additional diagnostics and make a buck or two in the process - email me at my public site of
rainbow 4 jd @excite. com (obviously no spaces there in the actual email address).
Click to expand...
Click to collapse
Eh, personally we like to keep things in the forums, as other people may want to chime in and offer some steps others haven't thought of.
For some info, I'll try to explain a couple of things;
1. UID number. This is a number specifically assigned to your CPU. (CUID) which allows us (with a secure bootloader key, SBK) do a low level NVFlash of bootloaders. The issue, is that the bootloader (the first thing that loads) is secure and prevents us from flashing things. Pretty much locked. Unless you have your SBK. Then we can get into what we call APX mode which allows us to bypass security (in easy english terms). And yes, we have a tool that converts UID to an SBK.
If you do not have your UID number, all is not lost. Rumor has it that after ICS, the UID sometimes is the serial number you'll find on your Ext SD cover. Now some people confirmed this, and some say no. But it's worth a shot to use that number when trying to run an EUU file. If not, you will have to install Ubuntu on your PC and use the Linux method of getting it. More later.
2. Also, an EUU which is basically nothing more than an Acer maintenance rom which you run from your PC, requires this UID number because it uses NVFlash. That's why it's important to have it.
3. A Decrypter (not Russian I can assure you ) is sometimes required to install factory roms and updates, as Acer delivers these encrypted. You shouldn't have to worry about this yet, as most of the things we have posted are already de-crypted. For reference, you will find the tool in the Themes and Apps Forum.
For starters, I would like to know which bootloader version you currently have installed. You will find this in the upper left corner when you start the tablet. Should be a series of numbers and letters. Use a magnifying glass if you can't read it... :laugh:
Followup to a bricked Acer A500 - and if anyone can repair?
Moscow Desire said:
Eh, personally we like to keep things in the forums, as other people may want to chime in and offer some steps others haven't thought of.
For some info, I'll try to explain a couple of things;
1. UID number. This is a number specifically assigned to your CPU. (CUID) which allows us (with a secure bootloader key, SBK) do a low level NVFlash of bootloaders. The issue, is that the bootloader (the first thing that loads) is secure and prevents us from flashing things. Pretty much locked. Unless you have your SBK. Then we can get into what we call APX mode which allows us to bypass security (in easy english terms). And yes, we have a tool that converts UID to an SBK.
If you do not have your UID number, all is not lost. Rumor has it that after ICS, the UID sometimes is the serial number you'll find on your Ext SD cover. Now some people confirmed this, and some say no. But it's worth a shot to use that number when trying to run an EUU file. If not, you will have to install Ubuntu on your PC and use the Linux method of getting it. More later.
2. Also, an EUU which is basically nothing more than an Acer maintenance rom which you run from your PC, requires this UID number because it uses NVFlash. That's why it's important to have it.
3. A Decrypter (not Russian I can assure you ) is sometimes required to install factory roms and updates, as Acer delivers these encrypted. You shouldn't have to worry about this yet, as most of the things we have posted are already de-crypted. For reference, you will find the tool in the Themes and Apps Forum.
For starters, I would like to know which bootloader version you currently have installed. You will find this in the upper left corner when you start the tablet. Should be a series of numbers and letters. Use a magnifying glass if you can't read it... :laugh:
Click to expand...
Click to collapse
First - thanks for the reply - it was VERY NICE OF YOU.
And just so you know - I spent $100 on ebay and bought a replacement! So, now I can totally devote myself to learning what (if anything) can be done to unbrick my old one.
1. There is no external markings on this tablet AT ALL. No stickers, no nothing.
2. When I open up the SD card slot - I do get a SNID of 13001360415
3. When I do Power Volume+ slide - I get "erasing user data" and immediately below it "erasing cache"
4. It then goes to ACER logo screen and stops.
Logic tells me that A) the motherboard (or whatever passes for a motherboard on this tablet) might be bad. It's trying to go through its boot sequence and there's a physical fault or B) the motherboard could be good, but the inherent "boot disk" software is now corrupted - its locking up - and never getting to the OS software.
Or I could be wrong.
In either case - I feel like I have insufficient knowledge to properly diagnose AND determine if this is repairable at all. And that being said, IF someone has experienced this before, gone through the trial and error, and can say.... "Hey, I've fixed twenty of these, no problems" - I will happily defer to their experience.
Anyway - based on symptoms - if you think I have a fighting chance of salvaging this - I am game!
rainbow4 said:
First - thanks for the reply - it was VERY NICE OF YOU.
And just so you know - I spent $100 on ebay and bought a replacement! So, now I can totally devote myself to learning what (if anything) can be done to unbrick my old one.
Click to expand...
Click to collapse
Thanks for the comments!
$100... wow, I hate to say what I paid for my 501 new here in Moscow But now, I use my a701.
Typically, the a50x tablets have a reputation of being "bullet-proof", although lately, seems a rash of bricked tabs. Perhaps just due to old age.
You're correct about the motherboard, more specifically the emmc memory on it, is the likely culprit due to what you've stated. Or.... it could just be a corrupted file. Who knows until we investigate a little.
For starters, lets do some simple stuff first. Following is a link to some ICS update files. There are 4 of them. I have already de-crypted them. Now, download each to a individual folder on your PC. You will see they are numbered. This is to keep them separate so you know which is which.
Now, choose one of them (really doesn't matter which one, but maybe start with the highest number first). Rename it to "update.zip" (make sure it is not "update.zip.zip" as this is a common mistake. If your PC doesn't show the .zip extension, just rename it to update)
Now, copy it to your external SD card. Power on your tablet holding Vol+ (or minus) and PWR. Continue pressing until you see text about installing the update in the upper left corner, then release. We'll see if it installs all the way. If after 15 minutes it doesn't (it may stop at about 25%), then PWR off, and rename and copy the next update file, and try that one. Might have to try all 4, so make sure your tab is fully charged.
If none of these install all the way, then life becomes a little more difficult......
Links to my server (large files 300+mb)
http://d-h.st/Zf8
http://d-h.st/2cm
http://d-h.st/gw8
http://d-h.st/KXl
the JTiind
Moscow Desire said:
If you do not have your UID number, all is not lost. Rumor has it that after ICS, the UID sometimes is the serial number you'll find on your Ext SD cover. Now some people confirmed this, and some say no. But it's worth a shot to use that number when trying to run an EUU file. If not, you will have to install Ubuntu on your PC and use the Linux method of getting it. More later.
Click to expand...
Click to collapse
Can I get in on this conversation? For three days, I've been trying to revive my brother's A500. It seems like every option I come across requires the sbk, or the cpuid. I don't have the cpuid and can't figure out how to retrieve it since the tablet appears to be stuck in apx mode. The power button is illuminated and nothing comes on the screen. Windows device manager displays Acer USB Boot-recovery driver.
I've tried using AfterOTA v1.09 to flash recovery and bootloader files, but not sure if I've chosen the correct files to flash. I found a zip file here on the forums that contained ics_boot_unlk_v6_500.bin and recovery_thor17_403.img that I've attempted to use. AfterOTA just hangs on [2/3] flashing recovery...
Not knowing this all important UID, where do I go from here? Can I hear more about this Ubuntu method? Will that help in this case?
Thank you!
holtsclaw said:
Can I get in on this conversation? For three days, I've been trying to revive my brother's A500. It seems like every option I come across requires the sbk, or the cpuid. I don't have the cpuid and can't figure out how to retrieve it since the tablet appears to be stuck in apx mode. The power button is illuminated and nothing comes on the screen. Windows device manager displays Acer USB Boot-recovery driver.
I've tried using AfterOTA v1.09 to flash recovery and bootloader files, but not sure if I've chosen the correct files to flash. I found a zip file here on the forums that contained ics_boot_unlk_v6_500.bin and recovery_thor17_403.img that I've attempted to use. AfterOTA just hangs on [2/3] flashing recovery...
Not knowing this all important UID, where do I go from here? Can I hear more about this Ubuntu method? Will that help in this case?
Thank you!
Click to expand...
Click to collapse
Yep.... UID is all important. Uses what we call "NVFlash" to install bootloader and recoveries when all else fails. You UID is specific to each tab. No 2 are alike (as far as we know). With it, we can convert it to an SBK (Secure Bootloader Key). The stuff acer don't really wanna give us. This allows the use of NVFlash via APX mode (which you have already discovered.
Here is a link to getting your UID via various methods. The ones you want to pay attention to, are the links using Ubuntu (halfway thru the guide) Note that you may have to look at links within links to get all the methods people have tried, as some change a bit of the scripts here and there, but you should be able to figure it out.
http://forum.xda-developers.com/showthread.php?p=25429111#post25429111
http://forum.xda-developers.com/showthread.php?t=1751978
also of use, is a tool called "babsector". This tries to repair/workaround physical sectors on some tabs. But you shouldn't need that yet. So read that guide and check the links in it for using Ubuntu.Never had to use it myself, so not a lot of further advice on the technical aspect.
MD
rainbow4 said:
First - thanks for the reply - it was VERY NICE OF YOU.
And just so you know - I spent $100 on ebay and bought a replacement! So, now I can totally devote myself to learning what (if anything) can be done to unbrick my old one.
1. There is no external markings on this tablet AT ALL. No stickers, no nothing.
2. When I open up the SD card slot - I do get a SNID of 13001360415
3. When I do Power Volume+ slide - I get "erasing user data" and immediately below it "erasing cache"
4. It then goes to ACER logo screen and stops.
Logic tells me that A) the motherboard (or whatever passes for a motherboard on this tablet) might be bad. It's trying to go through its boot sequence and there's a physical fault or B) the motherboard could be good, but the inherent "boot disk" software is now corrupted - its locking up - and never getting to the OS software.
Or I could be wrong.
In either case - I feel like I have insufficient knowledge to properly diagnose AND determine if this is repairable at all. And that being said, IF someone has experienced this before, gone through the trial and error, and can say.... "Hey, I've fixed twenty of these, no problems" - I will happily defer to their experience.
Anyway - based on symptoms - if you think I have a fighting chance of salvaging this - I am game!
Click to expand...
Click to collapse
OH MY GOSH - IT WORKED! YOU ARE THE HERO OF ALL MANKIND!!
It took me a bit of minor tweeking - in that I had to rename the file BEFORE copying it to the SD Card - because I was getting some copying errors.
The version that took was #3 - what I mean by that is.... it was the third one in the Windows Explorer naming sequence. I don't know what the name of it is now, because I obviously updated the name to be "update.zip"
So..... it "took" and started giving me a working Android Robot - whereas the others had given me a Dead Android with the Information icon.
I waited through the process - it loaded the operating system and prompted me to select language, country, wifi, log in with google, AND I WAS UP AND RUNNING!
I am going to post these results as a specific FIX and encourage everyone to try it who has a bricked tablet!
:victory::victory::victory::laugh::laugh::victory::victory:
I've been trying different ways of entering bios and/or disabling secure boot, but can't figure out exactly if it has a BIOS menu at all.
Connected a keyboard to it and tries different keys during boot but I can't find the right combination.
Does anyone know how to enter the BIOS menu, or how do we go about disabling secure boot?
Thank you,
cocacola2015 said:
I've been trying different ways of entering bios and/or disabling secure boot, but can't figure out exactly if it has a BIOS menu at all.
Connected a keyboard to it and tries different keys during boot but I can't find the right combination.
Does anyone know how to enter the BIOS menu, or how do we go about disabling secure boot?
Thank you,
Click to expand...
Click to collapse
Keyboard is disabled(no driver installed, thanks Lenovo). Bios is usless.
From my LG-G4, Rooted running Stock 5.1
I was afraid that this would be the case. There seems to be no way to circumvent it either to boot a linux kernel.
http ://i.imgur.com/Tfd9U3i.jpg
Am I right to assume that the only thing we have that are signed are the stock Lenovo Yoga kernels, making them the only thing we can boot?
Also, does anyone know if these are the Microsoft keys, or some Lenovo keys, that they use for secure-boot. http ://i.imgur.com/dm1i16B.jpg
I'm wondering, because linux grub distributions do have a signed grub "shim" with the Microsoft key, maybe making us able to execute that at boot.
Ok, I've found out that it does have the microsoft keys, among other keys, which means it should in theory be possible, in theory. Will be looking into this more.
cocacola2015 said:
I was afraid that this would be the case. There seems to be no way to circumvent it either to boot a linux kernel.
http ://i.imgur.com/Tfd9U3i.jpg
Am I right to assume that the only thing we have that are signed are the stock Lenovo Yoga kernels, making them the only thing we can boot?
Also, does anyone know if these are the Microsoft keys, or some Lenovo keys, that they use for secure-boot. http ://i.imgur.com/dm1i16B.jpg
I'm wondering, because linux grub distributions do have a signed grub "shim" with the Microsoft key, maybe making us able to execute that at boot.
Click to expand...
Click to collapse
actually the problem is not in the unlocking but in making a working kernel for this tablet... because you see... Lenovo released the "source code" so they won't risk being sued for breaking the opensource (kernel) licenses, yet what they released is crap, broken drivers (i had to download all the source packages from all the YT2 models because they didn't even un-tarred crap and each one was 400MB and move things around and still it wont do the job as it should) they intentionally crippled the mk files, removed others, stupid and not working configs and so on... driver files missing... you get the picture and this was intentionally (not to say that this is only the kernel, not a chance to see in their source whats even more interesting: the code for the libraries, binaries etc) i am not saying it cannot be done but the amount of work it requires... hmm does it justify? in the end there are few people on this tablets and even lesser with the knowledge/available time to try and do something that will look like a custom rom
i thought at some point in making a rom but the hassle and time required don't justify it (what would i have? except that it's trendy to have a costom rom) so i for one will stay on my Android+Linux combo but who want to go further has my help
a better approach would be to build a custom rom based on the stock kernel/initramfs, this way you will start having the drivers in order and do your custom system (while no longer used in these days still it was cyanogenmod's way of making custom roms in the past) yet this one too is difficult and requires lots of work (and again for what? what's the gain?) but this one is much more acceptable than the rebuilding all previous one
the secure boot is passed (pm and you will understand) but to what end? see... the problem isn't so much in opening the door but in what you will do once inside (and i am inside that room for some time now yet no better bed than my Linux+Android combo) but feel free to continue on the road..
this is not to discourage you but to warn you about issues others (me) had on the road you're stepping now.
Thank you for the reply.
You're right, going the route of compiling whatever Lenovo has put out, is not the most streight forward option, but I disagree on not putting Linux on this tablet. This is the biggest and highest resolution tablet I've seen, and having Android on it instead of a full-blown Linux distribution, is a waste. Things like X forwarding to use it as a thin clinet, does not work well, I've tried all options. The only viable thing for using this as a thin client, is to run Linux on it, with its native input methods on the display server.
The gain is not having to pay twice as much for a Microsoft Surface tablet to install linux on, with it even being lower resolution and smaller screen.
well in this area @workdowg can give you more details as he is the one who loves X on this tab me i'm more like an Y type (aka windows gui/y) (i am happy with my openvpn and sshd) but again consider the unlocking part done and start collecting stuff for making your kernel
ionioni said:
well in this area @workdowg can give you more details as he is the one who loves X on this tab me i'm more like an Y type (aka windows gui/y) (i am happy with my openvpn and sshd) but again consider the unlocking part done and start collecting stuff for making your kernel
Click to expand...
Click to collapse
Very exciting. Need to boot a compatible kernel with the provided drivers, as you also suggested, and eventually get a full fedora distribution up and running.
Since this is an x86 tablet, no cross-compilation will be needed so it will allow for more flexibility with getting tools into initramfs to make it bootstrap systemd, and eventually run a full distribution from the system partition.
Would be very interested if workdowg can also provide some input on the issue.
cocacola2015 said:
Thank you for the reply.
You're right, going the route of compiling whatever Lenovo has put out, is not the most streight forward option, but I disagree on not putting Linux on this tablet. This is the biggest and highest resolution tablet I've seen, and having Android on it instead of a full-blown Linux distribution, is a waste. Things like X forwarding to use it as a thin clinet, does not work well, I've tried all options. The only viable thing for using this as a thin client, is to run Linux on it, with its native input methods on the display server.
The gain is not having to pay twice as much for a Microsoft Surface tablet to install linux on, with it even being lower resolution and smaller screen.
Click to expand...
Click to collapse
as short as it was yet i still read it on fast-forward
i wasn't saying to not put linux on it (i have linux on mine too) i'm saying that putting ONLY linux was not worth (for my needs) the work required for (maybe i was too subtle ) i mean even if i had a full linux distro solution for my 1380 tablet i would still go for my current Android on Linux set-up that i have. yet, each has his own needs
oh boy it's getting late
cocacola2015 said:
Very exciting. Need to boot a compatible kernel with the provided drivers, as you also suggested, and eventually get a full fedora distribution up and running.
Since this is an x86 tablet, no cross-compilation will be needed so it will allow for more flexibility with getting tools into initramfs to make it bootstrap systemd, and eventually run a full distribution from the system partition.
Would be very interested if workdowg can also provide some input on the issue.
Click to expand...
Click to collapse
ionioni said:
as short as it was yet i still read it on fast-forward
i wasn't saying to not put linux on it (i have linux on mine too) i'm saying that putting ONLY linux was not worth (for my needs) the (huge)work required for (maybe i was too subtle ) i mean even if i had a full linux distro solution for my 1380 tablet i would still go for my current Android on Linux set-up that i have. yet, each has his own needs
oh boy it's getting late
Click to expand...
Click to collapse
I purchased my tablet with intention of dual booting Linux and Android and eventually going with Linux alone (being x86 I thought this would be a piece of cake). Now after getting Linux running (with Android in a chroot).... My vision has changed. TTY Linux is great, I have so much I can get done when not home. Using Xsdl, X runs well enough ( I had wine installed to run a Windows app) and I don't think it would be all that much better on the framebuffer.
The problem ends up being.... (and it has been stated before).... Touch still sucks on a small screen! Android just excels at it. So for me, if someone were to develop kexecboot or such I would definitely play with it (proof of concept) but I'm positive I'd go right back to my current setup.... ssh and the Xsdl for X as needed are perfect.
ionioni said:
as short as it was yet i still read it on fast-forward
i wasn't saying to not put linux on it (i have linux on mine too) i'm saying that putting ONLY linux was not worth (for my needs) the work required for (maybe i was too subtle ) i mean even if i had a full linux distro solution for my 1380 tablet i would still go for my current Android on Linux set-up that i have. yet, each has his own needs
oh boy it's getting late
Click to expand...
Click to collapse
Oh I see. The highest priority for me at least, is to get any linux distribution to boot.
workdowg said:
I purchased my tablet with intention of dual booting Linux and Android and eventually going with Linux alone (being x86 I thought this would be a piece of cake). Now after getting Linux running (with Android in a chroot).... My vision has changed. TTY Linux is great, I have so much I can get done when not home. Using Xsdl, X runs well enough ( I had wine installed to run a Windows app) and I don't think it would be all that much better on the framebuffer.
The problem ends up being.... (and it has been stated before).... Touch still sucks on a small screen! Android just excels at it. So for me, if someone were to develop kexecboot or such I would definitely play with it (proof of concept) but I'm positive I'd go right back to my current setup.... ssh and the Xsdl for X as needed are perfect.
Click to expand...
Click to collapse
Touch will probably work better on the larger screens, I've got the 13inch one.
---------------
So I got the latest kernel from kernel.org to boot but I'm not sure why it doesn't find the initramfs, I assume it has to do with it not existing on a partition, but being built into the boot.img.
http://i.imgur.com/IxdwXre.jpg
I'm trying to make it boot a live OS directly from USB, without initramfs. It's a bit difficult because I don't know how the block devices are named, maybe if anyone knows the kernel command line for booting the live linux using the custom kernel, using sdhci or normal usb.
Basically, instead of the normal LiveUSB sequence:
grub from USB -> kernel from USB -> root filesystem from USB
I want
custom kernel with android boot.img -> root file system from USB/SD card
cocacola2015 said:
I want
custom kernel with android boot.img -> root file system from USB/SD card
Click to expand...
Click to collapse
there's something wrong with your boot.img, and from the image there not enogh info
link the boot.img you make
ionioni said:
there's something wrong with your boot.img, and from the image there not enogh info
link the boot.img you make
Click to expand...
Click to collapse
What's wrong is you need the root= kernel argument, and I'm not sure how the block devices are named (For example, it doesn't have /dev/block/ like on the android kernels). The initramfs isn't modified yet, it's a custom compiled kernel with the source at kernel.org.
Created a boot.img that one can add root= kernel arguments to, to test booting from other media:
https://anonfiles.com/file/177753c2344c3c64c200cdb3803236bd
It has these kernel command line arguments built into the kernel:
Code:
oops=panic panic=360 vmalloc=172M debug_locks=0 bootboost=1 vga=ask i915.modeset=0 drm.vblankoffdelay=1 selinux=0 nomodeset ro debug noinitrd
Another one with UHCI (USB2.0) driver, instead of xHCI (USB3.0), because it might not reach init sometimes otherwise when plugged in, for some reason.
https://anonfiles.com/file/d41f495d118ab1e5ccef961baeb1bcce
No command line arguments built into the kernel, all in boot.img, boot_delay= disabled
Code:
oops=panic panic=360 vmalloc=172M debug_locks=0 bootboost=1 vga=ask i915.modeset=0 drm.vblankoffdelay=1 selinux=0 nomodeset ro debug noinitrd root=/dev/mmcblk0