[WIP] MIUI Port -HELP NEEDED- - Optimus One, P500 Android Development

(Originaly Posted by popdog123)
This is a work i continue as popdog123 is very busy, so i think we shall do our best and let him work on his work, or whatever hes doing,
See The 2 Reserved, comments to get latest info!
Hello!
Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.
This is what we're using so far: MIUI for Milestone, Desire & Overflow ROM
So far this has been done:
ADB now working
Merged framework.jar from base rom with MIUI one
Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
Use libs, bin and xbin from base rom
Merged permissions
[Update 9.07.2011 - 17:48 GMT+3 DST]
Now using framework from CM7
Libs, and bins from CM7
Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
No more nasty error on boot (with stack dump and stuff...)
No need for logcat now because errors come from framework
[Update 11.07.2011 - 15:32 GMT+3 DST]
MIUI boots up and we have graphics BUT
It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
Gapps, Provision, and StatusBar force close so they need work
Removed ContactsProvider.apk and CalendarProvider.apk
[Update 14.07.2011 - 10:58 GMT+3 DST]
Fixed framework.jar - no more errors seem to come from it
New zip not made on mac so no low memory errors
New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
All apps are back because the errors don't come from them
[Update 28.07.2011 - 18:53 GMT+3 DST]
Added dalvik-cache to /cache script
New zip with init.d script and updated framework
Need to fix dead code in framework
Need new kernel
Need MDPI apks
Need libs that don't make the apks crash
Latest flashable zip:
http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth
10/14/2011
Replaced all Apk's (Now using latest MIUI 1.10.07 (STABLE)
Replaceed Android Policy (With Milestone's)
Replaced Services (With Milestone's)
still boots up, only FC was keyboard
(DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...
If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...
This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
4silvertooth
jazux
DJoptimus-One
Also i would like to thank overflow for his rom. It's the base for our miui so far.

!
Special Thanks to!
Popdog123
For starting the port and to get it to even boot,
Thanks To!
4silvertooth (teaching me on how to)
jazux (telling me what to do)
DJoptimus-One (yeah he made stuffs also as i dont know)
For helping to get this port to work,

TO DO:
See the difference in this files:
android.policy.jar
services.jar
framework-res.apk
framework.jar
(as we only looked at framework.jar we)
we got no progress, but now we can do get it!
(Akash.gupta made the launcher work on galaxy 3, and on the port of MIUI)
Nothing is impossible we need to see what we are missing
and try to edit and recompile and test on our phone,

Whats the status so far ? I mean actually where have we reached ? What things aren't working ?
Sent via LG Optimus-One Gingerbread

why a new thread when old thread by popdog already exist are u taking over the rom assembling from here on .
whatt progess can we expect from this.....as it has beeen long since no update in old thread

shhbz said:
why a new thread when old thread by popdog already exist are u taking over the rom assembling from here on .
whatt progess can we expect from this.....as it has beeen long since no update in old thread
Click to expand...
Click to collapse
we can in hope for sure that we may soon get launcher to work as i now know that we cant only look into framework.jar we must check services etc,

DJoptimus-One said:
Whats the status so far ? I mean actually where have we reached ? What things aren't working ?
Sent via LG Optimus-One Gingerbread
Click to expand...
Click to collapse
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.

SWEATTAIMI said:
the thing is for now same as before, but as popdog123 is busy and so many want this i actually will settle down and look into what is not correct in our files as in framework.jar , launcher, services.jar and framework-res.
Click to expand...
Click to collapse
Cool! All the best then and if you need any help. PM me or any other member of Team ENVY
We are always there to help
Sent via LG Optimus-One Gingerbread

DJoptimus-One said:
Cool! All the best then and if you need any help. PM me or any other member of Team ENVY
We are always there to help
Sent via LG Optimus-One Gingerbread
Click to expand...
Click to collapse
thing is for now we need to see what we are missing in our launcher and framework files

im so tired of you sweattaimiasdads.... ¬¬ always creating spam threads!

sewa2k said:
im so tired of you sweattaimiasdads.... ¬¬ always creating spam threads!
Click to expand...
Click to collapse
theres no spam thread, serious its you whos spamming delete the comment or i get mod to delete it for you!

Is this actually coming along now or is it still stumped??

scruffy3666 said:
Is this actually coming along now or is it still stumped??
Click to expand...
Click to collapse
i will see if i can get it to not fc as we have not all working parts, also the settings.apk seems damaged when using apktool it gives me alot of errors, so i think the settings is damaged

SWEATTAIMI said:
theres no spam thread, serious its you whos spamming delete the comment or i get mod to delete it for you!
Click to expand...
Click to collapse
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.
First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.

sewa2k said:
Im sorry, but with your non-working roms u r the one whos spamming the entire dev section of P500.
First you start to "porting" ROMS to our P500, then, when u fail, start a new thread involving a "supercrazyamazing rom with extra-cheese", and only was a themed rom, but hey, no rom, because u cant figure it to enable sd-mount and show us screenshot of your fail (sorry, rom). Then u take others ppl work (like dr.notors) and continues as ur work? sorry m8 but im not spamming either threatening u with the mods. I dont even know why ur threads are still open.
Click to expand...
Click to collapse
again thats not spam, and i quited the rom and i do not have time,
The ihero is partly working, and SD-Card mounted,
Doktor notor's rom is not stolen i said i do a topic for it, as people may not go to his forum,
Please do read before posting man And why some threads is still open and not closed or deleted is because I or anyoneelse exept mod can close it (or administrator's) so i have tried close some topics with no luck, so what you can do is ask mod to do that for me ?

Well it would be great if you work on a single port and make it a complete success rom.
As dj said team envy is all there to help you out but we need a fully working rom as all the thread remains incomplete.
Well lets port miui :d

shhbz said:
Well it would be great if you work on a single port and make it a complete success rom.
As dj said team envy is all there to help you out but we need a fully working rom as all the thread remains incomplete.
Well lets port miui :d
Click to expand...
Click to collapse
yeah i thought that to, after some researches and questions i noticed that we only worked on framework.jar but we forgot 2 other files aswell

A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him
I am 100% sure he will help and will take out some time for you.
JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT

DJoptimus-One said:
A quick tip from my side :- consider andy for the launcher. Remember his rom that was removed RC4.1 or something. He has always used a launcher actually and fully modified by HIM, and also with his upcoming legendary rom, he is doing the same with the launcher. All around the devs in O1 section, andy is the best in this field. You should ask him
I am 100% sure he will help and will take out some time for you.
JUST ONE RULE SHOULD BE FOLLOWED WHILE THIS :- BE PATIENT
Click to expand...
Click to collapse
your 100 thanks clicked.

ANDY:
as i see in the logcat, it seems that there are mixed libraries from miui and LG proprietary libs.
this cant work, because many apps are crashing at boot time because of missing functions for layout.
at first, remove the fu** LG drmserver - no one but LG need this.
second, try the surfaceflinger, surfaceflinger_client, libpixelflinger and liblayout from another rom,
these from LG rom cant work here - miui has patched many libraries, so these installed
cant work properly.
Click to expand...
Click to collapse
hmm we have missed something

Related

[Discontinued]Miui port

Hello!
Ok so this is an attempt to port MIUI to LGP500. We are trying this because porting on the Galaxy 3 (LDPI armv6) was a success and i'm sure it will work on our device too.
This is what we're using so far: MIUI for Desire & Overflow ROM
So far this has been done:
ADB now working
Merged framework.jar from base rom with MIUI one
Replaced all apks with miui except LatinIME.apk which seems to give an error on boot
Use libs, bin and xbin from base rom
Merged permissions
[Update 9.07.2011 - 17:48 GMT+3 DST]
Now using framework from CM7
Libs, and bins from CM7
Boot.img still from Overflow (CM7 Boot.img stops adb on boot after a while - so using Overflow for developing for now)
Replaced many smali files in framework but errors keep popping up - I think framework is pretty screwed up now and must be redone (again)
No more nasty error on boot (with stack dump and stuff...)
No need for logcat now because errors come from framework
[Update 11.07.2011 - 15:32 GMT+3 DST]
MIUI boots up and we have graphics BUT
It only boots up to some error dialogs that say some processes force closed with "Close" and "Report to MIUI"
Gapps, Provision, and StatusBar force close so they need work
Removed ContactsProvider.apk and CalendarProvider.apk
[Update 14.07.2011 - 10:58 GMT+3 DST]
Fixed framework.jar - no more errors seem to come from it
New zip not made on mac so no low memory errors
New problem that might fix the apps: All apps look for their classes.dex in /cache/dalvik-cache but only system classes are there. The app classes are created in /data/cache/dalvik-cache
All apps are back because the errors don't come from them
[Update 28.07.2011 - 18:53 GMT+3 DST]
Added dalvik-cache to /cache script
New zip with init.d script and updated framework
Need to fix dead code in framework
Need new kernel
Need MDPI apks
Need libs that don't make the apks crash
Latest flashable zip:
http://www.multiupload.com/VNM8QTDBZ3 [Updated 28.07.2011] Thank you 4silvertooth
(DOES NOT BOOT! DON'T FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!) Sorry... i had to put this in big red letters because apparently people didn't see it well...
If you would like to help go ahead. Download the rom or make your own one if you don't like our development and give input. But most of all don't try to bring us down with "this can't be done" stuff. It can be done and it was done for another armv6 device. We need to get apps and framework to work and rom to boot. Libs and bins will come after...
This being said i would like to thank these people for their work so far and for making me get off my ass and do something useful:
4silvertooth
jazux
DJoptimus-One
Also i would like to thank overflow for his rom. It's the base for our miui so far.
Fantastic news! I can't wait too see how this works out. Good luck, you're gonna need it!
look forward to.
Thanks popdog
Will get into works as soon as i get my laptop back
Great news!
Waiting for testing release!
wow ! MIUI for o1 ?
oh sh*t this is what i've been waiting for so long !
looks good ill be happy to help, just ask for now im looking the motorola dump... maybe theres something that will help my team on galaxy 3 but anyway i subscribed tol this thread
EDIT: damn that motorola dump is useful, already found many, many tweaks thanks a million times for 4silvertooth
Hey can we use pastebin.com for all the logs.. it will be convenient and easy.
Sent from my LG-P500 using XDA Premium App
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
popdog123 said:
good point... also do you know a way to upload the files like in a git source (only the ones that changed) because multiuplad is painfully slow for me...
Click to expand...
Click to collapse
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
About the log.
The error so.lcddensity(something) is in build.prop you have to add it, it's using 160 by default.
All the missing class will have to be taken from the decompiled framework.
Sent from my LG-P500 using XDA Premium App
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Breaking news of the day! I'll one of the first tester Keep going, heroes!
popdog123 said:
I'm redoing framework.jar... See what i missed... Then i'll get to build.prop
Also using boot.img from mik's cm port now
Click to expand...
Click to collapse
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Great news!
4silvertooth said:
No but make a base rom and update.zip which will have all changes and will be small in size.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
+1 for this, it would be easier to download for people with a slow connection like me.
ok ok... will do that... but for now we have to make a good base to start off of...
4silvertooth said:
Will have to replace some smali. Merge the missing wont do.
@jazuk which one mainly.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
Whaaat???
Nice to see another dev porting some other firmwares to our phone if you want help then I'm in
Sent from my LG Optimus One P500 using XDA Premium App
jazux said:
Whaaat???
Click to expand...
Click to collapse
Never mind back to that later.
Sent from my LG-P500 using XDA Premium App

[discussion][guide]cm7.2/cm9.1[update-drivers released]

Please use this thread for further discussion.
http://forum.xda-developers.com/galaxy-ace/s5830i-general/cm11-cooperve5830i-thread-cynogenmod-11-t2808268
This thread is for all the discussions,queries,help,etc so as to avoid spam in dev threads.
Important:-
Finallyyyy after so much struggle by each and everyone of us.Broadcomm released the drives.And if there are no more tricks in it by broadcomm we can hope for stable cm7,cm9 and maybe even cm10.
For more info about what this is,what is possible in future and for further update go here:-
http://forum.xda-developers.com/showthread.php?t=2666566
One again a huge thanks to all devs for all their contributions and wishing them best of luck for future from all the Ace i community.
Our dev team without whom we would still be in the middle of no where.:-
1.Bieltv.3
2.Lopicl.00
3.prototype-U
4.SpaceCaker
5.Percy-g2
6.Kissingmylove
7. Legolas93
Links to Dev threads
1. CM 7.2-
http://forum.xda-developers.com/showthread.php?t=2080065
2. CM 9.1-
http://forum.xda-developers.com/showthread.php?t=2118645
3. Bieltv.3 cm7.2 basic kernel-
http://forum.xda-developers.com/showthread.php?t=2253010
4. Thunder Kernel by Lopicl.00-
http://forum.xda-developers.com/showthread.php?t=2335947
5. Hells Fusion Kernel(prototype-U kernel)-
http://forum.xda-developers.com/showthread.php?t=2022147
Stock Task Manager for cm7/cm9 by me:-
(for checking ram usage and clearing it)
http://db.tt/LkPNZ3jS
Just copy in system\app and give rw-r-r permission and reboot.
And if you are interested in helping devs to fix bugs fast then please provide them with logcats of your bugs.Simple guide for making logcat is here
Happy flashing.
Geetings -HellRaiser-
has someone tried exchanging the meta.inf folders of pre-alpha 3 with alpha 1???
i dont have any way to donate for our dev ,
pelase guyz lets donate bieltv.3 for our self
]
#Please
in pre-alpha 3 does not work online and network indicator shows no signal, how to fix it?
now i have rafael kernel do i have to go back to Stock kernel then hell lock kernel or now i can directly install hell lock kernel and install this rom ???
ithunter said:
now i have rafael kernel do i have to go back to Stock kernel then hell lock kernel or now i can directly install hell lock kernel and install this rom ???
Click to expand...
Click to collapse
i think its important to install stock rom but you can give it a try.....
-HellRaiser- said:
has someone tried exchanging the meta.inf folders of pre-alpha 3 with alpha 1???
Click to expand...
Click to collapse
I tried to re-sign the zip and i checked the updater-script, but all is ok!
Lopicl.00 said:
I tried to re-sign the zip and i checked the updater-script, but all is ok!
Click to expand...
Click to collapse
then it must be something wrong with the changes made by bieltv3......
Lopicl.00 said:
I tried to re-sign the zip and i checked the updater-script, but all is ok!
Click to expand...
Click to collapse
Maybe some features/drivers etc. when bieltv.3 try to build don't want to work properly or they're incorrectly compiled or something else . . .
Alucard1989pl said:
Maybe some features/drivers etc. when bieltv.3 try to build don't want to work properly or they're incorrectly compiled or something else . . .
Click to expand...
Click to collapse
i think he needs to check the changes he made after pre-alpha 3.But that is going to be difficult.
-HellRaiser- said:
i think he needs to check the changes he made after pre-alpha 3.But that is going to be difficult.
Click to expand...
Click to collapse
I don't know how he build the CM7 rom because i'm not as advanced developer as him but i appreciate their hard work for free and i'm really patient before they biuld fully worked CM7 for ours Ace"i"
Alucard1989pl said:
I don't know how he build the CM7 rom because i'm not as advanced developer as him but i appreciate their hard work for free and i'm really patient before they biuld fully worked CM7 for ours Ace"i"
Click to expand...
Click to collapse
patience is the key at present.....if we want a working cm7 we have to be patient otherwise our devs will be pissed off and we will again be left on our own......
-HellRaiser- said:
patience is the key at present.....if we want a working cm7 we have to be patient otherwise our devs will be pissed off and we will again be left on our own......
Click to expand...
Click to collapse
Heh . . .try to tell this noobs and newbies . . . they all aren't patient but they're very laziest guys -_-" . . . Of course i don't blame or abuse someones . . . but some of this people can be very galling . . .
Alucard1989pl said:
Heh . . .try to tell this noobs and newbies . . . they all aren't patient but they're very laziest guys -_-" . . . Of course i don't blame or abuse someones . . . but some of this people can be very galling . . .
Click to expand...
Click to collapse
but i still think the noobs on ace i thread are less annoying compared to what i have seen on threads of other phones......and after all thats the reason for this cm7 thread so that all noobs can show their noobiness here.....
Also can you tell me about Democracy rom u flashed from y gal y forum......
-HellRaiser- said:
i think he needs to check the changes he made after pre-alpha 3.But that is going to be difficult.
Click to expand...
Click to collapse
m... I've an idea, I enable bluetooth filew to be able to use bluetooth, was disabled in galaxy y sources, maybe that was the why... anyway seems strange that bluetooth libs break boot, that's why I enable it... will try to disable and compile again but my ideas are starting to waste all of them...
bieltv.3 said:
m... I've an idea, I enable bluetooth filew to be able to use bluetooth, was disabled in galaxy y sources, maybe that was the why... anyway seems strange that bluetooth libs break boot, that's why I enable it... will try to disable and compile again but my ideas are starting to waste all of them...
Click to expand...
Click to collapse
well i know its a tough job for you but as i remember before starting development for our device you told that one of your friend will donate his ace 'i' to you:-
This is from your blog---->"SO, as you probably now, we released beta 4 of CM10.1, you can download at XDA, wayland threads, but another important new is that I'm moving to another device for a couple of days, many people ask me to and one of my friends will donate me one, the galaxy ace 'i' and I don't know if that is some kind of chance but broadcomm has released the HW drivers for this device, so they can finally get CM7 working, and I will compile it so stay tuned for more info "
So cant you ask your friend to lend his to you.........
First he have to buy a device and then Ive to tell him and then he decide to borow me or not... So probably by donations will be faster and also for.me free time here
Enviado desde mi GT-S5830 usando Tapatalk 2
bieltv.3 said:
First he have to buy a device and then Ive to tell him and then he decide to borow me or not... So probably by donations will be faster and also for.me free time here
Enviado desde mi GT-S5830 usando Tapatalk 2
Click to expand...
Click to collapse
But to be frank i really really dont think enough donations will be met to buy this device.....you would really have to lend form someone or the other.....
ok so biel has finally got the device up and running.....hope he will now test and then release the rom.....
I've done online, now it works That correction: http://forum.xda-developers.com/attachment.php?attachmentid=1633162&stc=1&d=1357826193
Just added to the file build.prop some lines

[GUIDE]How to Port ROMS from same resolutions phones- Easy way

Hi.
If someone have improvement advices for this thread PM me.
This won't work for sense ir smth similar.
I'm not responsible for bricked(or smth similar) devices cause of ROMS ported by this method.
I don't know if this works for non-aosp/cm based ROMS. You may need to do some more things to get it working.
Try to use the same android version for both ROMS For 4.2.2 use Cm For 4.1.2 use Stock ROM.
You won't have a compatible source code. This means you can't update the ROM through syncing and recompiling. But you won't need a Linux distro fot this Method.
Actually its very easy.
firstly follow this tutorial: http://www.fesilo.com/forum/android/guides/113-guide-guide-to-port-roms-fast-and-easy to get a booting ROM
then download this Tool -> http://www.virtuous-ten-studio.com/ it makes de/re-compiling very easy.
now you just have to fix those anoying bugs
to fix Phone.apk FC.
Be sure to put in the submenu smali API level to Android 4.2.2(in VTS) and tick use smali debug output and in the submenu build tick use old signature
Decompile telephony-common.jar from both ROMS.
Copy the X3RIL.smali found in /com/android/internal/telephony from the .jar of your base ROM (cm 10.1,stock rom) to the .jar of the ROM you're trying to port.
Recompile and replace the one within your old one from HOX ROM.
Decompile framework-res.apk from both ROMS.
open /res/values/arrays.xml
press Control+f to use the search function.
enter auto
copy the arrays config_autoBrightnessLevels,config_autoBrightnessLcdBacklightValues,config_autoBrightnessButtonBacklightValues,config_autoBrightnessKeyboardBacklightValues to the .xml off your ROM and overwrite the old ones.
then copy and overwrite power_profile.xml and storage_list from your base ROM to the ROM your trying to port.
Recompile and replace the one within your old one from HOX ROM.
actually this was the magic.
I hope I forgot nothing. Please Excuse me If I did. It's half past 23 here and I had a very exhausting Weekend.
I will update this thread in a few days to make it more userfriendly
You can PM me if you have Questions.
BIG THANKS TO SNXO FOR GIVING ME THE KNOW-HOW TO FIX BIG ISSUES.
and sorry for my English
reagards tobixdev
Thanks..
Very Interesting and useful..
Infact i find some guide simple to try...
Good Job!
Very nice Tobi good job :thumbsup:
Hopefully that gives power to the people for making some good Roms and Programms for us. It isn't that difficult to do just a little bit reading and then learning by doing.
Best regards SnXo
Notice that will work with every rom. The easy way is snap from HOX but you can choose Roms from others too... To keep it iesy you should have the same resolution and Androidversion nothing more... That's it!
Maybe a admin can make this as sticky that would be nice
Sent from my LG-P880 using XDA Premium HD app
SnXo said:
Very nice Tobi good job :thumbsup:
Hopefully that gives power to the people for making some good Roms and Programms for us. It isn't that difficult to do just a little bit reading and then learning by doing.
Best regards SnXo
Notice that will work with every rom. The easy way is snap from HOX but you can choose Roms from others too... To keep it iesy you should have the same resolution and Androidversion nothing more... That's it!
Maybe a admin can make this as sticky that would be nice
Sent from my LG-P880 using XDA Premium HD app
Click to expand...
Click to collapse
thanks
anyone tried yet ?
Sent from my LG-P880 using xda app-developers app
tobixdev said:
thanks
anyone tried yet ?
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
I tried a while ago with this rom: http://forum.xda-developers.com/showthread.php?t=1562603.
The end result was a bootloop. I will maybe try to do it again when I have more time.
this doesn't work with sense without additional work.
Sent from my LG-P880 using xda app-developers app
tobixdev said:
Hi.
If someone have improvement advices for this thread PM me.
This won't work for sense ir smth similar.
I'm not responsible for bricked(or smth similar) devices cause of ROMS ported by this method.
I don't know if this works for non-aosp/cm based ROMS. You may need to do some more things to get it working.
Try to use the same android version for both ROMS For 4.2.2 use Cm For 4.1.2 use Stock ROM.
You won't have a compatible source code. This means you can't update the ROM through syncing and recompiling. But you won't need a Linux distro fot this Method.
Actually its very easy.
firstly follow this tutorial: http://www.fesilo.com/forum/android/guides/113-guide-guide-to-port-roms-fast-and-easy to get a booting ROM
then download this Tool -> http://www.virtuous-ten-studio.com/ it makes de/re-compiling very easy.
now you just have to fix those anoying bugs
to fix Phone.apk FC.
Be sure to put in the submenu smali API level to Android 4.2.2(in VTS) and tick use smali debug output and in the submenu build tick use old signature
Decompile telephony-common.jar from both ROMS.
Copy the X3RIL.smali found in /com/android/internal/telephony from the .jar of your base ROM (cm 10.1,stock rom) to the .jar of the ROM you're trying to port.
Recompile and replace the one within your old one from HOX ROM.
Decompile framework-res.apk from both ROMS.
open /res/values/arrays.xml
press Control+f to use the search function.
enter auto
copy the arrays config_autoBrightnessLevels,config_autoBrightnessLcdBacklightValues,config_autoBrightnessButtonBacklightValues,config_autoBrightnessKeyboardBacklightValues to the .xml off your ROM and overwrite the old ones.
then copy and overwrite power_profile.xml and storage_list from your base ROM to the ROM your trying to port.
Recompile and replace the one within your old one from HOX ROM.
actually this was the magic.
I hope I forgot nothing. Please Excuse me If I did. It's half past 23 here and I had a very exhausting Weekend.
I will update this thread in a few days to make it more userfriendly
You can PM me if you have Questions.
BIG THANKS TO SNXO FOR GIVING ME THE KNOW-HOW TO FIX BIG ISSUES.
and sorry for my English
reagards tobixdev
Click to expand...
Click to collapse
ths very much

[Q] [UPDATED] Probelm Bootloop error with dsixda's kitchen cooked ROM

Hello guys:laugh:
I searched every forum thoroughly but didn't found a proper and working solution for Xperia devices
I am trying to make a custom ROM from stock using dsixda kitchen
I used stock 12.1.A.201 as the base ROM
I believe that it's either the updater script error or kernel probelm as I am using stock kernel and my zip is like this
Data
META-INF
system
boot.img
check_data_app
Click to expand...
Click to collapse
This happens when rom is created
De-odexed it rooted it and added X-Reality engine and created the rom
First on installing I got error of status 0 so I changed my update binary file from same de-odexed version from this link http://forum.xda-developers.com/showthread.php?t=2704312 by @dipesh1502 (thanks to him for that awesome rom)
Next I am getting error status 7
ROM Starts flashing then it comes to this part
formatting system bla bla
expected 5 args got 3
Click to expand...
Click to collapse
something like that and then it stops on error status 7
here is the updater-script please have a look. I really want to create this ROM. Please help
Updater-Script Download
here is my build prop build.prop download
Help guys please I'll be highly grateful
My device is C5302 rooted and unlocked bootloader with 12.1.A.205 stock kernel
EDIT : Got past the error status 7 now ROM gets installed
But unfortunately now it ends in a bootloop :/ Got stuck on Sony splash logo and then reboots constantly :/
Had a nandroid backup ready x)
Had to flash the ftf file over and over again. :/
Phone is allright just want to catch this error of bootloop.
I changed kernel with the dipesh1502's ROM but still no luck. Modified Updater script but still no luck. help me I am soo confused and screwed!! :'( :'(
My new Updater-Script
There's a HUGE difference in creating boot animations and creating a ROM.
Don't expect to teach yourself how to make a ROM in just a few days.
It takes, weeks, months, years...
If you're mainly planning to make some exterior changes, which I think you're currently doing, I would focus on making complete themes and not ROMs.
People are not waiting for a ROM which is already available but that looks somewhat different and maybe has some extra or removed apps.
Regarding your problem, I will not be able to help you since I don't have that kind of knowledge.
Anyway, good luck!
Gamm86 said:
There's a HUGE difference in creating boot animations and creating a ROM.
Don't expect to teach yourself how to make a ROM in just a few days.
It takes, weeks, months, years...
If you're mainly planning to make some exterior changes, which I think you're currently doing, I would focus on making complete themes and not ROMs.
People are not waiting for a ROM which is already available but that looks somewhat different and maybe has some extra or removed apps.
Regarding your problem, I will not be able to help you since I don't have that kind of knowledge.
Anyway, good luck!
Click to expand...
Click to collapse
Thanks for the reply.
Yeah I know that it's not easy to create ROM and also it takes a lot of time. I am ready to give it a shot
I am just making some small changes just for my sake I'll be using this ROM personally for my own use I know that there are a thousand times better ROM's than mine
Anyway glad you considered my probelm.
Bootloop can be cause by:
- Wrong permissions
- Corrupt installation
It is nice if you collect either the last_ksmg or logcat when bootlooping. (if possible)
~~Regard
---------- Post added at 08:08 PM ---------- Previous post was at 08:04 PM ----------
But first:
Share me the .zip you have created perhaps I can take a small look
~~ Regards
mrjraider said:
Bootloop can be cause by:
- Wrong permissions
- Corrupt installation
It is nice if you collect either the last_ksmg or logcat when bootlooping. (if possible)
~~Regard
Click to expand...
Click to collapse
Thanks for the reply
Can you please have a look at my new updater-script and tell me what is wrong?
I will surely try to get logcat but before that if you can just analyze this updater-script and pinpoint the mistakes it'll make my work a lot easier.
Thanks in advance :good:
Sent me the entire .zip file instead (but start with updater-script)
~~Regards
mrjraider said:
Sent me the entire .zip file instead (but start with updater-script)
~~Regards
Click to expand...
Click to collapse
Sure thing I'll
I am compressing it to maxium extent using KGB archiver and it'll become around 10~20 mb only
It's still compressing so it'll take some time before it reaches it's max compression.
I'll surely send you asap

[Q&A] [JANICE][OFFICIAL][DEVELOPMENT] - CrystalPA 6.00 - Android 4.4.4 - CRX Team

Q&A for [JANICE][OFFICIAL][DEVELOPMENT] - CrystalPA 6.00 - Android 4.4.4 - CRX Team
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [JANICE][OFFICIAL][DEVELOPMENT] - CrystalPA 6.00 - Android 4.4.4 - CRX Team. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Good to see someone doesn't forgot our mob :highfive:
When update ??.. project lost ???
Where is t
Where is the download link for v8.00 ? I found only 7.00 in the website :/
Where can i download the gapps?
MuhdMuzakkir said:
Where can i download the gapps?
Click to expand...
Click to collapse
Anywhere. Just search XDA 4.4.4. gapps.
Problems
Can't download the file from crxteam page. do you guys have a new link?
Can anyone tell me how to replace keyboard apk in system folder ? Do I need to resign the apk? Or what am I missing? Seems that Whatever I try, it doesn-t want to work at all ( with custom keyboards )
pictorul20 said:
Can anyone tell me how to replace keyboard apk in system folder ? Do I need to resign the apk? Or what am I missing? Seems that Whatever I try, it doesn-t want to work at all ( with custom keyboards )
Click to expand...
Click to collapse
You can just put it in data, no need to be in system partition. And probably it is because it is not signed.
P.S. Try to put same permission like on other apks there. 644
shut_down said:
You can just put it in data, no need to be in system partition. And probably it is because it is not signed.
P.S. Try to put same permission like on other apks there. 644
Click to expand...
Click to collapse
to make things clearly, maybe i didin-t say all the right story ............. I am trying to make a full blacked out rom ( Fully with only hdpi icons ) so ........ that all been said , I need every apk to be modified in order to achieve this goal ( I must to confirm, I gained some more free ram and more space for installing apk-s ) so .......... thing is ........... i get errors with camera2.apk and with latinIME.apk everytime I try to repack the apk and replace with the quote stock keyboard . no matter if i try to sign/unsign it ......... it doesn„t like the repack process or maybe I-m missing something? Maybe it needs to be recompiled? I did this method for every other apk that can be found in system folder, without problems. Only camera 2 and LatinIME gave me those nasty errors.....maybe they are repacked in other way ?
P.S : I-m on dark cm rom , so yeahh........ that-s my experiment rom .
L.E : I found out that I don-t have to repack the apk. I only need to zip it normally without any modification like decompiling or whatever else
pictorul20 said:
to make things clearly, maybe i didin-t say all the right story ............. I am trying to make a full blacked out rom ( Fully with only hdpi icons ) so ........ that all been said , I need every apk to be modified in order to achieve this goal ( I must to confirm, I gained some more free ram and more space for installing apk-s ) so .......... thing is ........... i get errors with camera2.apk and with latinIME.apk everytime I try to repack the apk and replace with the quote stock keyboard . no matter if i try to sign/unsign it ......... it doesn„t like the repack process or maybe I-m missing something? Maybe it needs to be recompiled? I did this method for every other apk that can be found in system folder, without problems. Only camera 2 and LatinIME gave me those nasty errors.....maybe they are repacked in other way ?
P.S : I-m on dark cm rom , so yeahh........ that-s my experiment rom .
L.E : I found out that I don-t have to repack the apk. I only need to zip it normally without any modification like decompiling or whatever else
Click to expand...
Click to collapse
Read part titled Signing: http://forum.xda-developers.com/showthread.php?t=2295002
Hi, i used the 8.00ver, but camera apk doesn't work. How can i solve this probleme?
Mocsokba said:
Hi, i used the 8.00ver, but camera apk doesn't work. How can i solve this probleme?
Click to expand...
Click to collapse
Just curious: where did you get CPA 8.00.
AFAIK ver 7.00 is the latest one for the SGSA.
rog_star said:
Just curious: where did you get CPA 8.00.
AFAIK ver 7.00 is the latest one for the SGSA.
Click to expand...
Click to collapse
Sorry, your right. I was on 7.00ver
Hello devs, and thank you for sharing your ROM with us.
I got a question. When I got missed call notification for the very first time after installation I have swiped it to the left. Then, i was asked if I want to enable opening apps in floating window after swiping notification to the left. I pressed "Yes", but now I regret that decision. Now, the question - how to disable opening app in window after swiping notification? I cannot find any kind of settings.
davider said:
Hello devs, and thank you for sharing your ROM with us.
I got a question. When I got missed call notification for the very first time after installation I have swiped it to the left. Then, i was asked if I want to enable opening apps in floating window after swiping notification to the left. I pressed "Yes", but now I regret that decision. Now, the question - how to disable opening app in window after swiping notification? I cannot find any kind of settings.
Click to expand...
Click to collapse
@davider Go to setting - Backup & reset - reset prefernce...i think there should be reset option to disable floating window
new version
a new version 8.50 is available on the crx site, dont know about the stability any one tried it?

Categories

Resources