yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] browsingman:
When speaking of a modified boot.img, the only reason i could see that you may have used a different kernel than in the original boot.img

Is it really the boot.img causing the trouble? Or maybe you also changed the modem firmware within the system.img?

Kind regards,

BrowsingMan
[Miscellaneous Android Development] ss429842:
No i have only changed in the default.prop

ro.secure=0 toro.secure:confused:=1
[Miscellaneous Android Development] bgcngm:
I have just updated post #2 with short information about .rgb565 raw files editing. :D
[Miscellaneous Android Development] rayner123:
Does the script support logo.img aswell?

Sorry if it is already answered..
[Miscellaneous Android Development] bgcngm:
Yes, it does supports MediaTek logo.bin files. :p
[Miscellaneous Android Development] rayner123:
logo.IMG.. i tried in ubuntu 12.10 and its not supported i have perl installed. The mtkboot (dont remember the name of the file) file is in /bin but it wont extract.

---------- Post added at 06:51 PM ---------- Previous post was at 06:49 PM ----------

Is this helpful to anyone?https://www.dropbox.com/s/72qem1jy3zp8cac/MTK6573_ubuntu10_.10_0801±È½Ï¹¤¾ßÔ¶³Ì×ÀÃæÖÐÎÄÂÒÂëÎÊÌâ.doc
[Miscellaneous Android Development] bgcngm:
Send me the file (attach it here or upload to some place) so that I can give it a try.
[Miscellaneous Android Development] rayner123:
The file is from the hdc a9100.

Here:http://www.mediafire.com/?qqu6n9t5m6zb5xz
[Miscellaneous Android Development] bgcngm:
This is the error output:

MTK-Tools by Bruno Martins
MT65xx unpack script (last update: 29-11-2012)

Valid logo signature found...
Error: the logo image does not appear to be valid. at /home/bgcngm/mtk-tools/unpack-MT65xx.pl line 105.

Seems that the script is rejecting the file due to trailing zeros at the EOF. I will look into that later.
[Miscellaneous Android Development] rayner123:
Thanks!
[Miscellaneous Android Development] bgcngm:
Okay, it's done! I have re-written logo image files verification and your file can now be unpacked. Download the new scripts from github.

Just an explanation: as I said your logo.img contained trailing zeros at the end of file. That was probably because it was created using a backup tool. The script will now throw a warning in that case, but still unpack it successfully.
[Miscellaneous Android Development] bgcngm:
Did you got it working with the new scripts or not? At least you could have left some comments here... :rolleyes:
[Miscellaneous Android Development] rayner123:
Confirmed WORKING!!

Sorry i forgot to check this yesterday thread. checked it the whole day the day before..!

Thanks your work is highly appricaited!!

EDIT: I can seem to edit the files i have followed ur second post! my lcd dimension is 480*800 , HDC A9100
[Miscellaneous Android Development] bgcngm:
Yes, your logo file contains three rgb565 images, all with a resolution of 480x800.
[Miscellaneous Android Development] bgcngm:
I have just added a new feature to the unpack script... it now calculates logo images resolution and shows that information when raw images are being extracted.
[Miscellaneous Android Development] varun.chitre15:
Nice! :D

I have a possible suggestion btw :D

A possibility to extract kernel or ramdisk separately.

e.g: ./unpack.pl --kernel boot.img

And another would be to get info about the target img files

E.g: To show the offset address, cmdline of the kernel? I need it many times :D

I am in process to get these scripts featured on XDA News Portal which will spread awakening and maybe set a pace for MediaTek Android Development :D
[Miscellaneous Android Development] bgcngm:
Something like this?

Extract kernel only (if --kernel is used):

./unpack.pl --kernel boot.img

Extract ramdisk only (if --ramdisk is used):

./unpack.pl --ramdisk boot.img

If no switch is used, then extract both kernel and ramdisk. Is that it? That is easy to implement.

About showing more verbose output, I can do that as well. All that information is being gathered while the script is running, so it's just a matter of printing it into the screen output.
[Miscellaneous Android Development] varun.chitre15:
Yeah exactly :D
[Miscellaneous Android Development] bgcngm:
That should be easy. I just need to find some time. ;)

Right now I'm still working on a way to deal with logo images that contain uncompressed raw images. Currently, the script only supports the extraction of zlib compressed rgb565 files. There are not many cases where raw images are packed without compression into the logo file, but I want the script to work for all cases. :laugh:
[Miscellaneous Android Development] rayner123:
Sorry typo in my other post

when i open the file in paint.NET and change the resoulition from the default paint.NET 320*480 to 480*800 i get error paramater invaild and if i just press "OK" (320*480) paint.NET i get a malformed image.

Hope theres a solution:fingers-crossed:

EDIT: I CAN'T seem to edit the files i have followed ur second post! my lcd dimension is 480*800 , HDC A9100
[Miscellaneous Android Development] bgcngm:
I have no problem opening any of the three files that are inside your logo file. Every file opens just fine with paint.NET and the resolution of 480x800 is correct.

Can you please post here the output of the unpack script?
[Miscellaneous Android Development] rayner123:
I downloaded the latest from your github and extracted in linux and edited in windows!

IT WORKS!!

Thanks for your help!!
[Miscellaneous Android Development] bgcngm:
Hmmm... based on your reply I get the impression it only works when extracted under Linux. I will have to confirm that.
[Miscellaneous Android Development] rayner123:
It could just be my setup.. or some other factor

my specs for android modding: Windows

cygwin installed

strawberry-perl-5.16.2.1-64bit i installed this because when i tried to extract (windows) "the cmd unpack-MT65xx.pl was not recognized"

The thing is after i extract in linux and edit in windows, repack in linux , unpack in windows I can then edit the .rgb565 files if i directly unpack in windows and edit it says error : paramater is invalid or similar to that....

also after i repack in linux the logo.img shrinks in volume considerably... bit suspicious about flashing the NEW logo.img...
[Miscellaneous Android Development] bgcngm:
That is very strange and there must something really wrong with your setup... I have just tried to unpack under cygwin and opening the extracted rgb565 files with paint.NET with no problems at all.

How did you installed that perl package? You could have installed it using cygwin installer... :rolleyes:

EDIT: About the new size of your logo file, don't worry with that. As you may remember, the problem with your logo file is that it was created by a backup tool, so it contains those trailing zeros at the end. When the logo is repacked, the new file will contain only the needed information. You can safely flash it into your phone. Even if it didn't work, it would not cause any damage because you would be flashing just logo partition.
[Miscellaneous Android Development] rayner123:
I put my logo.img in the tools folder of /kitchen/tools/MT65xx/ so that the unpack/reapck.pl command could be recognised....and it didnt so i installed strawberry perl. My cygwin installation has perl 5.10 installed by default...i dont know whats wrong....

EDIT: I have just compared the my NEW logo.img to an official rom update which contains the logo.img and you are right about my logo.img from the backup tool which has the trailing zeros.. the size difference between my new 135kb and official186kb which is reasonable size...no more suspicion

EDIT: just flashed it works!! Thanks
[Miscellaneous Android Development] bgcngm:
Just pushed a new commit to github. Added colored screen output. Next it will be the support for logo files containing uncompressed rgb565 files.
[Miscellaneous Android Development] ss429842:
can you help me to create swap support for my phone kernel....
[Miscellaneous Android Development] bgcngm:
Okay, new update! :victory: Support for logo images containing uncompressed raw files has just been included. The first post will be updated with new usage instructions.
[Miscellaneous Android Development] nemero16:
hi, I have a problem with my logo.bin. It has 38 images. I decompile it and all ok...but when i recompile it the order of images changes...why?? I attach my logo.bin...
[Miscellaneous Android Development] bgcngm:
Does that happens with the latest version of the scripts? I will check that when I get home.
[Miscellaneous Android Development] nemero16:
yes with last version...:( maybe the problem is that are 38 images?

---------- Post added at 04:03 PM ---------- Previous post was at 03:56 PM ----------

oh sorry...i I have run now on Cygwin terminal and the order is ok!!! before i used your script on windows cmd...:laugh: but i have another problem now with recovery repack...it shows this:

$ ./repack-mt65xx.pl -recovery ./recovery15orig.img-kernel.img recovery15orig.img-ramdisk ./test.img
MTK-Tools by Bruno Martins
MT65xx repack script (last update: 06-01-2013)

Repacking recovery image...
Ramdisk size: FIND: formato del parametro non corretto //traslate : format of the parameter is incorrect
1 block
gzip: root/MTK/ramdisk-repack.cpio.gz: No such file or directory
Error: could not open ramdisk file 'ramdisk-repack.cpio.gz'

why this error?

maybe the problem is here? "find . | cpio -o -H newc" Thanks!
[Miscellaneous Android Development] bgcngm:
That's a problem with your setup. Here seems to be the answer to your problem.
[Miscellaneous Android Development] nemero16:
I thank you for all the suggestions that you're giving me, I modified the environment variables but now this happens:

Repacking recovery image...
Ramdisk size: gzip: root/MTK/ramdisk-repack.cpio.gz: No such file or directory
Error: could not open ramdisk file 'ramdisk-repack.cpio.gz'

may still "find" be the problem?
[Miscellaneous Android Development] bgcngm:
Did you managed to solve the problem on your setup?
[Miscellaneous Android Development] bgcngm:
New update: kernel or ramdisk extraction only is now supported when unpacking boot or recovery images. Script usage has been updated on the first post.

To unpack kernel only from a boot image:

./unpack-MT65xx.pl boot.img -kernel_only

To unpack ramdisk only from a boot image:

./unpack-MT65xx.pl boot.img -ramdisk_only

If no switch is used, kernel and ramdisk will be extracted, as before.
[Miscellaneous Android Development] varun.chitre15:
^^will test and let you know :) :)

Do you have plans to compile it as binary and submit to AOSP & CM.

Btw I think we shoud start working on CM port to Mediatek dual sim devices. That will need a lot of work

We will talk about this via pm.

For the scripts, I will try compiling them using GCC. And may be cross compile them for ARM to make them run on phones?
[Miscellaneous Android Development] khankll:
@OP

very nice script ..

i have few questions .. i followed this tutorial .. and got error like the one shown in the comments section there . then i read all each and every post on this site and ultimatlye fixed the ubuntu issue .. and finaly made the cwm recovery in ubuntu ( i havent yet tried it the recovery ) .. but i have a question :

:confused: the size of recovery obtained by using your repacking tool is differnt form the original stock one ? original is 6.1 MB and this is 5.4 MB ? would that matter ?

i then downgraded the perl version in cygwin and also solved that issue ..

:confused: another question though lame one,., how to download the scripts /files ?

when i go to that site which u linke in first post there are the files but clicking it doesnt downloads .. it just opens the script there .. how do i download them ? currently i donwloaded them from the blog i mentioend above ..

:confused: also that blog mentions to flash the recovery so obtained using mobileuncle tool .. would it be possible to flash using spf ?

would it be possible to have a single 7zip file containg all the things above ?

thanks
[Miscellaneous Android Development] bgcngm:
That's not a problem. If the size of the original recovery image was 6 MB it means it was created by a backup tool. When recovery is repacked the new file will not contain any trailing zeros at the end of the file and that's the reason why the file is smaller.

At github you can find a button to download the entire repository as a .zip file. ;)

You should note that SP Flash Tools is the official tool to flash images to MediaTek based devices. MobileUncle tools is just a simple alternative to flash recovery, nothing more. That means you can flash recovery.img (loading the correct scatter file) using SP Flash Tool.
[Miscellaneous Android Development] varun.chitre15:
Alright works perfect now! :)

btw I think you should remove the ramdisk gzip created while unpacking as there is no use of it, is there any?
[Miscellaneous Android Development] bgcngm:
Already worked perfect before... now it works even better. :silly:

Hmmm... you're right. It is not needed, so better remove it after ramdisk is fully extracted.
[Miscellaneous Android Development] bgcngm:
Alright, ramdisk.cpio.gz is now deleted after successful extraction. Repo was just updated. ;)
[Miscellaneous Android Development] Chrizzly92:
@bgcngm

your newly updated unpack script isn't working anymore!

syntax error at ./repack-MT65xx.pl line 105, near "s/-unpacked$//r"

Execution of ./repack-MT65xx.pl aborted due to compilation errors.

vm@ubuntu:~/Android-Kitchen-0.218/MediaTek Tools$ ./repack-MT65xx.pl

Bareword found where operator expected at ./repack-MT65xx.pl line 105, near "s/-unpacked$//r"
[Miscellaneous Android Development] bgcngm:
Working here... I have to double check. It can be related to Perl version. Which version do you have installed?

Run this command:

perl -version
[Miscellaneous Android Development] Chrizzly92:
"This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi"

Running Ubuntu x64 10.04

your build before the buggy one works flawlessly..
[Miscellaneous Android Development] bgcngm:
I know it worked flawlessly before, but at some point it's very hard to add new features while maintaining support for every Perl version out there... The new update is not buggy, it simply requires Perl v5.14 or above. Can you please update your Perl package and try again?
[Miscellaneous Android Development] Chrizzly92:
nah i don't wanted to say its buggy, it wasn't working for me:p i will update perl asap, but now im going to sleep. :D
[Miscellaneous Android Development] bgcngm:
I understand. ;) Try when you have time and then please report back if everything went smoothly.
[Miscellaneous Android Development] bgcngm:
Okay, I have just updated the scripts with the

minimum requirements of Perl v5.14

, which is something I should have done in the first place when I added the new changes. :p

If you don't have at least the required version, the script will abort with a similar error message as the following:

Perl v5.14.0 required--this is only v5.10.1, stopped at ./unpack-MT65xx.pl line 21.
BEGIN failed--compilation aborted at ./unpack-MT65xx.pl line 21.
[Miscellaneous Android Development] bgcngm:
And one more update: the unpack script now parses an external .txt file in order to read the most known image resolutions. That enables the user to freely add newer resolutions in the future. ;)

The next update will be major because it will include support for the direct conversion of rgb565 <-> bmp files. :victory: Of course that saving into bitmap will only work when the script is able to detect image resolution (taking rgb565 image file size and known resolutions). If that's not the case, the file will be saved as raw rgb565.
[Miscellaneous Android Development] Chrizzly92:
your script for recompiling *.rgb565 files did not work for me. recompiling is fine, but the new logo.img shows just a black screen. used another tool and that worked out pretty good.

is there any chance to edit the loading animation?

My logo.img contains only 3 images, prebootlogo, battery low and battery loading.

in loading state, there are 4 bars indicating the battery charge.

is it possible to edit them, maybe showing it in percentage?
[Miscellaneous Android Development] bgcngm:
Please upload your logo.bin so that I can check what could be wrong. I have tested several and very different logo images (ones containing 3 images, others containing 4, others containing 38 images) and all are working perfectly.
[Miscellaneous Android Development] Chrizzly92:
there you go!
[Miscellaneous Android Development] bgcngm:
That logo file is broken. Are you sure it is the stock logo image?
[Miscellaneous Android Development] Chrizzly92:
no, thats the modified one which does not work, compiled with your skript.

here is the stock one.^^
[Miscellaneous Android Development] bgcngm:
No problem here, at all! I've unpacked, repacked and unpacked it again and raw images still match. Flash the attached repacked logo and tell me if it works.
[Miscellaneous Android Development] Chrizzly92:
works! mybe something with my edited images went wrong..

so.. is there a way to edit the charging screen?
[Miscellaneous Android Development] bgcngm:
Yes, you must have done something wrong when editing the .rgb565 files. Unfortunately, the animations that you refer are not part of logo.bin, so can't be changed.
[Miscellaneous Android Development] bgcngm:
I have finally pushed the new commit and the scripts now support conversion of rgb565 <=> png images. The conversion will only be done if ImageMagick is installed, otherwise unpack script will extract the images as rgb565.
[Miscellaneous Android Development] bgcngm:
Installing ImageMagick package

Here are the instructions on how to install ImageMagick:

Under cygwin:

Run cygwin installer and search for imagemagick, choose the package to install and continue:

​

Under Ubuntu:

sudo apt-get install imagemagick
[Samsung Epic 4G Touch] DevalB:
Can anyone else verify if they can access the debug menu using ##debug# and entering their MSL? I'm trying to do so and keep getting an "invalid code" message.
[Samsung Epic 4G Touch] Beejis:
Works for me, did you get a new device recently?

It burns when I Tapatalk....
[Samsung Epic 4G Touch] phatmanxxl:
You sure you got the right one?

Terminal emulator:

$ getprop ril.MSL
[Samsung Epic 4G Touch] veritasaequita:
if your on ics then debug isn't asking for msl, its asking for code that i still haven't figured out.
[Samsung Epic 4G Touch] DevalB:
Exactly!

Yes I'm on ICS, and the MSL won't work,

Thanks man, I thought I was going crazy.
[Samsung Epic 4G Touch] tech7:
Yeah on ics it don't work at all
[Samsung Epic 4G Touch] veritasaequita:
what i was really trying to say was if you look at the wording where it says type in your code, on GB it said "enter msl". on ics it says "enter code".
[Samsung Epic 4G Touch] kobridge:
This thread is exactly same as mine in http://xdaforums.com/showthread.php?p=23958969

No one has the answer.
[Galaxy S II Themes and Apps] New_World_Order:
Hello guys,

I was just on twitter when I saw someone say something about digging out their old GameBoy's and playing Pokemon.

I was wondering if there was a way of getting Pokemon on my phone? I fancy reliving some of my childhood memories! (Kill me for being a big kid!)

Thanks in advance.
[Galaxy S II Themes and Apps] DaKiii:
it is possible :)

hello mate,

yes it is possible, i played it on my sgsII. pokemon firered and smaragd hehe :).

look at this site, it should explain everything...the most important thing is to get the bios for the emulator :): http://blog.bandung-flasher.com/2011/gameboid-2-4-3/
[Galaxy S II Themes and Apps] D4rKn3sSyS:
This is official link from the creator of the emulator

http://slideme.org/application/gameboid

Before it was paid, but now is free, so be fast :)
[Galaxy S II Themes and Apps] New_World_Order:
Cheers guys!

I downloaded the Gameboid application but it's telling me I need Roms? Any ideas? (Sorry for the questions!)
[Galaxy S II Themes and Apps] GANJDROID:
Have a look on Google. There's plenty of sites with a whole list of roms. :)

Sent from my GT-I9100
[Galaxy S II Themes and Apps] amozonesk:
of course you need roms, the games ain't gonna magically appear in your phone.. google them. i'm not sure if they're still under copyrights so i won't post links
[Galaxy S II Themes and Apps] New_World_Order:
Thanks guys.

I've got it running now!

Huge thanks,

Now time to have a little geek session! :)
[Galaxy S II Themes and Apps] danny19901:
Search cool roms in Google or romuparadise
[Sony Ericsson XPERIA X10 Mini] andy1weir@hotmail.co.uk:
hi ive got a x10 mini , problem is it wont make calls, ive checked the imei and its not blocked, tried 2 diff sims and it registers with network ok

any ideas whats wrong??
[XPERIA X8 Android Development] 2012philips:
[ROM] Matej's ROM | M1 | Based On Android 2.1.1.C.0.0 Platform

Hi guys i'm new to XDA and wanted to present you improved 2.1 official ROM!

You can PM me for any request or for ?bugs? !

Features and new apps added:

- NEW! Reboot option in power menu

- NEW! Dual Touch

- Backup&Restore is changed by Titanium Backup

- Old Market (it's so fast)

- QuickOffice

- NEW! Walkman Player from W8

- NEW! 3D Gallery

- NEW! Camera ZOOM fx ( default camera, old camera has been deleted, if you delete this camera,you can't use other)

- NEW! Launcher Pro

- Beautiful widgets

- Battery Widget

- Advanced Task Killer

- Timescape deleted

- Facebook

- Gmail

- Apps Unistaller

- Root Explorer

- I delete Postcard, Tower Blox, UEFA app, Wisepilot, Office Suite ...

Requirements:

Rooted phone

X Recovery installed

X8_E15_Kernel_2.6.29 if you have unlocked bootloader if you have locked you do not have to worry about.

Installation:

Flash X8_E15_Kernel_2.6.29.ftf

Download the Rom backup file

Extract the file and place it in sdcard/xrecovery/backup or in ClockworkMod/backup

Enter Recovery

Backup and restore

Restore M1Rom

Reboot and Have Fun

LINK REMOVED DUE TO WAREZ!

People who wan't timescape:

Timescape
[XPERIA X8 Android Development] velnens123:
Paid apps aren't allowed, mods will close this thread! Looks like a good stock replecament ROM, but when mods close this thread, be sure to delete paid apps and ask mods to open it again!
[XPERIA X8 Android Development] Spevky:
Camera Zoom FX is a paid app. You can't put that here. Remove it and reupload please so the thread does not get shut down.
[XPERIA X8 Android Development] bayumahendra24:
I think you better remove paid apps (warez)...
[XPERIA X8 Android Development] velnens123:
LOL, so fast replies! :D
[XPERIA X8 Android Development] :
Reported for being JUST warez.

EDIT1: Apart from that it's not even "Development" but just a edited Stock ROM.

EDIT2: Going by the name this seems to be a alternative nick of 2010matej who got a month's ban from Colossus
[XPERIA X8 Android Development] velnens123:
Don't be harsh on this dude! It's a nice replacement ROM and there are lots of ROMs like this!
[XPERIA X8 Android Development] :
Let Colossus speak.
[XPERIA X8 Android Development] eagleeyetom:
Some of us have holidays so please respect that and stop fighting. Pretty please:-)
[XPERIA X8 Android Development] Mockingbird:
Sorry to dissapoint you but I think no one will come back to 2.1 when we have fully stable Froyo and Gingerbread , and almost ICS.
[XPERIA X8 Android Development] Cancar96:
stock rom owner are waiting something powerfull and stable,dosent mater if it is 2.1 ,2.2,2.3 only if it has high performance such as 2d 3d :))

i am using stock kernel,cant unlock mine bootloader and highest 3d score is 480 and 2d is 410 (primehd 6) soo if any rom gets beter results why not try it ? :)

+1
[XPERIA X8 Android Development] 2012philips:
Yes, I know. But they are a lot of people on YT asking me if I know stock improve 2.1 ROM and Day D is here!
[XPERIA X8 Android Development] 2012philips:
1. I know that I didn't develope this ROM, just improve them. And the same is with GingerBread. What people are doing with them? Change theme,name and add new cyanogen settings.

2. 2010matej?? I don't know him, you can see that I'm new on xda! A lot of people have same name. And why did you meniton 2010matej?