[Q]Porting MiniCM 10 to golfu - HTC Desire C

Hey everybody,
I just learnt the method for porting ROMs...
So i am trying to port MINICM 10 from HTC Explorer to Desire C and i want to know whether there is no harm in doing so, i would be using cm 10 build 3 as a base ROM, so i hope when i complete the base rom and when i flash it, it doesn't brick my phone !
I am still very junior over here in this section but i still want to port this ROM...Please everybody give me your suggestions so as to if there is any harm in doing so !
Thanks in advance

warrior1208 said:
Hey everybody,
I just learnt the method for porting ROMs...
So i am trying to port MINICM 10 from HTC Explorer to Desire C and i want to know whether there is no harm in doing so, i would be using cm 10 build 3 as a base ROM, so i hope when i complete the base rom and when i flash it, it doesn't brick my phone !
I am still very junior over here in this section but i still want to port this ROM...Please everybody give me your suggestions so as to if there is any harm in doing so !
Thanks in advance
Click to expand...
Click to collapse
It's perfectly safe. Plus it's easy to port from HTC Explorer!
Just extract both
- Delete from golfu and Copy Apps, Media, Framework, and Fonts from pico to Golfu
- The go to etc>init.d, delete all except banner or something and don't copy the ones from pico yet
- Go to etc>permissions Copy the permissions from pico except platform and handheld_hardware
- Go to system>lib and copy over libmedia, libandroid and libandroid_runtime
Change the boot.img's over, zip and flash, if it flashes and boots, great! Go back an edit the build.prop using notepad++
If you get errors like set_perm failure, open the updater script in the meta inf folder, and copy the set_perm para from pico and paste in golfu
Reflash.
If it boots, add in the init.d scripts and reflash, may or may not boot.
it may or may not have root access.
Use NOPE boot.img

bionicsquirell said:
It's perfectly safe. Plus it's easy to port from HTC Explorer!
Just extract both
- Delete from golfu and Copy Apps, Media, Framework, and Fonts from pico to Golfu
- The go to etc>init.d, delete all except banner or something and don't copy the ones from pico yet
- Go to etc>permissions Copy the permissions from pico except platform and handheld_hardware
- Go to system>lib and copy over libmedia, libandroid and libandroid_runtime
Change the boot.img's over, zip and flash, if it flashes and boots, great! Go back an edit the build.prop using notepad++
If you get errors like set_perm failure, open the updater script in the meta inf folder, and copy the set_perm para from pico and paste in golfu
Reflash.
If it boots, add in the init.d scripts and reflash, may or may not boot.
it may or may not have root access.
Use NOPE boot.img
Click to expand...
Click to collapse
Yaa thanks buddy i know how to port was just thinking if there was no harm to flash it...
Thanks once again !

warrior1208 said:
Hey everybody,
I just learnt the method for porting ROMs...
So i am trying to port MINICM 10 from HTC Explorer to Desire C and i want to know whether there is no harm in doing so, i would be using cm 10 build 3 as a base ROM, so i hope when i complete the base rom and when i flash it, it doesn't brick my phone !
I am still very junior over here in this section but i still want to port this ROM...Please everybody give me your suggestions so as to if there is any harm in doing so !
Thanks in advance
Click to expand...
Click to collapse
theres always a risk of soft brick, which is bootlooping. Its an easy fix, just reboot into recovery and restore your backup or flash cm10 for you device
P.S: do a full wipe before flashing port roms as a dirty flash causes bootloops

I have successfully ported minicm 10...check my signature!
Thanks for your support !

Related

[Q]Problem integrating framework modified in the ROM

Hello, i've a problem with my ROM:
when i put the framework into the ROM Cooked, on the first boot I get some errors and vibrations. Installing only recovery framework it works fine. The ROM is Signed with Android Signer
What's wrong?
Help
Help Me MASTERS
DocRambone, Darkyy, Jim_panse ecc..
Please ...
To start, this is in the wrong section.
Now for a few guesses on my part based on the vague diagnosis u provided.
1. U decompiled the framework-res and recompiled, in essence changing the digest of the manifest and hence only a push through recovery is valid.
2. You signed the framework-res in which case, well you shouldnt (copy meta-inf from original apk)
3. "Adb logcat" is your best friend (not literally i hope). Use it to find out where you went wrong, yes it's in english not "code" so it shud help you find out what it's complaining about.
velenoso84 said:
Hello, i've a problem with my ROM:
when i put the framework into the ROM Cooked, on the first boot I get some errors and vibrations. Installing only recovery framework it works fine. The ROM is Signed with Android Signer
What's wrong?
Help
Click to expand...
Click to collapse
what i9000 version do you have?
Thanks.
I have GT-I9000. The ROM and Framework is this http://forum.xda-developers.com/showthread.php?p=9807217#post9807217 I Want work JPU
Sent from my GT-I9000 using Tapatalk
Daneshm90 said:
To start, this is in the wrong section.
Now for a few guesses on my part based on the vague diagnosis u provided.
1. U decompiled the framework-res and recompiled, in essence changing the digest of the manifest and hence only a push through recovery is valid.
2. You signed the framework-res in which case, well you shouldnt (copy meta-inf from original apk)
3. "Adb logcat" is your best friend (not literally i hope). Use it to find out where you went wrong, yes it's in english not "code" so it shud help you find out what it's complaining about.
Click to expand...
Click to collapse
I just tried apkmanager 4.9 + apktools 1.3.1 and undergoing rebuilding me no errors.
I decompiled and recompiled twframework framework and without touching anything, I put in the ROM, I did the flash recovery but still have the same problems.
excuse for English
check the logcat, i bet you find your answer there
The comand is adb logcat > logAndroid.txt?
Hi guys I'm a friend who is helping velenoso84 in this work. When we flash rom with new framework the phone after bootanimation logo start to vibrate. We tried to use the logcat but him return only:
* daemon not running. starting it now *
* daemon started successfully *
Whyyy?????
Help me please guys

[Q] Kitchen - problem flashing

i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App

[Q] How to make Custom Rom ?

Did anyone has tried the dsixda Android Kitchen to make a custom rom for OB ? Is it working ?
http://forum.xda-developers.com/showthread.php?t=633246
or just give me a link to very helpful site about how to make custom rom for OB
For starters, yes it works. but nothing compares as to compiling and building from source (Linux).
What you need is a mere system dump or backup from CWM.
That backup will be saved in your CWM folder in SD
Grab the boot.img & system.ext3.tar
unpack the .tar with a zip/RAR propgram
grab a base upater script from the many ROMs around here
Now for a start:
your base ROM like Zeus etc.
Delete the system folder and boot.img from that zip.
Replace files.
Use dsixda kitchen via cygwin (windows)
Now do as you please... it can unpack boot.img and add features like init.d etc.
Adding apps:
Apps can be added together with som libs (system/lib). Example: Terminal Emulator. the lib is some "jackpal" or something. .
When you download an app, apk will be saved in data/app in your phone. The lib or added files will be saved in data/data/(app name folder)/lib. Grab the apk and insert in system/app (kitchen's working folder). Grab the lib and insert it in system/lib (kitchen's working folder).
gabwerkz said:
For starters, yes it works. but nothing compares as to compiling and building from source (Linux).
What you need is a mere system dump or backup from CWM.
That backup will be saved in your CWM folder in SD
Grab the boot.img & system.ext3.tar
unpack the .tar with a zip/RAR propgram
grab a base upater script from the many ROMs around here
Now for a start:
your base ROM like Zeus etc.
Delete the system folder and boot.img from that zip.
Replace files.
Use dsixda kitchen via cygwin (windows)
Now do as you please... it can unpack boot.img and add features like init.d etc.
Adding apps:
Apps can be added together with som libs (system/lib). Example: Terminal Emulator. the lib is some "jackpal" or something. .
When you download an app, apk will be saved in data/app in your phone. The lib or added files will be saved in data/data/(app name folder)/lib. Grab the apk and insert in system/app (kitchen's working folder). Grab the lib and insert it in system/lib (kitchen's working folder).
Click to expand...
Click to collapse
many thanks gabwerkz. I had been searching ebook The Complete Idiot's Guides to custom rom, but I think the book has not published yet.
I only once tried to cook with kitchen, but that's waaaaay back and there I simply had no clue, of what I am doing and those days, the cust ROM I made, didnt work, but I simply randomly applied mods/tweaks and also had no clue of how things like updater-script work, but now I do and maybe as soon as I got some time again (in about 2 months ) I'll give it another shot and also read a lot about deving on my own and all the stuff related to it. Then maybe I'll be able to help all the cookers here out in a better way, cause until now, I only got the basics
You can start with simply things, like extracting the files with a packer, remove LG bloatware, add files/patches, you can find in dev section, add apps you like and think others might like as well, change lockscreen, launcher, keyboard,...
Remember to always do this step by step and make a changelog for yourself, so you know, where you might have made a mistake (also important for others to be able to help you). Then repack your ROM, sign and test it, if it works properly, use kitchen, to zipaligne, deodex, change filesystem,... And as soon as you are satisfied, post it/PM the good ones in here, to test it and ask for opinions, what you might change next. Custom kernels are always cool, cause you can change way more, like governors, iosched,... But that will take more time to dev and a lot more time to test for errors
Hope this helps you out a bit
N00BY0815 said:
I only once tried to cook with kitchen, but that's waaaaay back and there I simply had no clue, of what I am doing and those days, the cust ROM I made, didnt work, but I simply randomly applied mods/tweaks and also had no clue of how things like updater-script work, but now I do and maybe as soon as I got some time again (in about 2 months ) I'll give it another shot and also read a lot about deving on my own and all the stuff related to it. Then maybe I'll be able to help all the cookers here out in a better way, cause until now, I only got the basics
You can start with simply things, like extracting the files with a packer, remove LG bloatware, add files/patches, you can find in dev section, add apps you like and think others might like as well, change lockscreen, launcher, keyboard,...
Remember to always do this step by step and make a changelog for yourself, so you know, where you might have made a mistake (also important for others to be able to help you). Then repack your ROM, sign and test it, if it works properly, use kitchen, to zipaligne, deodex, change filesystem,... And as soon as you are satisfied, post it/PM the good ones in here, to test it and ask for opinions, what you might change next. Custom kernels are always cool, cause you can change way more, like governors, iosched,... But that will take more time to dev and a lot more time to test for errors
Hope this helps you out a bit
Click to expand...
Click to collapse
Your post help me a lot... thanks... I will try what you told me todo...
And If your rom need a bootanimation just PM me right...

[ROM][DEV][WIP] MiUi V5 NOT BOOTING YET!

First things first, the ROM is NOT booting
This is a very early build of MIUI for the Xperia Z. It is based off the latest Cyanogenmod 10.1 RC5 release and the latest MIUI release for the Nexus 4.
All credits go to the FreeXperia team as well as the Cyanogenmod Team, whom without these forums would be very empty. Also credits to the MIUI team on this wonderful ROM
As mentioned, the ROM is not yet booting but hopefully together we can get it to work.
Progress:
I've currently managed to get it booting up to the boot animation but it freezes from there
Download - Here is my current progress so far if anyone wants to build upon it.
Download - DevHost mirror
Issues :
I need to add the lines
Code:
service shelld /system/xbin/shelld
class main
to init.rc within the ramdisk. However, the recompiled boot.img with the applied changes does not boot.
If anyone can apply these changes and get the kernel to boot it would be greatly appreciated!
Resolved, thanks to DooMLoRD
Logcat doesn't seem to work
Other issues are unknown at this moment in time.
To Do List:
[*]Compile a kernel with the ramdisk changes that actually boots
Fixed by DooMLoRD
Fix logcat on boot
Get ROM to actually boot!
Installation Instructions:
NOTE: ROM will not boot, these instructions are just for users who want to help out or debug. Thank you
Place ROM on SD card
Boot into recovery
Flash zip
Wipe data / factory reset
Reboot
Porting Steps:
These steps have mainly been taken from this thread, with the necessary changes needed.
Full credits go to the OP as well as many thanks to those who posted helpful suggestions and hints.
Step 1. Choose which ROM to use as base. I've decided to go with Cyanogenmod. I'm using the latest RC5 release, which I believe to be very
stable. However, you're welcome to use any other ROM as base but I'm unsure as to what the results may be.
Step 2. Choose ROM to port from. I originally used the MIUI ROM for the Nexus 4 but in future other devices, i.e. the Oppo Find 5, may prove to be a more viable option.
Step 3. Extract the contents of your base ROM to a folder. For example, C:\MIUI\CyanogenmodBASE\
You will have the following folders:
system
META-INF
You will also have the file boot.img
Open the folder named system. Now you will see the following folders:
addon.d
app
bin
etc
extras
fonts
framework
lib
media
semc
tts
usr
vendor
xbin
You will also have the file build.prop
Delete the following folders:
app
framework
media
fonts
Step 4.
Extract the contents of the ROM you're porting from to a folder. i.e. C:\MIUI\PortROM\
Copy the folders that you deleted from the previous step to the CyanogenmodBASE folder
Navigate to the lib folder, (located within the system folder of PortROM)
C:\MIUI\PortROM\system\lib
Copy the following files to the lib folder found in the system folder of CyanogenmodBASE
content-type.properties (used for themes)
liblbesec.so (Used for LBA guard, MIUI equivalent of SuperUser)
liblocSDK_2_5OEM.so (Used in location access)
libjni_resource_drm.so (Used for themes and DRM)
libshell.so (Shell service)
libshell_jni.so
libshellservice.so
Now, from the etc folder, (located within system folder)
Copy the file named telocation.idf , to the etc folder inside system in the CyanogenmodBASE folder.
Then, within the etc folder, navigate to the folder named permissions. Copy the following permission over to the etc folder inside the CyanogenmodBASE folder.
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
In the system folder of PortROM, navigate to xbin and copy and paste the following files to the xbin folder in CyanogenmodBASE.
su
shelld
That's all the folders and files that need to be copied over. You also need to unpack the kernel and apply the ramdisk changes that DoomLoRD did. Then you need to repack the kernel.
Finally add the system and META-INF folders as well as the repacked kernel to a zip file and you have your flashable ROM :good:
This guide is very messy and is quite rushed. I'll clean it up when I get time but I do apologise in advance. If there's anything you're unsure of about these steps just post a reply and I'll try to help out as soon as I can
I cross my fingers and hope that you can solve the problems. Bit great done this far, looking towards MIUI V5!
Sent from my C6603 using Tapatalk 4 Beta
fareeed said:
Issues :
I need to add the lines
Code:
service shelld /system/xbin/shelld
class main
to init.rc within the ramdisk. However, the recompiled boot.img with the applied changes does not boot.
If anyone can apply these changes and get the kernel to boot it would be greatly appreciated!
Logcat doesn't seem to work
Other issues are unknown at this moment in time.
Click to expand...
Click to collapse
post just the kernel.. i will add the changes u need...
also at which stage is the kernel u used getting stuck up?
PS: i tried downloading the ROM from the link you posted but the download never begins... may be u can provide alternate download link?
DooMLoRD said:
post just the kernel.. i will add the changes u need...
also at which stage is the kernel u used getting stuck up?
PS: i tried downloading the ROM from the link you posted but the download never begins... may be u can provide alternate download link?
Click to expand...
Click to collapse
Thanks Doom, adding DevHost Mirror now.
As for the kernel, I unpacked and repacked using championswimmers kernel kitchen. Editing and repacking is fine but when I flash the repacked kernel, I just get a single vibration but nothing on the screen. Have to hard reset and flash previous kernel to get it to boot again.
p.s. The guide I'm following said to leave a blank line at the end init.rc, could this have had any effect?
Here's the boot.img that I'm trying to edit
Update: Roughly 20 mins left for DevHost mirrorr :good:
Ahw, i love MIUI interface, with FullHD of Xperia Z and that colors will be wonderful!!
fareeed said:
Thanks Doom, adding DevHost Mirror now.
As for the kernel, I unpacked and repacked using championswimmers kernel kitchen. Editing and repacking is fine but when I flash the repacked kernel, I just get a single vibration but nothing on the screen. Have to hard reset and flash previous kernel to get it to boot again.
p.s. The guide I'm following said to leave a blank line at the end init.rc, could this have had any effect?
Here's the boot.img that I'm trying to edit
Update: Roughly 20 mins left for DevHost mirrorr :good:
Click to expand...
Click to collapse
here u go:
http://d-h.st/GsY
i have added the info u requested in the end of the init.rc file...
i have checked and the kernel booted on my Xperia Z...
i dont have the ROM so i cant test...
DooMLoRD said:
here u go:
http://d-h.st/GsY
i have added the info u requested in the end of the init.rc file...
i have checked and the kernel booted on my Xperia Z...
i dont have the ROM so i cant test...
Click to expand...
Click to collapse
Thanks Doom, much appreciated , 6 minutes left on the DevHost mirror guys
UPDATE: Here is the devhost mirror
Important
Instructions:
After download, replace boot.img in zip with newer boot.img that DooMLoRD has very kindly provided.
Place zip on SD card
Reboot into recovery
Backup (ROM isn't guaranteed to boot)
Flash zip
Wipe data / factory reset
Reboot
Then report here and see what happens. I'll test ASAP as well. Also if possible, please try and provide a logcat. It should be said that I was unable to get one the first time but hopefully someone can
Update 2: Just realised I was editing init.sh instead of init.rc whoops, well all in the name of learning I suppose. At least I know for next time haha
Is the kernel based on the Cyanogenmod kernel? Which recovery is included?
Michealtbh said:
Is the kernel based on the Cyanogenmod kernel? Which recovery is included?
Click to expand...
Click to collapse
Yep based on latest Cyanogenmod RC 5, I think the recovery is CWM 6.0.32
fareeed said:
Yep based on latest Cyanogenmod RC 5, I think the recovery is CWM 6.0.32
Click to expand...
Click to collapse
Thanks, should use recovery from the FOTAkernel partition then.
I'll test tomorrow if I get time
Tried using the newer kernel from DooMLoRD but still hangs at boot animation.
@DooMLoRD Do you know how I can get a log cat during the boot process so I can find out what's giving me errors? I tried the normal adb command but I'm guessing USB debugging needs to be on for that. I think there's something I need to edit in the build prop to force enable USB debugging on boot? Thanks for your help
I already tried to port miui with cm kernel and also it freeze on boot logo.
Will try to help you as much as i know starting from Monday.
Sent from my C6603 using xda premium
gm007 said:
I already tried to port miui with cm kernel and also it freeze on boot logo.
Will try to help you as much as i know starting from Monday.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Thanks, I appreciate any help I can get.
Main obstacle in my way is getting logcat to work on boot. If I can get that working, then I can get a better idea of what the errors are. I found some build prop stuff which might be worth a try
fareeed said:
Thanks, I appreciate any help I can get.
Main obstacle in my way is getting logcat to work on boot. If I can get that working, then I can get a better idea of what the errors are. I found some build prop stuff which might be worth a try
Click to expand...
Click to collapse
From which device are you porting?
I tried nexus4,but the problem is the full hd.
Sent from my C6603 using xda premium
1080P devices?
gm007 said:
From which device are you porting?
I tried nexus4,but the problem is the full hd.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
I'm not interested in MIUI but you might find this interesting.
http://bbs.gfan.com/forum.php?mod=viewthread&tid=5906702
Just put it in Google translate
I just googled 1080P MIUI or something.
The Oppo Find 5 is a very similar device to the XperiaZ.
snowman77 said:
I'm not interested in MIUI but you might find this interesting.
http://bbs.gfan.com/forum.php?mod=viewthread&tid=5906702
Just put it in Google translate
I just googled 1080P MIUI or something.
The Oppo Find 5 is a very similar device to the XperiaZ.
Click to expand...
Click to collapse
Personally I think you can ask MIUI forum for help
it seems that miui team has devoted all time toward Xiaomi Phone and ignored the existence of Xperia Z
Type this command: adb -d logcat
On your pc Before booting the phone to get logcat.
Sent from my C6603 using xda premium
WOOWWWW!!!!
REally Really great news!! miui interface are wonderful and in full HD OOOOOoooOOO, no words!! i'm waiting for news about boot!!!
Can't wait
Sent from my Kindle Fire HD 7 using xda app-developers app
Yeah Finally a MIUI rom thank you very much for trying to develop it i can't use my smartphones without MIUI, thanx DoomLord too I've always loved your work since the xperia x10, Sorry for spamming..

Patching core.jar & service.jar in Kit Kat

Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
We will need 1 ) Root Explorer or another file manager. 2 ) Lucky Patcher.
And so, we go through the Root Explorer to system/framework and look there for a couple of files with names core.jar and services.jar, found means to copy to SD card for further action with them.
Go to Lucky Patcher and select the function to "Rebuild and install". We are looking for in the open filemanager copied our files, click on each of them and choose the function "Patch file firmware", patched both files close Lucky Patcher.
Open Root Explorer find our patched copy and rename them from the core-patched.jar in the core.jar, and so did a services-patched.jar in services.jar.
Put them in the firmware in two ways.
The first :
Through the Root Explorer to replace the first system/framework file core.jar and put it right (rw-r - r--).
Reboot and look at the first two Lucky Patcher android patch applied. Good!!!
Replace the same in system/framework file services.jar and the phone itself will go into a reboot may reboot itself again, nothing wrong with that.
Go through the Root Explorer on the road system/framework to the file services.jar and give him the right to (rw-r - r--).
Watch in Lucky Patcher all three patch applied android.
The second method:
For him, we need the establishment of recovery TWRP or CWM and Aroma Filemanager. Earnest request before to do something, then test Aroma FM on your device !!!
We go in and start recovery Aroma Filemanager. After that, everything just as in Root Explorer, substitute core.jar on patched us exhibiting rights (rw-r - r--) and reboot.
Again in recovery and launch Aroma Filemanager. And substitution of services.jar but rights can and should be put immediately (rw-r - r--).
Reboot and you're done.
One piece of advice if something goes wrong as we would like it keep copies non patching core.jar and services.jar.
You can always get them back into place and put right through Aroma Filemanager.
Addition to those who have odex firmware :
In odex firmware need to copy the core.odex and sevices.odex on sdcard.
Go to Lucky Patcher, and on the bottom panel to select "Install and rebuild".
Then, select a file core.odex and select to patch the firmware file, then select services.odex and also choose to patch the firmware file, then rename and put them back into the system/framework.
Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others
Click to expand...
Click to collapse
Why patch these files?
AXDFREEDOM said:
Why patch these files?
Click to expand...
Click to collapse
To disable signature verification in the package manager.
AXDFREEDOM said:
Why patch these files?
Click to expand...
Click to collapse
...
Ms_Julia said:
...
Click to expand...
Click to collapse
Which ROM you now use??
No need to patch this files, because you can install paid apps from google without this, playstore dont chech it for verificatio, better leave this files alone, I dont know how to say. Xd
You dont need to patch anything.
And if you dont know Lucky patcher is illegal on xda.
Your guide is good
But, that dont need to do.
Paget96 said:
Which ROM you now use??
No need to patch this files, because you can install paid apps from google without this, playstore dont chech it for verificatio, better leave this files alone, I dont know how to say. Xd
You dont need to patch anything.
And if you dont know Lucky patcher is illegal on xda.
Your guide is good
But, that dont need to do.
Click to expand...
Click to collapse
Thank you, I know it. But sometimes it is necessary for example to amend the application to the best of his work. And to set it is necessary to use patches to disable signature verification.
Ms_Julia said:
Thank you, I know it. But sometimes it is necessary for example to amend the application to the best of his work. And to set it is necessary to use patches to disable signature verification.
Click to expand...
Click to collapse
That can make problems in ROM, that is maybe good with some apps, but I dont know which app need this??
Paget96 said:
That can make problems in ROM, that is maybe good with some apps, but I dont know which app need this??
Click to expand...
Click to collapse
I think u don't need to use these patches. As u said they lead to illegal activities. I have no key problems they cause only help with all applications. Because I have a direct hands. How well do u know the android ?
Ms_Julia said:
I think u don't need to use these patches. As u said they lead to illegal activities. I have no key problems they cause only help with all applications. Because I have a direct hands. How well do u know the android ?
Click to expand...
Click to collapse
I know pretty much, but I dont know anythig about coding.
Paget96 said:
I know pretty much, but I dont know anythig about coding.
Click to expand...
Click to collapse
U know the only thing is the top of android. But the essence of not even examined, it's clear that u are not a programmer or developer. Just once again I say to u for u my user guide is useless , unless u want to learn everything. And to know a lot more than it is now at the moment.
Ms_Julia said:
U know the only thing is the top of android. But the essence of not even examined, it's clear that u are not a programmer or developer. Just once again I say to u for u my user guide is useless , unless u want to learn everything. And to know a lot more than it is now at the moment.
Click to expand...
Click to collapse
I dont understand you.
Paget96 said:
I dont understand you.
Click to expand...
Click to collapse
These patches are needed for a more complete control over the android. Do you understand now?
Big thanx for this great tutorial,its very usefull.but one request i have about patching with lucky.maybe its possible to patch the service.jar for full tweaking like v6 supercharger etc. As we know zeppelinrox is working on it and we can do it by hand with very anoying smalipatches one by one,so maybe its possible to make it with luckypatcher too?
GREETZ FROM TEAM-OPTIMA!!!
NmAa said:
I guess what she's trying to impost is that we must own our phone because it's ours not Google and we must live in our own...
#LG #P705
#RECOVERY: TWRP 2.6.3.0/P700
#ROM:CM11/IMER
Click to expand...
Click to collapse
YES!!! :thumbup:
-CALIBAN666- said:
Big thanx for this great tutorial,its very usefull.but one request i have about patching with lucky.maybe its possible to patch the service.jar for full tweaking like v6 supercharger etc. As we know zeppelinrox is working on it and we can do it by hand with very anoying smalipatches one by one,so maybe its possible to make it with luckypatcher too?
GREETZ FROM TEAM-OPTIMA!!!
Click to expand...
Click to collapse
Did not think about it yet, but ask the creator of the LP.
Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
.
Click to expand...
Click to collapse
thank you for this i been working hard trying to get this ported for the nexus 7 2013 "flo" now its patched and working. i tryed to manually edit services.jar my self but resulted in a billion force closing apps. now i am able to sign my apps and they boot p.s this post has been the most helpful than any others
i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
We will need 1 ) Root Explorer or another file manager. 2 ) Lucky Patcher.
And so, we go through the Root Explorer to system/framework and look there for a couple of files with names core.jar and services.jar, found means to copy to SD card for further action with them.
Go to Lucky Patcher and select the function to "Rebuild and install". We are looking for in the open filemanager copied our files, click on each of them and choose the function "Patch file firmware", patched both files close Lucky Patcher.
Open Root Explorer find our patched copy and rename them from the core-patched.jar in the core.jar, and so did a services-patched.jar in services.jar.
Put them in the firmware in two ways.
The first :
Through the Root Explorer to replace the first system/framework file core.jar and put it right (rw-r - r--).
Reboot and look at the first two Lucky Patcher android patch applied. Good!!!
Replace the same in system/framework file services.jar and the phone itself will go into a reboot may reboot itself again, nothing wrong with that.
Go through the Root Explorer on the road system/framework to the file services.jar and give him the right to (rw-r - r--).
Watch in Lucky Patcher all three patch applied android.
The second method:
For him, we need the establishment of recovery TWRP or CWM and Aroma Filemanager. Earnest request before to do something, then test Aroma FM on your device !!!
We go in and start recovery Aroma Filemanager. After that, everything just as in Root Explorer, substitute core.jar on patched us exhibiting rights (rw-r - r--) and reboot.
Again in recovery and launch Aroma Filemanager. And substitution of services.jar but rights can and should be put immediately (rw-r - r--).
Reboot and you're done.
One piece of advice if something goes wrong as we would like it keep copies non patching core.jar and services.jar.
You can always get them back into place and put right through Aroma Filemanager.
Addition to those who have odex firmware :
In odex firmware need to copy the core.odex and sevices.odex on sdcard.
Go to Lucky Patcher, and on the bottom panel to select "Install and rebuild".
Then, select a file core.odex and select to patch the firmware file, then select services.odex and also choose to patch the firmware file, then rename and put them back into the system/framework.
Click to expand...
Click to collapse
i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
it says a warning
the file ".jar" doesnt contain classes.dex for patch . try patch ".odex" file for this ".jar" file
what to do..?? plz help
Prem_414 said:
i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
it says a warning
the file ".jar" doesnt contain classes.dex for patch . try patch ".odex" file for this ".jar" file
what to do..?? plz help
Click to expand...
Click to collapse
Do exactly what the error said. Also are you deodexed? I was able to patch this my self on nexus 7 and my s3 touchwiz.
Sent from my SGH-T999 using XDA Free mobile app
Android 5.0.2
there are this cores...
miguelrivas said:
Android 5.0.2
there are this cores...
Click to expand...
Click to collapse
I'm not sure if the signing is the same way for lollipop as in 4.4 and below I have tried it but it didn't work. You can try and see but you will only have art core to use your os doesn't support davlik anymore
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app

Categories

Resources