[Q] Lollipop Development - Samsung Galaxy Core

Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you

Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
bro try using twrp recovery ... normal cwm has some bugs of bottlooping phone into recovery again and again

Aman.k said:
bro try using twrp recovery ... normal cwm has some bugs of bottlooping phone into recovery again and again
Click to expand...
Click to collapse
Dude, in CM 12 CWM is replaced with cyanogenmod recovery and i tried with twrp recovery
Thank you

Related

[I9003][MOD] Modded Stock Recovery (allow test-signed update.zip)

WELCOME ROM & THEME DEV!!!
Hi all.... since the work on CWM is longer than i wish i have done this MOD that - for the moment - can help all.....
This is the custom recovery modded by me to allow the installation of update.zip signed with the test key.
Attached at this post you can find:
- The PDA that must be flashed with odin;
- The tool for signing your custom update.zip
Update.zip must be signed like so:
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 your-update.zip signed-update.zip
Very important is the "-w" that mean ( if i remember well) whole file.
To enter in recovery mode the combo is VOL-UP + Home + POWER
Hope you enjoy it!
UPDATE: I attach also an update.zip that will install Microbes Live Wallpaper, maybe you don't like it but sure it can help you on building you own update.zip. PLEASE STUDY IT!
IMPORTANT: System folder maybe cannot have more space, in this case the update.zip will i attached not work until you haven't deleted some bloatware like aldiko and other ( in all case i suggest to remove all bloatware). The update.zip that overwrite system files don't have this issue i think.
UPDATE 2: i forgot to tell you that this is based on XXKB3 kernel, it might also with other FW without problem but if you find any issue please PM what firmware is and i'll build the recovery for you.
A guide for n00bs that want build their update.zip - written by trip007in -can be found HERE
Last Thing
Press the Thanks Button if you like my work!
could better explain the steps?
I do not know if I explained well ....
could make a tutorial on how to do?
thanks and sorry for the inconvenience
Flashed succefully
Sent from my GT-I9003 using Tapatalk
Thanks alot man atleast we are on the right track........... excellent work
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
nice dude
it's begin
nice work dude
please can anybody explain what is use of this...? I am new to android & its modifications...
trip007in said:
Great work mate, so you finally did it.
Immediately flashed PDA file uploaded by you and successfully flashed. Made an update.zip of livewallpapers to test the recovery, signed it using your tools. You dint mention any hardware key combinations to enter into recovery, so used root tools and entered recovery and tried update but it failed. in the last step.
I made update.zip by putting the livewallpapers.apk in system>app folder and zipped it. Signed it using your signing tool. placed it on sdcard for flashing.
Any suggestions?
Click to expand...
Click to collapse
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
thx man greet hard work,year after we can install custom rom,kernial,them,apk,etc.. via update.zip will try and tel rex4u release rom update.zip
Skin1980 said:
I think that the content of updater-script is the part where you have to work.
EDIT: Look at the first post, i have updated it.
Click to expand...
Click to collapse
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
trip007in said:
Thanks a million, it worked. I replaced the files in the zip using 7zip, and resigned it using the script. It worked but flashed a message during update regarding the microbesgl wallpaper that was packaged by you. I underastand thats because of the update-binary and update-script. It does not matter though, I would like to know how did you get/ create that android folder and its contents inside the zip. was it packaged separately or created automatically during signing zip?
The second question, the most important one is how to enter recovery using combo keys? does it work or we have to depend on ADB or softwares like root tools? to get into recovery from the on mode. Then there is no way to recover a bricked phone with wrong framework or essential files which are loaded during boot.
Click to expand...
Click to collapse
The sign create only the three files inside the folder META-INF, you must create the other folder or simply edit the zip i posted.
If you edit the updater-script and change the first line ui_print("Installing Microbes...") you wil not see Instaling Microbes.
To enter in recovery mode simply shut down your phone then Press VOL UP + HOME (the center keys) + POWER.
Bye!
A little guide for using custom recovery (3e)
Hi Skin, this is a small guide to your recovery for noobs, who need some help for creating or flashing the update.zip files. You are free to link this post to the first post for easy reference.
Download the three attachments on the first post of this thread and save them on your PC.
Flashing Recovery to phone:
1. power down the phone and simultaneously press Vol. down + HOME (Center key) and power on buttons till you see download mode connect the phone to PC through USB.
2. open ODIN on PC and check Auto Reboot and F. Reset Time.
3. Click on PDA and browse to the location where you placed the PDA.tar file from this post. and click start.
Wait for the phone too reboot, the recovery is flashed now.
Preparing the update.zip for flashing.
You do this if you are an experienced user and know the location of the files to be paced on the system partition of phone or avoid this and may use the already uploaded update.zip provided here.
1.First create a folder called ‘updzip’ in c:\ drive, the path would be C:\updzip
2.Place here the contents of the sign-tools in this folder i.e signapk.jar, testkey.pk8 and testkey.x509.pem.
3.Now edit the update.zip file downloaded from this post with the files you want to flash in recovery. This can be done by dragging the files into the zip archive, which can be opened with applications like 7Zip. Alternatively you can extract the contents of the file and place the files to be updated in appropriate folder and rebuild the zip file. The location of this zip file will be the same C:\updzip.
Eg: for flashing system applications you have to place the apk files in system/app inside the zip. Whereas framework files goes into system/framework.
4.The update.zip contains META-INF folder which is essential for update.zip to work. After placing the files inside zip in appropriate folder(s) you need to sign it using the sign-tools. Before this you have to delete the three files inside the META-INF folder i.e CERT.RSA , CERT.SF and MANIFEST.MF, as these files will be created after signing the whole zip.
5.Now go to command prompt ‘cmd’ and browse to the C:\updzip and sign the zip as follows, assuming you have named the zip as ‘sysap-update.zip’.
Code:
C:\Users>cd c:\updzip
c:\updzip>java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 sysap-update.zip signed-update.zip
c:\updzip>exit
6.Now you will have signed-update.zip in C:\>updzip folder this file should be placed on the SDCARD and name it as update.zip for it to work in recovery.
Flashing update.zip files from recovery:
1.Power down the phone and simultaneously press Vol. up + Home and power on for few seconds till you see the samsung logo and release the keys wait for the phone to enter recovery (3e).
2.Select the option apply sdcard: update.zip, using vol down key to navigate to the option and press home button.
3.After update reboot the phone.
Your files are flashed and system is updated.
Enjoy and Happy Flashing. Now its not easy to screw up/ brick your phone.
@ tripin
dude thanks for this useful post
Later i will update the first post... thanks
Sent from my GT-I9003 using Tapatalk
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Grazie, sei un grande
@ vishal
dude it is a modded stock recovery it is not cwm
thanx krrazy for ur reply...
but can u tell me what is difference between modded stock recovery & CWM...? I m new to android & i m trying to learn all these basics about android modding, backup, rom etc...!!!!
vishal24387 said:
really thanx for such wonderful mod...because of this we can now install themes, roms very easily...i have small question. Is this mod different than CWM...???? Because CWM very helpful for backup entire rom...& later we can flash that rom very easily...!!!
Click to expand...
Click to collapse
CWM is different and i'm sure it will be ported.... i got it works succesfully but i have problem with the keys so i must review something.
Since tomorrow i leave for two week ( HOLYDAYS!!!) i decided to build this so you can enjoy with it.
When i'll came back i will work hard to port the CWM so please be patient.
Best Reguards.
Skin1980

Caution: UOT kitchen

Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Thanks saurabh.khare for the info.
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Yup me too, I've flashed uot-files several times. Never faced such issues.
mj.vikram said:
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Click to expand...
Click to collapse
Buddy I'm very much sure that I did nothing wrong. I extracted the files out of a rooted stock ROM(XWKI5) and flashed the cooked zip file over the same rooted Stock ROM through CWM. I have attached the file for you reference...If you could go through and point out where I went wrong I would be very glad
saurabh.khare1000 said:
Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Click to expand...
Click to collapse
I have flashed files from UOT several times on Galaxy R without any errors(Both Stock Odex and Deodex ones). Not sure why you had issues.

[Q] creating update.zip issue

Hello everyone!=)
I'm trying to create and update.zip with modified framework.jar. I have htc one v with cyanogenmod 9 and framework.jar which i got from building deodexed aosp 4.0.4_r2.1. I'm using "Update zip creator" tool to create archive. And after i install it with twrp recovery, phone stucks at boot. Can anyone point me on my mistake?

[Q] Lollipop Development

Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
I wish I could help...but I dont have any experiane in developing ROM's:crying:
all developers are busy in making their Roms...
they should collaborate on the real thing....
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
can i look at your device/kernel tree?
please I want one thing
I want please Android (5. 0) for Samsung galaxy core prime
any updatets regarding this roam
Any Updates?
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
Any progress?
Vignesh Prasad said:
Hi,
I have tried developing a Lollipop rom using CM 12, but after the build it didn'd form a .zip file but i have got system.img, userdata.img, ramdisk.img, recovery folder and others. Then later i have created the zip file by creating boot.img, update-script and signed it.
The problem is why it didn't create a zip file and boot.img by itself (I have given the kernel path in boardconfig.mk and I'm using Java 1.7). When I tried to install my rom, it got installed (I used aroma installer) and I was able to see the files copying into the memory, but when I rebooted, "SAMSUNG" image displayed and it started rebooting again and again. Whats the problem and how to correct these.
Someone help me out, so that I can bring out a ROM with the new Lollipop version.
Thank you
Click to expand...
Click to collapse
please help him ....anybody so we can have rom for our PHONE.....
I'm working on the prime for verizon. If you open BoardConfig.mk there are a few lines to change. I'm not sure what yours will look like but one of them is the TARGET_BOARD_PLATFORM line. You also need to check the locations and block sizes for the partitions. Should work then. I'm still working on mine so don't quote me.

Unpack system.new.dat

Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
carlese said:
Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
Click to expand...
Click to collapse
Look at the updater-script
Lethargy said:
Look at the updater-script
Click to expand...
Click to collapse
Can I use the updater from the same rom but kitkat version? The things I install are the same I think..

Categories

Resources