[DEV] Help about compiling from AOSP + Mods - Nexus One Android Development

Hi everyone,
I have some question regarding the AOSP compiling.
Hope you will help me and that It will help others.
Synopsis:
- I get the source
- I extracted files
- I setup my environment
- I "lunch" full_passion-user
- I "make"
Story:
The output folder is out/target/product/passion
In here there is a system folder and a system.img file.
If I change something in the system folder, a make applied the changes and I can fastboot flash.
When I'm modding an APK (lets say an XML), I rm the APK in the system folder so that it will be re-compiled.
Now I'm trying to incorporate Mods from Cyanogen, Wysie etc.
So I rm -rf the concerned folder (lets say packages/app/X), rm the APK in the system folder and then "make X".
But I always get errors regarding System.System preferences etc.
"symbol does not exists" such as ORIENTATION_180 etc.
And I have a lot a problems to incorporate modded frameworks/base and frameworks/policies/base.
Questions:
- Is this the faster way to update an APK (rm then make)?
- Will "make" alone re-done the all out folder?
- HowTo incorporate modded apps / frameworks?
- HowTo add System.System preferences?
Thx a lot for all your answers

Might not be much help since you know about this but i would say check this out http://developer.android.com/guide/index.html
you can find everything you want there.

johnnie93 said:
Might not be much help since you know about this but i would say check this out http://developer.android.com/guide/index.html
you can find everything you want there.
Click to expand...
Click to collapse
well thx for that but you can guess I know the link.
The fact is English is not my native language.
So:
- I might have missed something
or
- It does not tell how to merge a mod into the AOSP
Thx anyway

Did you check this ?
http://source.android.com/source/life-of-a-patch.html

johnnie93 said:
Did you check this ?
http://source.android.com/source/life-of-a-patch.html
Click to expand...
Click to collapse
Yeah... well I'm sorry but the only thing I understand of this is the way OFFICIAL patches are merged into AOSP.
Still can't found out how to properly merge mods into AOSP...
But thx again

Shoukd I ask in Dev forum?
No one here is compiling from AOSP and merging Mods?

Actually I kind of hal-answered one of my four questions:
http://github.com/CyanogenMod/andro...mmit/8ef3c6aa9ef3b9b2b855318327b5ed6c02b85fdc
This is how add a System.System or System.Secure setting... just put a var into the class

EDIT:
I now successfully build.
Thx.
Thread closed.

Related

[ROM] (21/5/12) Renaissance for YP-G1 V3.0 (FINAL)

I decided to make my first custom rom. The main difference over klin1344's klassic is the fact that we can customize what we want with the aroma installer. As of now, there's no customised interface (and there will not be. Consider this like WT Ho's rom for the 5.0).
I stop working on it because I want to try something other than stock. Also thanks for your consideration for this rom. (I will continue the maintenance of it though)
Features:
- Stock 2.3.6 XXKPQ
- Rooted
- Busybox
- Deodexed
- Zipaligned
- Aroma installer: An interactive installer
- Multiple bootanimations.
- Choice between TW 3.0, TW 4.5, Go launcher EX, Xperia S launcher
- Possibility to install DSP manager and voodoo app (for sound enchance)
- Features the CWM 5.0.2.7 (Intl Only. Kernel based from steve's 3.0) (V.1.0)
- US users will recieve the latest klin's R2 custom kernel* (V.1.0).
- Intl and US compatibility in a single zip. (v.2.0)
- SuperSU (v.3.0)
Changelog:
Code:
[B]V.3.0 (Vita) FINAL [/B]
- Deodexed and Zipaligned
- SuperSU is used instead of SuperUser
- Updated Google Play Store, Maps and Youtube app (Can play 720p) (It's real this time)
- Possibility to add Antutu Cpu Master Free (For Overclock)
[B]V.2.0 (Radiance)[/B]
- Name changed only to Renaissance
- Possibility to chose the device type (Thanks to dark_valor's Terra Silent)
- New Honeycomb bootanimation
- Possibility to add terminal to the rom
[B]v.1.0 (Etincelle)[/B]:
- Initial Release.
Download:
1.0
Intl: Intl Renaissance 1.0 Download
US: US Renaissance 1.0 Download
2.0: Renaissance 2.0 Download
3.0: Renaissance 3.0 Download
If you want there's the Xperia S Wallpapers: Xperia S Wallpapers Download
If there's a problem with antutu, install the apk here: Cpu Master Apk Download
If there's a problem with terminal reinstall it.
Instructions:
1. Boot into Cwm
2. Backup
3. Wipe data (BEFORE IT IS MANDATORY)
4. Run renaissance-device.zip
5. Follow the instructions.
6. Reboot
7. Enjoy!
If you do like please hit thanks button. If you have problem with installation, Send me .log file in aroma. If it's problem with the rom please let me know.
Thanks to:
amarullz: for Aroma installer
Klin1344, SteveS and stratosk for the kernel related things.
WT Ho for his base for aroma installer. (and help too )
GO Dev Team , Fr4gg0r and ra3al for their launcher
Dark_balor for his kernel (terra silent)
Jackpal for the terminal emulator
Antutu for the CPU Master
As this is the last version, If you want to use something in the rom (porting) ask me first.(Mostly for Aroma)
These are the possible implementations (suggestions)
- Deodex
- Performance tweaks
- More customisation options
- Better compatibility with apps (Like deviceID hack)
reserved again
screenshots please?
EcHoFiiVe said:
screenshots please?
Click to expand...
Click to collapse
Oh sorry about that. I will put them tomowrrow. (that depends which screenshots you want?)
Is ext4 enabled for data and dbdata? From stock its stuck at rfs.
Wheatly said:
Is ext4 enabled for data and dbdata? From stock its stuck at rfs.
Click to expand...
Click to collapse
Well I didin't enable ext4 so data and dbdata will be stuck at rfs. Sorry about that.
Does the CWM 5 in the kernel I gave you work well? Because when I gave it to you there seemed to be a lot of errors... But if it does, I'll probably apply those changes back to my kernel again and update to cwm 5 because it allows easier converting to ext4. Also, did stratosk give you permission because I used his cwm recovery files from his sources. (just making sure, so he doesn't come and flame me for porting cwm5 from his sources without permission)
Sent using Tapatalk
When you sent it to me back then it wasn't working well. So I fixed the errors on it (I did send a PM for you for testing). I do got permission from stratosk (that's why I put him in the thanks section.) I think I have the US kernel in my mediafire account. I'll upload it so both devices will have justice.
zaclimon said:
When you sent it to me back then it wasn't working well. So I fixed the errors on it (I did send a PM for you for testing). I do got permission from stratosk (that's why I put him in the thanks section.) I think I have the US kernel in my mediafire account. I'll upload it so everyone will have justice.
Click to expand...
Click to collapse
Ok thanks. But how exactly did you fix it? I didn't flash the kernel you gave me but where are your sources? (the Linux kernel is GPL licensed, so it's mandatory to have a source )
Sent using Tapatalk
Never mind for now I will just extract the initrd from your kernel and use git to track the changes from the one I sent to you.
But really, you need to provide a source if you release a kernel, as per the GPL license.
Sent using Tapatalk
From which release of the Klin rom you based yours ?
If it's from the R5, did you had the font that were missing ?
Is it supercharged ?
For the kernel I'm also curious to know what are the change you have done
Dark_Balor said:
From which release of the Klin rom you based yours ?
If it's from the R5, did you had the font that were missing ?
Is it supercharged ?
For the kernel I'm also curious to know what are the change you have done
Click to expand...
Click to collapse
He based it off stock rom. Tomorrow I'll figure out how he fixed cwm 5.0.2.7 from his initramfs.
Sent using Tapatalk
klin1344 said:
Never mind for now I will just extract the initrd from your kernel and use git to track the changes from the one I sent to you.
But really, you need to provide a source if you release a kernel, as per the GPL license.
Sent using Tapatalk
Click to expand...
Click to collapse
I had the source before but my ubuntu 12.04 bugged with my old computer (nvidia problem) so I downloaded 11.04 but I forgot to do a backup.
zaclimon said:
I had the source before but my ubuntu 12.04 bugged with my old computer (nvidia problem) so I downloaded 11.04 but I forgot to do a backup.
Click to expand...
Click to collapse
If you can extract the initramfs then that's basically your source because cwm is only an initramfs change.
But again, how did you do it? Surely you remember what changes you did? It sounds like a minor tweak because you sent me your kernel a matter of hours after I sent you mine.
Btw, you know that you can downgrade ubuntu without losing data right? Ndiswrapper wasn't working on 12.04 so I put my 11.04 disc in and was able to install without losing all my personal files.
Sent using Tapatalk
klin1344 said:
If you can extract the initramfs then that's basically your source because cwm is only an initramfs change.
But again, how did you do it? Surely you remember what changes you did? It sounds like a minor tweak because you sent me your kernel a matter of hours after I sent you mine.
Btw, you know that you can downgrade ubuntu without losing data right? Ndiswrapper wasn't working on 12.04 so I put my 11.04 disc in and was able to install without losing all my personal files.
Sent using Tapatalk
Click to expand...
Click to collapse
I made some changes to the init.rc and lpm.rc I think.
Screenshots like Homescreen, App drawer, Notification place thingy, and settings.
EcHoFiiVe said:
Screenshots like Homescreen, App drawer, Notification place thingy, and settings.
Click to expand...
Click to collapse
Because it is a stock rom (with multiple apps) I won't put screenshots. Once 2.0 will be released (UI modifications) I will put them. You can backup and try it?
zaclimon said:
When you sent it to me back then it wasn't working well. So I fixed the errors on it (I did send a PM for you for testing). I do got permission from stratosk (that's why I put him in the thanks section.) I think I have the US kernel in my mediafire account. I'll upload it so both devices will have justice.
Click to expand...
Click to collapse
zaclimon said:
I made some changes to the init.rc and lpm.rc I think.
Click to expand...
Click to collapse
Ok, I just used git to check your initramfs for your INTL kernel, and lpm.rc is exactly the same as my source, and in init.rc it's also the exact same thing as my source for the CWM 5.0.2.7 beta (not on github anymore), except that you forgot a '/' in enabling bootanimation support.
So I'm confused. When I gave you my kernel, there seemed to be many errors because I was screwing with my partition filesystems, and also got a lot of "md5 mismatches" when trying to convert, so I decided to stop and work on other things. You got it working, and you claimed that you "fixed the errors in init.rc and lpm.rc" without proof with a proper source when you CHANGED NOTHING AT ALL. You probably just got lucky with CWM restoring and no md5 mismatches like I had. So you're releasing a kernel with a CWM 5 port that I completely did, and claiming that YOU fixed most of the errors and got it working when proof shows that all you did was download my source before I deleted it and simply compiled them with SteveS's one click compiling script.
And since you don't have a Github account or a source of any sort, you thought you could get away with tricking everybody that you "fixed the CWM errors", when the work was originally done by me. You changed nothing at all. It was not my intention to flame you, but seriously, I am disapointed . I'm really discouraged and very tempted to just take down all my work for the Galaxy Player and just keep all the development to myself. Maybe that's why precious devs keep leaving XDA because people just use someone else's work and package it as their own. Learn to give proper credit to other people, and if you really didn't make something, don't act or say that you did.
Ok, I'm done. Really needed to vent.
klin1344 said:
Ok, I just used git to check your initramfs for your INTL kernel, and lpm.rc is exactly the same as my source, and in init.rc it's also the exact same thing as my source for the CWM 5.0.2.7 beta (not on github anymore), except that you forgot a '/' in enabling bootanimation support.
So I'm confused. When I gave you my kernel, there seemed to be many errors because I was screwing with my partition filesystems, and also got a lot of "md5 mismatches" when trying to convert, so I decided to stop and work on other things. You got it working, and you claimed that you "fixed the errors in init.rc and lpm.rc" without proof with a proper source when you CHANGED NOTHING AT ALL. You probably just got lucky with CWM restoring and no md5 mismatches like I had. So you're releasing a kernel with a CWM 5 port that I completely did, and claiming that YOU fixed most of the errors and got it working when proof shows that all you did was download my source before I deleted it and simply compiled them with SteveS's one click compiling script.
And since you don't have a Github account or a source of any sort, you thought you could get away with tricking everybody that you "fixed the CWM errors", when the work was originally done by me. You changed nothing at all. It was not my intention to flame you, but seriously, I am disapointed . Maybe that's why precious devs keep leaving XDA because people just use someone else's work and package it as their own. Learn to give proper credit to other people, and if you really didn't make something, don't act or say that you did.
Ok, I'm done. Really needed to vent.
Click to expand...
Click to collapse
ok don't go blaming me BECAUSE IT GOT ERRORS when YOU sent it to me. I corrected some errors but I can't remember which ones is it. I can't get lucky if EVERY of my backups works(Because I got errors for md5 mismatch as well too). It is sure that your init files are the same because I used some of the text you used when you were building YOUR R1 kernel. (so basically I used some of your sources) but you were always complaining about ext4 not working so you gave up on CWMR5.0. and when I said I've fixed them you didin't tested it. DON'T GO COMPLAINING IF YOU DIDIN'T EVEN TESTED IT. (also check all the init files to be sure and also check the thanks it is `kernel related things`.) -___-
EDIT: If you want all the credits. You can have them. I should have said that you made all the changes but the problem was that you gave up on CWMR5.0 so I was like (The kernel works now but I won't release it because you already have your custom kernel with CWMR3.)

[KERNEL MODULE] Make /system writeable

This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
Download:
Kernel version 3.0.21-g6c11713: http://goo.gl/u39km
Kernel version 3.0.21-gfdb1a80: http://goo.gl/5hRmU
Click to expand...
Click to collapse
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Please hit the Thanks button if you download this
If you really like it, please consider buying me a beer
Source code: http://goo.gl/VmSwe
This is a great news...
I think most people is using kernel version 3.0.21-g6c11713
as this comes with the EU & Asia ROM.
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet and it might crash your device
flar2 said:
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet
Click to expand...
Click to collapse
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
ckpv5 said:
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
Click to expand...
Click to collapse
Great! Thanks for testing.
I'll update the OP.
While I'm at this are there any other kernel versions in use?
ckpv5 said:
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
Click to expand...
Click to collapse
Either way will work fine
Anyway, you're no noob, I used your ROMs back when I had a One V, top notch stuff!
flar2 said:
Either way will work fine
Click to expand...
Click to collapse
Yep.. confirm either way works fine.
Thanks again for this great mod
flar2 said:
This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Source code: http://goo.gl/VmSwe
Click to expand...
Click to collapse
Thank you so much for making this.
Yes, yes, yes!!
Finally i can remove sh*t and integrate updates into system with link2sd on my desire x
thanks man!
@ckpv5
thanks for the addon you made for your mysense-rom
Thanks man, looks great.
I'll add this in Half~Sense V 0.8
Sent from my awesome fridge
Added to Index, a very usefull tool.
It works, added it as an init.d script.
Adding in V.0.8
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
monopoly said:
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
Click to expand...
Click to collapse
cpkv5 made some zip for mySense: Link. It's working for me.
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
ckpv5 said:
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
Click to expand...
Click to collapse
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
gbueno6 said:
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
Click to expand...
Click to collapse
You CAN''T change CID without S-OFF.
Stereo8 said:
You CAN''T change CID without S-OFF.
Click to expand...
Click to collapse
I know, but I saw some topics regarding change CID with S-ON in One S so I just wanted to try (with no luck).
Well, I really want to S-OFF so I can flash kernels from recovery...
Sent from my HTC branded muffin...

[ROM] MIUI V5 based on Stock Jelly Bean

Hallo, this is unoficialll MIUI V5 for Xperia Go based on STOCK JB rom!
First thing that I must to say is "disclaimer":
Everything that is not originally maded by Sony is custom thing, so everything from here is modified Sony files and these files is "custom files"! So before you go to play with these modified files keep in mind that everything from here is custom thing and you installing these things on your own risk! I no want and I will not be responsible if something go wrong, if you lost your private data, if your device can not boot ...etc...etc, you doing everything on your own risk!!! If you no want to risk than skip this thread!!!
Rom is complete but not for daily use! All patches is welcome!
git:
https://github.com/munjeni/miui_v5_lotus
[QUOTE [...] ]have some popup messages with error to phone apk[/QUOTE]
:good:
First impressing after looking through rom-folders is framework-res is "mighty fat". Its nearly double-sized than stock ones.
I have no time to check framework-res because I need to fix smali bugs which prevent first "stable" screen. If some one want to contribute and fix remaining bugs, here is temp folder -> http://munjeni.homeunix.com/temp after initial patchings so we need to look into reject folder and fix remaining smalis to get rom working! If some one patched (and tested) something please attach it here (only working things!) !
My git is here -> https://github.com/munjeni/miui_v5_lotus
Because Micode have no mdpi apks I used them from MIUI V5_MINI PRO_3.4.19
Good news for you, got it!
How to:
remove Phone.apk from /system/app (phone can not boot using this apk! Only a way by now is removing them. Framework smalis need patchings to get this apk and mobile networks working!)
remove Provision.apk from /system/app (Whats use of this apk???)
remove SEMCSetupWizard.apk from /system/app (phone can not boot using this apk)
replace android.policy.jar using file from attachment
Install these modified zip and you are done :good:
You can start reporting everything about this rom! Rom need a lot of work and I have no free time by now to work in them, hope some one use them and patch all remaining bugs! This rom you can use as a base! Hope Sola, P and U guys use this rom and finish them! Rom is 80% finished, 20% is bugs! Enjoy!!!
munjeni said:
Good news for you, got it!
How to:
remove Phone.apk from /system/app (phone can not boot using this apk! Only a way by now is removing them. Framework smalis need patchings to get this apk and mobile networks working!)
remove Provision.apk from /system/app (Whats use of this apk???)
remove SEMCSetupWizard.apk from /system/app (phone can not boot using this apk)
replace android.policy.jar using file from attachment
Install these modified zip and you are done :good:
You can start reporting everything about this rom! Rom need a lot of work and I have no free time by now to work in them, hope some one use them and patch all remaining bugs! This rom you can use as a base! Hope Sola, P and U guys use this rom and finish them! Rom is 80% finished, 20% is bugs! Enjoy!!!
Click to expand...
Click to collapse
Ok :good:
I got this rom compiled, signed, installed without errors, but get BL after Kernel. So, i will try your hints. Maybe it need to fix also some things in build.prop.
akkufix said:
Ok :good:
I got this rom compiled, signed, installed without errors, but get BL after Kernel. So, i will try your hints. Maybe it need to fix also some things in build.prop.
Click to expand...
Click to collapse
No need to edit build.prop its edited by default by micode, only you need to use 2 libs from stock rom (libhwui.so and libjni_latime.so) and one binary (installd) and add them to your rom zip, allso you can use all frameworks from current rom and add to your rom zip, allso you need to add shelld service to ramdisk, and allso you need to remove some apk from your zip (see previous post) and you will get rom working!
Make sure compile hdpi apks instead of xhdpi (you need to find where is xhdpi definition and change them to hdpi)... !
Edit:
Forgot to let you know something. You need:
adb shell chmod 06755 /system/xbin/*
adb shell chmod 755 /system/bin/*
...because some files have no right permission!
munjeni said:
No need to edit build.prop its edited by default by micode, only you need to use 2 libs from stock rom (libhwui.so and libjni_latime.so) and one binary (installd) and add them to your rom zip, allso you can use all frameworks from current rom and add to your rom zip, allso you need to add shelld service to ramdisk, and allso you need to remove some apk from your zip (see previous post) and you will get rom working!
Make sure compile hdpi apks instead of xhdpi (you need to find where is xhdpi definition and change them to hdpi)... !
Edit:
Forgot to let you know something. You need:
adb shell chmod 06755 /system/xbin/*
adb shell chmod 755 /system/bin/*
...because some files have no right permission!
Click to expand...
Click to collapse
Sure, i already put "local-density := HDPI" in makefile
Permissions... i didn't look after the in xbin - /bin is set.
Good news for P guys Got booted for Xperia P
Working: Launcher, Statusbar, Toggles and also task manager!
not working: anything else (even file explorer won't open and get reboot on lock! but will try to fix )
EDIT:
got working other Mi programs by replacing android.policy.jar (so it's a smali bug) but modems are not working and settings is a bit miss sized
will try to fix these :good:
hope we can get a fully working MIUI V5 :fingers-crossed:
Well, since you have working build you can start patching frameworks. You no need to use patchrom anymore, just simple using apktool you can patch a rest of smalis trought "reject" folder / reading logcat...
sijav said:
Good news for P guys Got booted for Xperia P
Click to expand...
Click to collapse
great news! good job!
why don't u share ur work with dron_GTR or dimon2242 from the xperia p dev section? they worked on MIUI before and can maybe help patching
go for some teamwork and we have MIUI v5 up and running in no time
teamwork is the best work
thanks munjeni! thanks devs!
tapatalked!
stothegee said:
great news! good job!
why don't u share ur work with dron_GTR or dimon from the xperia p dev section? they worked on MIUI before and can maybe help patching
go for some teamwork and we have MIUI v5 up and running in no time
teamwork is the best work
thanks munjeni! thanks devs!
tapatalked!
Click to expand...
Click to collapse
I recently buy Xperia P didn't know these guys but thnx and will share with them
Indexed
Added to Index :highfive: keep up the great work!
hey Munenji..
I love miuiv5 .. but i can't download this torrent.. and can you tell that when will you fix its bugs and make it ready for daily use .
Maybe never, maybe soon, I don't know! Now I am very satisfied with stock rom + ex.se and simple thinking stock rom is better that MIUI, so no need by now to waste time in making bug clean MIUI v5 Hope some one use them and finish them?!
well, all the good stuff from miui are in the ex.se so..
And for those who want the "iphonish" look, just ad the miui launcher found at playstore
I just love MIUI music Player, sad that is not ported to another rom
Sent from my Xperia Go using xda app-developers app
@munjeni - Have you tried building the ROM on top of the latest firmware available? Maybe the changes needed with it are less troublesome.
Fortun said:
@munjeni - Have you tried building the ROM on top of the latest firmware available? Maybe the changes needed with it are less troublesome.
Click to expand...
Click to collapse
Porting MIUI will ever be difficult for our phones, because we haven't "standart hardware", like ST-E U8500 chip, mali gpu and some other things. So, whatever rom we would like to port needs to get the drivers for that. It would be quiet easier, if we have a Qualcomm chip and an Andreno gpu.
akkufix said:
Porting MIUI will ever be difficult for our phones, because we haven't "standart hardware", like ST-E U8500 chip, mali gpu and some other things. So, whatever rom we would like to port needs to get the drivers for that. It would be quiet easier, if we have a Qualcomm chip and an Andreno gpu.
Click to expand...
Click to collapse
true, but MIUI sure is worth it
wouldn't it be easier to wait for a stable cm10 and use that to port from another cm10 based rom?
Sent from my LT22i using Tapatalk 4 Beta

Creating a flashable zip from a git commit

Hi guys, first i want to say that i'm a noob in android developing and i'm trying to learn, so don't kill me for my ignorance. I must also say that i'm not english, so pardon my bad english. Said this, let's go to the point: i want to create a flashable zip of PA's HALO
for my stock and rooted nexus 4. For all i know i must take the commit files and merge them in my decompiled ROM's folder, compile them and flash (or maybe try to run it in an android emulator first?) Well i'm facing a lot of problem: 1 i can't even get git commit files (yes i have git installed) 2 even if i succeed to get the files and compile my ROM and it all works flawlessy i don't know how to make HALO as a flashable mod (i don't even know if it's possible) So, can someone please post here some links where i can learn how to accomplish this (or something similiar, it's just for learning) Also, is someone else interested in doing this? It's just a suggestion ^^
Thanks to all
P.s. Sorry if it's the wrong section.
P.p.s. Error in the title, should be "Create a flashable zip from a git commit"
Sent from my Nexus 4 using xda app-developers app
You can't. Halo is deeply ingrained in the frameworks and system.
Wayne Tech Nexus

[APP][HACK] Torch from CM-11 (Vanir) hacked to use burning_led mode

Hi!
As I couldn't find any simple torch that could handle burning_led mode provided by some u8500 kernels I hacked existing torch app. And since I don't have a working Android build tree I just decompiled existing one. I don't know if it will work on other cm roms, I'm not even sure if it'll work on a different build of Vanir, because I don't know how tightly apps are tied to a particular version of framework-res.apk.
I just needed it, it works for me and if anyone else finds it useful then great, but it's given 'as is'.
APK on mediafire
GIthub repo
It requires additional file permissions on sysfs to work:
chmod 666 /sys/class/camera/flash/rear_flash
chmod 666 /sys/class/camera/flash/burning_led
init.d script
mkaluza said:
Hi!
As I couldn't find any simple torch that could handle burning_led mode provided by some u8500 kernels I hacked existing torch app. And since I don't have a working Android build tree I just decompiled existing one. I don't know if it will work on other cm roms, I'm not even sure if it'll work on a different build of Vanir, because I don't know how tightly apps are tied to a particular version of framework-res.apk.
I just needed it, it works for me and if anyone else finds it useful then great, but it's given 'as is'.
APK on mediafire
GIthub repo
Click to expand...
Click to collapse
On which rom have u tested this modified apk?
pictorul20 said:
On which rom have u tested this modified apk?
Click to expand...
Click to collapse
Vanir nightly 4.4.4.111914
If it didn't work for you it's probably due to missing file permissions I forgot to mention - added them and init.d script to post #1
Sorry for the problem

Categories

Resources