[Q] porting RevolutioN 3D v1.5 problems - Nexus One Q&A, Help & Troubleshooting

hi i wanted to ask to anyone hwo knows how to move system and dalvik to the sd ext partition i am new at this and i dont know much
thanks in advanced

Mount SD-EXT as /system/sd.
Symlink /system/app to /system/sd/system-app.
Change the updater-script accordingly in update.zip.

Jack_R1 said:
Mount SD-EXT as /system/sd.
Symlink /system/app to /system/sd/system-app.
Change the updater-script accordingly in update.zip.
Click to expand...
Click to collapse
dont understand what i have to do i am not a professional i am a noob i got it to pass the boot logo but is bootlooping in htc quietly brilliant screen....so i need help quickly

Hmm...
Unless you want someone to port the ROM for you - you'll need to start learning stuff. Start with downloading any other existing N1 Sense ROM and looking, how is its updater-script different from the one you want to use, and adjusting yours accordingly.

Jack_R1 said:
Hmm...
Unless you want someone to port the ROM for you - you'll need to start learning stuff. Start with downloading any other existing N1 Sense ROM and looking, how is its updater-script different from the one you want to use, and adjusting yours accordingly.
Click to expand...
Click to collapse
humm i have done this to port the rom:
http://forum.xda-developers.com/showthread.php?t=1222746
but i dont know much and what about the updater script
EDIT:the system moving to sd-ext is when flashing right? so if i modify the update-script there are the lines?

Related

Modify Android file system

I want to edit the system.sqhs and insert new fonts.
someone know how to do it?
in linux
unsquashfs system.sqsh
here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Maikeu Locatelli said:
in linux
unsquashfs system.sqsh
here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Click to expand...
Click to collapse
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
iceman198 said:
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
Click to expand...
Click to collapse
Ok...it took me forever but I figured it out...
Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".
Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
iceman198 said:
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
Click to expand...
Click to collapse
Sorry, i never tried and i dont understand a lot of this to help you, i know only how to unpack and repack, really sorry.
Have a lot of people that know, but i dont know why, they dont help us.
i know that the squashfstools 4 dont works, it unpack, but the repack dont works in kernel of pphusson, the 3.3.7 works good for me
http://ftp.debian.org/debian/pool/main/s/squashfs/
iceman198 said:
Ok...it took me forever but I figured it out...
Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".
Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
Click to expand...
Click to collapse
is rename the "squashfs-root" to "system" is good enough ?
yosidia said:
is rename the "squashfs-root" to "system" is good enough ?
Click to expand...
Click to collapse
yeah, that will work...but you can just keep it the same name without every creating a "system" folder. I don't even bother using the "genext2fs" tool...I just "unsquashfs" it and it will create the "squashfs-root" folder and then when I'm done modifying it, just
Code:
mksquasfs squashfs-root system.img -nolzma
and that should do it.
You'll know if it doesn't work cuz Android will error while loading system.sqsh. =)
-wrong topic-

[HOW-TO] [VIDEO] How to customize a custom ROM (make your own ROM from a custom ROM)

This is a video toturial I made for modifying ROMs. Here's the things in the video:
1. How to remove or add apps
2. How to replace the boot screen
3. How to replace other things and sign it
Please remember to read all comments and everything on YouTube about the video before asking questions. I am not going to respond if the question already has been asked
Thanks it seems really interesting ! I'm gonna see it when i come back to my home!
sebxd said:
Thanks it seems really interesting ! I'm gonna see it when i come back to my home!
Click to expand...
Click to collapse
Cool Please feedback
Nice, works like a charm. Your own damn rom and not difficult.
tnx !
flitz said:
Nice, works like a charm. Your own damn rom and not difficult.
tnx !
Click to expand...
Click to collapse
Your welcome
i now know how to add apk files to an update.zip, but the bootanimation.zip just went right over my head
If i want a new bootscreen, do i have to make a whole new custom rom, or can i just flash the new bootscreen?
Rubinski_be said:
If i want a new bootscreen, do i have to make a whole new custom rom, or can i just flash the new bootscreen?
Click to expand...
Click to collapse
You can just delete all other files and folder so you only have fx if your bootscreen is placed like this: META-INF and system system> customize> resource>bootanimation.zip
That should be your only files and folders. Of course if you your bootscreen is placed in data/local/bootanimation.zip then that should be your only directories and files
Limit?
Really like this and it would make trying different Rom easier for me but is there a limit to the amount of apk's you can add or a maximum Rom size?
Have tried again and again over the last couple of days to add 32 (free market apk's) to VillianRom12 but can only get a successful flash at around 12 Apk's and a Rom size of 122mb.
All other tries give me an Error while flashing saying something along the lines of "Error with Line 11" and "Flash aborted".
After a successful flash and reboot 'SD & Phone storage' says I have 158mb of Internal Phone Storage is that different storage to where the Rom is Flash.
If this is not possible can I flash an Update.zip with just the apks?
Thanks. A bit of a Noob.
scottbethell said:
Really like this and it would make trying different Rom easier for me but is there a limit to the amount of apk's you can add or a maximum Rom size?
Have tried again and again over the last couple of days to add 32 (free market apk's) to VillianRom12 but can only get a successful flash at around 12 Apk's and a Rom size of 122mb.
All other tries give me an Error while flashing saying something along the lines of "Error with Line 11" and "Flash aborted".
After a successful flash and reboot 'SD & Phone storage' says I have 158mb of Internal Phone Storage is that different storage to where the Rom is Flash.
If this is not possible can I flash an Update.zip with just the apks?
Thanks. A bit of a Noob.
Click to expand...
Click to collapse
Yes I think there's a limit of how many apps you can add you just have to install the rest manually
C0mpu13rFr34k said:
You can just delete all other files and folder so you only have fx if your bootscreen is placed like this: META-INF and system system> customize> resource>bootanimation.zip
That should be your only files and folders. Of course if you your bootscreen is placed in data/local/bootanimation.zip then that should be your only directories and files
Click to expand...
Click to collapse
I installed the new Pancake ROM on my HTC Tattoo. I can't find the location of my current bootscreen. Do i have to replace the bootscreen.zip in the ROM and flash this ROM, or do i just have to copy the new bootscreen to my sd-card and find the location to paste it at the right place?
Rubinski_be said:
I installed the new Pancake ROM on my HTC Tattoo. I can't find the location of my current bootscreen. Do i have to replace the bootscreen.zip in the ROM and flash this ROM, or do i just have to copy the new bootscreen to my sd-card and find the location to paste it at the right place?
Click to expand...
Click to collapse
I might misunderstand you but I think from what i'm reading you can do both things
C0mpu13rFr34k said:
I might misunderstand you but I think from what i'm reading you can do both things
Click to expand...
Click to collapse
I tried to put the files on my SD-Card and copy them to the right location. (system/media/bootscreen) but it failed. I can't replace the files that are in there. What can i try now?
Hi,
Very nice idea and good tutorial.
But for me, it doesn't work.
I want to add EsFileExplorer to my FroydVillan 1.0.0 (Froyo 2.2) rom.
I copy the file in app folder, i save, i signe my new rom.
I flash my HTC Hero, all is OK, but when i want to use EsFileExplorer, Android says: "Must close ES File Explorer (process .com.estrongs.android.pop). Please try again".
Can you help me ?
Thx
PS: I try with Astro file explorer and same issue
Titou1309 said:
Hi,
Very nice idea and good tutorial.
But for me, it doesn't work.
I want to add EsFileExplorer to my FroydVillan 1.0.0 (Froyo 2.2) rom.
I copy the file in app folder, i save, i signe my new rom.
I flash my HTC Hero, all is OK, but when i want to use EsFileExplorer, Android says: "Must close ES File Explorer (process .com.estrongs.android.pop). Please try again".
Can you help me ?
Thx
PS: I try with Astro file explorer and same issue
Click to expand...
Click to collapse
My post no. 200 LMAO
That happens sometimes. Not all apps work when they are put in system/app. Try putting them in data instead. If that doesen't work you just can't do it with those apps and you'll have to install them from market...
BTW are you sure these apps are Froyo compatible?
A list of what the apps are and whether they are safe to remove would be really helpful. Although probably a lot of work to compile. Just a suggestion. Great tutorial though
walkinhotdog said:
A list of what the apps are and whether they are safe to remove would be really helpful. Although probably a lot of work to compile. Just a suggestion. Great tutorial though
Click to expand...
Click to collapse
Yeah that would be nice but right now i'm working on a new version of my theme for the new version of Cronos Droid...

Problems with my custom Rom?!

Hi all,i have a big Problem with my custom Rom.
First if i install my Rom with Rom Manager i run always in the same error
E:Failure at line 6: symlink toolbox SYSTEM:bin/cat
i have toolbox in my system/bin folder and i think my update-script is also ok!?
Then i have a another Problem with deodexing InfoAlarm.apk(system/app) and core.jar (system/framework) any ideas? Tool i used is dsixda's kitchen.
with the newest smali baksmali(1.26) 1.25 hasnt worked too.
Many thanks in advance!
At a guess - you need to provide more details if noone has been able to answer your question
post up the script and your rom somewhere and link to it and let people actually have a hack at whats wrong - without knowing what your doing - no one can tell you where you went wrong...

[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 exactly does flashing work?

Hi all,
My question is aimed to head deep into the Android OS and the flashing process itself. I know that if I flash my phone with a new ROM that system files are replaced and also some other files too. My question is how is this done? Is there an exact order in which the files have to be replaced, and are they "just" overwritten or are they deleted first and then the new ones put in place?
Forgive me if this question has already been answered. I really tried my best to find answers on Google and in here.
Thanks in advance for any enlightening comment.
Open up an update-script and your dilemma will be solved
Sent from my GT-I9000 using Tapatalk
Essentially, like the previous reply mentioned the android OS is heavily partitioned, but has a lot of sneaky mount points to hide this fact.
Really all a CWM flashable zip does is follow a script, easily readable in the zip, to copy files throughout the OS partition.
If you look in the zip you'll see a few things, the biggest thing here is the /System folder. It contains the entirety of the system partition that makes your ROM /Your ROM/. Also you'll see boot.img which is the kernel (and CWM). A modem.bin file is also present, but to my understanding is only flashed if one is not currently present.
When looking at CM9's zip, you'll see an updater.sh. This is the shell script that's run on using CWMs install function.
It's process checks a few environment things and installs (copys over /system) based on this.
Check out the script, it's really interesting.
Thanks to all of you
I will have a look inside a script then.

Categories

Resources