Stockwells porting script question. - Huawei Ideos X5 U8800

As some of you know, stockwell has a miui porting script. I just began to wonder, can it be modified to port other roms from desire z? If someone could alter it a bit try to port one of desire z roms. I have very little knowledge on linux, but someone with more could do it.

Ret4rt and darksage have this script. They can answer to this question.
Sent from my Huawei Ideos X5

julle131 said:
As some of you know, stockwell has a miui porting script. I just began to wonder, can it be modified to port other roms from desire z? If someone could alter it a bit try to port one of desire z roms. I have very little knowledge on linux, but someone with more could do it.
Click to expand...
Click to collapse
U could try and just read the script from the github.. U could see the script will automatically add and replace some files and delete unnecessary file from Desire-Z ROM.. U can do it using windows AFAIK... Try using this tutorial
http://www.freeyourandroid.com/guide/porting-android to know exactly what to put to get the phone booting..

Do you have a link to the script?

PaulMilbank said:
Do you have a link to the script?
Click to expand...
Click to collapse
https://github.com/stockwell/MIUI-U8800-Port-Script/blob/master/miui_u8800_port.sh
For those who dont know Linux that well (Me too!), u need to figure out those function(rm=remove, cp=copy) and replace it manually in windows..

But updater-script could make it even harder.
Sent from my u8800 using XDA App

julle131 said:
But updater-script could make it even harder.
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Stockwell make it easy for us actually, if u check that github, there's an "overlay" folder.. Inside is all the file needed to add into the desire-z rom,
including the updater script (/ overlay / META-INF / com / google / android )..

izzoe said:
Stockwell make it easy for us actually, if u check that github, there's an "overlay" folder.. Inside is all the file needed to add into the desire-z rom,
including the updater script (/ overlay / META-INF / com / google / android )..
Click to expand...
Click to collapse
Okay. I need to install ubuntu to my pc then amd try.
Sent from my Desire HD using XDA App

Related

[Q] ROM help...

didn't really wanna post this... but well... this shows how big of a ROM noob i am
can someone give me some help here with the Logcat i ran...
trying to port a ROM (not gonna tell you guys which yet )
this is a lil snippet (what i could get) from the Logcat i ran... the device booted alright, got past the splash screen... stayed at the bootanimation for awhile... but then bootloops. -__-
Thanks
What i did...
-porting a Sense 3.x ROM to the Mytouch 4G
-used/followed this guide here (very nice, good guide)
-edited build.prop
-changed boot.img (using the one from DARKSIDE Sense)
-Team MS
I didn't read through the whole thing but from the very beginning it said unknown permissions for some vital stuff so you may want to look around in the updater script and make sure those perms are there or in the init.rc file in the ram disk.gz file (which can only be found after decompiling the kernel)
Sent from my HTC Glacier using xda premium
Nicgraner said:
I didn't read through the whole thing but from the very beginning it said unknown permissions for some vital stuff so you may want to look around in the updater script and make sure those perms are there or in the init.rc file in the ram disk.gz file (which can only be found after decompiling the kernel)
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
ok... gonna decompile the boot.img...
it's weird though... i just used the boot.img from another Sense 3.0 (VU to be exact) and it doesn't boot?

[ROM] [ALPHA] CyanogenMod9 By alex1301

After a few headaches and some claps on the forehead i finished a very alpha build of CM9 for the IDEOS X5. It was ported from the Galaxy W port of arco68 with the files of Aurora ICS and this guide.
I don't know the bugs, so please PM me if you find a bug.
NOTE: I think i am only too stupid to sign a zip, so you have to sign it by yourselves or toggle verification in the recovery.
Download
Mediafire
Thanks to fjsferreira for re-packung the boot.umg
Thanks to dzo for Aurora ICS
Thanks to arco68 for the Galaxy W ICS port
Thanks ti freeeyourandroid.com for the porting guide
alex1301 said:
After a few headaches and some claps on the forehead i finished a very alpha build of CM9 for the IDEOS X5. It was ported from the Galaxy W port of arco68 with the files of Aurora ICS and this guide.
I don't know the bugs, so please PM me if you find a bug.
NOTE: I think i am only too stupid to sign a zip, so you have to sign it by yourselves or toggle verification in the recovery.
Download
Mediafire
Thanks to fjsferreira for re-packung the boot.umg
Thanks to dzo for Aurora ICS
Thanks to arco68 for the Galaxy W ICS port
Thanks ti freeeyourandroid.com for the porting guide
Click to expand...
Click to collapse
Can't flash it, starts but then getting error and no message as the phone reboots. First time ever it has done something like this and my heart skipped...
cirnocirno said:
Can't flash it, starts but then getting error and no message as the phone reboots. First time ever it has done something like this and my heart skipped...
Click to expand...
Click to collapse
Did you toggle signature verification first?
Is there any chance for u8800pro?
Sent from my u8800pro using XDA
... finished a very alpha build of CM9 .....
Click to expand...
Click to collapse
Please go to advance edition and put a big ALPHA warning in the title thread.
why? is it that bad?
have you tyed? whats working and not?
thanks for ypu effort alex1301
r1c4rd0 said:
why? is it that bad?
have you tyed? whats working and not?
thanks for ypu effort alex1301
Click to expand...
Click to collapse
Alpha is not bad nor good, just a phase of software development. Please confirm the rom is working, otherwise I will move it to general section.
poyensa said:
Alpha is not bad nor good, just a phase of software development. Please confirm the rom is working, otherwise I will move it to general section.
Click to expand...
Click to collapse
i´m downloading it right now, and will test it in one hour and i will say someting here...
It doesn't install, always Error status 6 in CWM. I replaced the METAINF folder in the zip with aurora, and changed the name of the zip itself, then it installs, but doesn't boot...
Next, I replaced the boot.img inside with the 3.0.8_v2 from DZO, then it boots but never goes further than boot animation
It is not rom development if you just switch some of the files, compress the file into a .zip and post it here.
Can anyone have a look at it and help me? I think the problen is the updater script, because i've only copied the one from aurora.
Sent from my SGH-T989 using xda premium
I will do a port from desire z
Sent from my SGH-T989 using xda premium
will test it soon btw yeah port from desire z would be better.
i have only one problem. the guide says the Easiest way to replace the kernel is to take a kernel update zip for your device, un-zip it and rename the zImage file to "boot.img-kernel" and copy and replace the file of the same name in your directory.
but when i take the boot.img-kernel from the unpacked aurora boot.img, it has 2,6 mb, but when i rename the packed boot.img from aurora to boot.img-kernel it has 3.0 mb. which one should i take?
alex1301 said:
i have only one problem. the guide says the Easiest way to replace the kernel is to take a kernel update zip for your device, un-zip it and rename the zImage file to "boot.img-kernel" and copy and replace the file of the same name in your directory.
but when i take the boot.img-kernel from the unpacked aurora boot.img, it has 2,6 mb, but when i rename the packed boot.img from aurora to boot.img-kernel it has 3.0 mb. which one should i take?
Click to expand...
Click to collapse
Boot.img is ramdisk and kernel, compiled into one. You need kernel.
Unpack both boot images, replace kernel with auroras and change init.rc scripts to mount the correct partitions.
On mobile now so can't give a tutorial.
Sent from my U8800 using Tapatalk 2 Beta-5
the guide i follow says, that i only have to rename the init.devicename.rc to init.huawei.rc. should i also change the init.rc to the one of aurora?
does anyone have the mkbootimg for the X5?
alex1301 said:
does anyone have the mkbootimg for the X5?
Click to expand...
Click to collapse
We don't need to have any device specific mkbootimg, any mkbootimg will do it just fine
Sent from my U8800 using Tapatalk 2 Beta-5
i've uploaded a new version. it's ported from the desire z, but i think it's too big for the x5. i can't upload it to mediafire, because it doesn't load my files correct. so i only can upload it to dropbox, but there is also a limitation of downloads. http://db.tt/u8PrGM5m
alex1301 said:
i've uploaded a new version. it's ported from the desire z, but i think it's too big for the x5. i can't upload it to mediafire, because it doesn't load my files correct. so i only can upload it to dropbox, but there is also a limitation of downloads. http://db.tt/u8PrGM5m
Click to expand...
Click to collapse
Can you confirm this one boots?
Sent from my U8800

Making roms and soft mods?

Dont know whether I should put this here or in general.....
Anyways, I do have a laptop now. I can make mods etc, but I do not know how. What is the best way to make soft-mods?
What devs allow softmods?
What do people want in a softmod?
Any suggestions would be welcome!
Thanks for your Offer.
I recommend you to make a Froyo Soft-Mod, cause we've a lot of GB CM7 on this forums, will be great to see more Froyo's ROM updated.
Take (with his permission) Miroslav's Utopia to start.
leoposas said:
Thanks for your Offer.
I recommend you to make a Froyo Soft-Mod, cause we've a lot of GB CM7 on this forums, will be great to see more Froyo's ROM updated.
Take (with his permission) Miroslav's Utopia to start.
Click to expand...
Click to collapse
So, what should I put in it?
What should I do?
Making mods without any ideas. It will be hard...
Sent from GT540.
haha this should be in general Either way 2.2 would be good i think i made a hell to many for 2.3 But for 2.2 its rather hard to theme but for tweaks its still fine.
bs828 said:
haha this should be in general Either way 2.2 would be good i think i made a hell to many for 2.3 But for 2.2 its rather hard to theme but for tweaks its still fine.
Click to expand...
Click to collapse
Well you can always edit png's in framework. You can use uot kitchen, dsixda kitchen, xultimate.
Init.d can be tweaked
If you want a complete ROM build you can try aosp froyo. You might use pcfighter / zice kernel .....
Sent from my GT540 using xda premium
Aosp froyo with notification bar togles, init.d script and ginger or some other theme would by nice.
When i created my soft-mod i didn't use a computer.
U don;t really need a computer to create a mod.
U just need root explorer. unless u want to create it into a recovery zip
Yes
androidboss7 said:
When i created my soft-mod i didn't use a computer.
U don;t really need a computer to create a mod.
U just need root explorer. unless u want to create it into a recovery zip
Click to expand...
Click to collapse
How did you decompile, and compile apk without windows?
bataya said:
How did you decompile, and compile apk without windows?
Click to expand...
Click to collapse
he just deleted apk's and added scripts etc
Hi.
I want start to make Rom .
Where should I start *?
Sent from my HTC Explorer A310e using xda app-developers app
Start by making soft-mods. Get a Rom flash it on your phone, dont add any personal stuff like contacts yet. Put in some nice apps themes tweaks and mods and after that use CWM to back it up and it "should" be ready to share... well at least that is somewhere to start from.
Edit: For those planning to make 4.0 softmods maybe you can also see this http://forum.xda-developers.com/showthread.php?t=1680328 i know its from the SGSII but i guess the way to do things is similar. (just dont use the flashable thing from the mediafire link!)

[GUIDE] How to port ROMs from u8800pro to u8800

How to port ROM
Overview
So this is guide "how to port roms from huawei u8800pro to u8800 or from u8800 to u8800pro". Both ROMs (base, port) must have same android version. And if you try this guide you'll port ROM for your device with same features! If you have some question or problem please PM me.
Click to expand...
Click to collapse
Tools
Winrar
Notepad++
Click to expand...
Click to collapse
Guide
What is base Rom:
The ROM which is Developed For your Mobile.. (like Aurora, CM7,...)
What is Port Rom:
The Rom Which you want to port to your Device... (like frozenpika,...)
1. So take any clean ROM which is running on your device as Base ROM.
2. Extract it Using Winrar.
3. Take the ROM you want to port. This Port ROM. Extract it also using Winrar.
4. Delete app, Framework, Fonts and Media folder in System Folder of Base ROM.
5. Now copy app, Framework, Fonts and Media folder in System Folder from Port rom to base rom system folder.
6. Now open etc folder in both the ROMs folder.
7. In etc folder of base ROM open permissions folder and copy all the permissions files in Port rom to your base ROM folder except platform and handheld_hardware and then open init.d Folder in Base ROM and Delete Every thing except banner and then copy all the files inside init.d folder of port ROM to Base ROM.
8. Now open buid.prop file using Notepad++ and make changes to these of Base Rom as you wish.
ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=
9. In build.prop file change these to same as Port Rom build.prop values.
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
10. COPY THE set_perm Lines in META-INF/com/google/android/updater-script From Port to Base ROM After Deleting set_perm lines in Base ROM's Updater-Script.
11. Last Step to .zip folders to one
SELECT META-INF, system and boot.img in port folder
Right Click and Select Add to Archive..
Select Zip..
Type the Name.
Click OK..
12. You can simple flash via recovery!
Click to expand...
Click to collapse
Is it backwards compatible too? Regular to pro?
Sent from my u8800-51
Somcom3X said:
Is it backwards compatible too? Regular to pro?
Sent from my u8800-51
Click to expand...
Click to collapse
Yes, of course. From the U8800 U8800pro and vice versa.
Have you ported any Roms from u8800 pro yourself. If so, please share with us
Sent from my U8800 using xda premium
vercetti19 said:
Have you ported any Roms from u8800 pro yourself. If so, please share with us
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Sorry. I'm very busy now with my ROM Mlora...
Maybe someone can try it!
11. Last Step to .zip folders to one
SELECT META-INF, system and boot.img in port folder
Right Click and Select Add to Archive..
Select Zip..
Type the Name.
Click OK..
Click to expand...
Click to collapse
Is this correct?
We made all these changes to base rom, edit build.prop and updater_script of BASE ROM, and then we must zip and flash the PORT ROM folder?
dancer_69 said:
Is this correct?
We made all these changes to base rom, edit build.prop and updater_script of BASE ROM, and then we must zip and flash the PORT ROM folder?
Click to expand...
Click to collapse
Yes. Thanks for correct.
Sent from my U8800 running AOSP 4.0.4
Firstly, this a copy of this thread http://forum.xda-developers.com/showthread.php?t=1908008
Secondly, it's wrong and inaccurate.
ezet said:
Firstly, this a copy of this thread http://forum.xda-developers.com/showthread.php?t=1908008
Secondly, it's wrong and inaccurate.
Click to expand...
Click to collapse
Firstly, This guide is for beginners developers which want start with development.
Secondly, it isn't wrong. I tried it.
Mlopik said:
Firstly, This guide is for beginners developers which want start with development.
Secondly, it isn't wrong. I tried it.
Click to expand...
Click to collapse
Which ROM did you port?
forumber2 said:
Which ROM did you port?
Click to expand...
Click to collapse
I tried port CM9 for u8800 but now I'm waiting for Blefish's CM10.1. He said (on his twitter) that he'll release first preview next week.
Mlopik said:
I tried port CM9 for u8800 but now I'm waiting for Blefish's CM10.1. He said (on his twitter) that he'll release first preview next week.
Click to expand...
Click to collapse
And It worked?
forumber2 said:
And It worked?
Click to expand...
Click to collapse
Yes. It worked but I formatted disk and I go back to Windows8. So ROM is removed.
Lets see if this works :fingers-crossed:
Somcom3X said:
Lets see if this works :fingers-crossed:
Click to expand...
Click to collapse
So? Did you try it?
TUPAC_RIP said:
So? Did you try it?
Click to expand...
Click to collapse
Cyan mobile has issues... Trying to fix.
Sent from my U8800-51 using xda premium
Somcom3X said:
Cyan mobile has issues... Trying to fix.
Sent from my U8800-51 using xda premium
Click to expand...
Click to collapse
Will you post it?
Mlopik said:
Will you post it?
Click to expand...
Click to collapse
Gotta fix the updater script
Sent from my U8800-51 using xda premium
Mlopik said:
Will you post it?
Click to expand...
Click to collapse
Mistake in script formatted SD card... Gotta start over...
Sent from my U8800-51 using xda premium
Mlopik said:
How to port ROM
Overview
Tools
Guide
What is base Rom:
The ROM which is Developed For your Mobile.. (like Aurora, CM7,...)
What is Port Rom:
The Rom Which you want to port to your Device... (like frozenpika,...)
Click to expand...
Click to collapse
tried to port paranoid android from galaxy s2 to u8800 but it is stuck in bootloop

Porting android apps to another android device.

Hey guys, i need help porting apps from one android device to another like apps from LG Optimus 2x to LG optimus one or porting stock apps to cyanogenmod or porting xperia, samsung apps to non xperia(or non samsung) devices. I dont intend to make it for commercial use like posting on playstore. I just want it include on roms and make it such a way that other devs can include it on their roms. I have basic C++ knowledge and Im learning java on my own!
Normally you can just compile the app and add it to your work with the right copyright notice as long as your device/ROM is the minimum API level which is required.
How can i compile a app from source, which is already compiled like stock keyboard for xperia making it work on non xepria or LG optimus 2X Launcher for LG optimus one!
Edit: I'm new at this!
Sent from my LG-P690 using xda app-developers app
ayazm.140895 said:
How can i compile a app from source, which is already compiled like stock keyboard for xperia making it work on non xepria or LG optimus 2X Launcher for LG optimus one!
Edit: I'm new at this!
Sent from my LG-P690 using xda app-developers app
Click to expand...
Click to collapse
So have you got the sources? If you do, select File -> Import -> Existing Android code into workspace in Eclipse.
If you have already got a compiled app why don't you use that one?
If you mean resizing the images, rename the compiled apk to a .zip file. Then you can browse the content. Afterwards rename it to .apk.
nikwen said:
So have you got the sources? If you do, select File -> Import -> Existing Android code into workspace in Eclipse.
If you have already got a compiled app why don't you use that one?
If you mean resizing the images, rename the compiled apk to a .zip file. Then you can browse the content. Afterwards rename it to .apk.
Click to expand...
Click to collapse
I have got no sources. It's a stock application. I have to make it work on other device by resizing the images and make them work on other devices (may be low end device of same company or different company!)
Sent from my LG-P690 using xda app-developers app
ayazm.140895 said:
I have got no sources. It's a stock application. I have to make it work on other device by resizing the images and make them work on other devices (may be low end device of same company or different company!)
Sent from my LG-P690 using xda app-developers app
Click to expand...
Click to collapse
Ok. Try what I described:
If you mean resizing the images, rename the compiled apk to a .zip file. Then you can browse the content. Afterwards rename it to .apk.
Click to expand...
Click to collapse
I know I should modify the apk but what files like xperia has some file which checks the device for xperia device. What are the dimensions for mdpi device. What are the files should I modify in a keyboard to make it work on other device!
Sent from my LG-P690 using xda app-developers app

Categories

Resources