If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
so i have modified my boot.img verified it boots from external sd now how do i flash it to the file to the tablet ?
i have tried fastboot to boot into bootloader mode but it does not work.
I believe I can't push it from recovery as it would need to be signed with keys and scripted, and all the tools on google play either you have to pay or require android versions above my tablet.
also the new boot image is smaller do i have to pad and align it or will it work as it is ?
so i have modified my boot.img verified it boots from external sd now how do i flash it to the file to the tablet ?
i have tried fastboot to boot into bootloader mode but it does not work.
I believe I can't push it from recovery as it would need to be signed with keys and scripted, and all the tools on google play either you have to pay or require android versions above my tablet.
also the new boot image is smaller do i have to pad and align it or will it work as it is ?
It would really help if you would advise everyone which device you have... I don't remember which one you have...
Do you have a custom recovery like CWM or TWRP for your device? You can attempt to flash any update package with CWM or TWRP. Doesn't have to be signed all, CWM and TWRP don't even check signatures, unless you turn on signature verification in the settings.
Are you sure your new boot image is good? When you attempt to boot from SD card, if the image on the SD card fails, the device will automatically revert to the internal image. Did you verify that it booted the new image and not the internal image?
The new ramdisk has to be the same size as the old ramdisk. I use CXZ's scripts from slatedroid, which automatically check the size, warn you if it is too big, and pad it if it smaller.
ShaunMT
Freaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
Im 100% sure it booted from the modified one as all my patches showed up when i booted, I used CZX's unpack/repack script and it booted fine from sd card, but it may not from flash as from what you say it will need padding aligning and packing into an update zip to flash.
This is the process I dont know how to do correctly.
my original boot image is 8mb and the repacked one is 3.5mb i dont know if i flash this the system will still boot up.
I do have an alternative recovery you got me to test one of your TWRP images on my tablet the other day,which works perfect.
Im 100% sure it booted from the modified one as all my patches showed up when i booted, I used CZX's unpack/repack script and it booted fine from sd card, but it may not from flash as from what you say it will need padding aligning and packing into an update zip to flash.
This is the process I dont know how to do correctly.
my original boot image is 8mb and the repacked one is 3.5mb i dont know if i flash this the system will still boot up.
I do have an alternative recovery you got me to test one of your TWRP images on my tablet the other day,which works perfect.
Thanks for reminding me which model you are working on and confirming that you are sure your modified boot image works.
The ramdisk is the only part that has to be the correct size and the CZX's script took care of that part.
The image file does not have to be same size and it won't be. The reason it isn't the same size is because when you dumped the stock one, you also got all the blank space at the end of the partition. This won't matter when you flash the new image file.
All you need to do now is create an update.zip to flash your new boot image.
Alternatively, you could probably DD it back also, but I've never actually tried to do it this way, and it's not a very user friendly method if you are planning a public release.
ShaunMT
Freaktab Rom Developer
Subscribe To My Developer Thread For Updates On My Projects: ShaunMT
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment