[DUMP] NexusOne system dump on AndroidSPIN - Hero CDMA Android Development

Hey all, don't know if yall noticed but they have a NexusOne dump over on AndroidSPIN forums. I have been playing with the files and it has some interesting looking files in it. My first thought was to grab the bootscreen but it looks like they changed how the bootscreen works as it is now a zip file, not a directory
Anyway, for all those who want to play with it:
http://www.androidspin.com/forum/index.php?f=209&t=87&rb_v=viewtopic
And they also got some of the apps working too:
http://www.androidspin.com/forum/index.php?f=209&t=89&p=185&rb_v=viewtopic#p185
Anyone feel like deodexing some files or at least give us a little guide on how to do it? Official instructions dont work for me.
I am going to try to get this working with out current 2.1 kernel but obviously, I doubt that would work.

Related

µkitchen to add custom files into protected rom

Hello all ,
I ran into the problem of liking a rom that was protected..
no problem , only thing i want to add was remote tracker.
the rest i do with uc.
So with the help of da_g i striped a kitchen to unpack and repack protected roms.
to add a package , just unpack..put your cab in the dump dir and add it to config????.txt
and repack.
that way i get the use the protected rom with my own package build in.
thought i would post it.
grtx , arnold
hi arnoldl,
i want to thank you and everyone have helped you to create and publish this. i was searching something like this since many time ago, finally i found your thread and i was able to add RT to the rom i use!
i think this will be useful to many other people
i have changed something and it works perfectly with my blackstone!
thank you thank you.
bye
What is the difference in extracting ngh file, adding cab file to dump folder, updataing config.txt and recooking compared to installing the cab file using UC?
Can we add visual kitchen packages to this dump folder? If we can add do we need to just copy all the files in all the folders of the package to dump folder?
eg: in the package there are some files in 0409 and some in files folder , _skip, app.reg, all these goes to dump folder?
Thanks
@DarkRenegade
No problem , happy that i helped...
@kk0813
If i would buy a phone of the street , i would do the folowing.
- check if there are funny things on it
- format the card
- hardreset the phone
and gone is your remote tracker protection..
If i cook rt in, with my personal settings for it.
after a hard-reset it's installed again , so i can still gps find my stolen phone after a complete format.
only next step i want to take is to re-hard spl , to prevent reflashing if posible.
but these days with new 6.5 images coming out so quick i flash so often i will wait with that one
but all other things i install by uc or later shashimi
Don't know if you can add kitchen files.
never tried it.....
btw attached a new version.
remade it to work with the new envirus kitchen the newer 6.5 roms are using..
arnoldl said:
@DarkRenegade
No problem , happy that i helped...
@kk0813
If i would buy a phone of the street , i would do the folowing.
- check if there are funny things on it
- format the card
- hardreset the phone
and gone is your remote tracker protection..
If i cook rt in, with my personal settings for it.
after a hard-reset it's installed again , so i can still gps find my stolen phone after a complete format.
only next step i want to take is to re-hard spl , to prevent reflashing if http://forum.xda-developers.com/showthread.php?t=503112posible.
but these days with new 6.5 images coming out so quick i flash so often i will wait with that one
but all other things i install by uc or later shashimi
Don't know if you can add kitchen files.
never tried it.....
btw attached a new version.
remade it to work with the new envirus kitchen the newer 6.5 roms are using..
Click to expand...
Click to collapse
Thats a nice idea. Thanks for the updated version.
DarkRenegade said:
hi arnoldl,
i want to thank you and everyone have helped you to create and publish this. i was searching something like this since many time ago, finally i found your thread and i was able to add RT to the rom i use!
i think this will be useful to many other people
i have changed something and it works perfectly with my blackstone!
thank you thank you.
bye
Click to expand...
Click to collapse
Thanks again
works very well
arnoldl said:
Hello all ,
I ran into the problem of liking a rom that was protected..
no problem , only thing i want to add was remote tracker.
the rest i do with uc.
So with the help of da_g i striped a kitchen to unpack and repack protected roms.
to add a package , just unpack..put your cab in the dump dir and add it to config????.txt
and repack.
that way i get the use the protected rom with my own package build in.
thought i would post it.
grtx , arnold
Click to expand...
Click to collapse
You have a Trojan horse in first post!!!
All this to add a couple of cabs to a ROM ? Isn't it a whole of a lot easier to just... you know... install them after ? Or maybe even UC them to make it even lazier ?
Does this work with other roms from other devices? Or just Raphael roms?
I tried this but it extracts os.nb and os.nb.payload and also os.nb.extra but when it starts to create dump it fails
this is the log
ImgfsToDump 2.1rc2
Cannot map file imgfs.bin
what to do help
jagan2 said:
I tried this but it extracts os.nb and os.nb.payload and also os.nb.extra but when it starts to create dump it fails
this is the log
ImgfsToDump 2.1rc2
Cannot map file imgfs.bin
what to do help
Click to expand...
Click to collapse
Use the latest version of extractor, place the .nbh file in BaseROM, rename it to RUU_signed.nbh and run the extractor.
That worked for me.
A little late reading this, but I downloaded it to rip a rom from a little known site & guess what... Theres a trojan in that 1st post, virus software just riped it out of 2 kitchens recently downloaded as well as that 1st post file.
file namned Win32/Delfsnif.dx
I used your extractor but when i use old (1,2mb) i have problem with rom (sense 2.5 crash , windows menu crash), when i use new extractor (1,9mb) i don;t have a bootable rom (.nbh is very small 15mb-100mb) Is there any solution?
Sorry for my english I hope you can understand me.
I think there are more usefull tools that could help you.
Let's have a look here : http://forum.xda-developers.com/showthread.php?t=411915
And I believe that this tool is used by most roms makers.
Sorry but this tool is traying to rebuild protected rom into kitchen (with folders - ext, rom, sys etc.) but this is impossible.
Worked Great ! !
It worked great for me!
Moving to general section
You should just move this to the cooking forum. People are always asking if you can modify cooked roms. Then others are always answering that you can't dump and modify a protected rom, which clearly isn't true. So this would work ok in the Cooking forum (can't even remember the name of the forum, even though I'm a mod there, lol).
If this works, than this is pretty kick ass! I was recently trying to simplify the process as you did but your work looks flawless to me! I'll post as soon as I can confirm it works putting the rom back on an HTC rose (htc s743).
After the rom is dumped, what says what files go in what directories? In the dump directory ALL files are in the dump directory and not in the folder structure they would be after the ROM is flashed to the phone. Where would I find what determines the folder structure?

New ROM!!! - TechLust ver1 BETA <SJK> - Help me cook better!

Hey Wing Nuts! Sorry... I'll never make that joke again...
I'm new to cooking, so I need help. This is my first ROM. I have done minimal testing and have made no changes as of yet. I'm hoping a couple of you can help me figure out what to add, change, or remove from this ROM and work out any of the other bugs so I can get better at making them.
The goal of this build was to make something aesthetically pleasing, not too stripped, and still lightweight enough to make the most of the limited space on the P4350.
This build is for the Wing only (Herald keyboard is not supported) and was designed for use with an RUU. I have no idea if it will actually work via SD re-flash, but if you decide to try, let me know.
Any and all help is greatly appreciated. Thanks in advance.
Message me to get a DL link.
On a side note, does anybody know how to add CABs into SJK so I can cook them into ROMs?
Maybe I can post the link like this...
Code:
Go to mediafire and use the following extensions, but replace the commas with slashes:
,file,widwm4iji4y,T L ver 1 - BETA.nbh
If you want, follow my guide in my sig to learn how to utilize .cab files in your building experience.
I'll also give the ROM a run and test it out for you.
Please also do me a favor and let me download your kitchen .erv file so I can help you better..
Navigate to C:\kitchens\SuperJustKitchen\Working_Folder\TOOLS\RomSaved and you'll see the saves that you saved.. If you didn't save, try to mimic your ROM again in the kitchen and save for me and then upload it here in a .zip file.
I think I understand. I'm cooking a new version right now, so I'll get those files to you as soon as it's done. I'm using the most recent version of SJK, just fyi (the one based in osKitchen1.0). I know where the .fe file is, but I don't have a Working_Folder in my SJK files...
I tried using your guide, but the pictures you have posted don't match what I see, so it confuses me...
My kitchen files are based off of Bebe's kitchens. I have links on my guide on the first post of that thread.
What build are you using?
Version 7. And in my guide I have all the Sys & Xip files that are also up to date too.
lol @ "wingnut." Made me chuckle.
So, update...
Recent computer issues have lost me some cooking time...
Also, when trying to cook the new ROM, SJK seems to have lost a file that is integral to the creation of a new rom, so I have to go back and find it in the original .7z files.
I also installed Ivan's JustStable5 Micro onto the test wing, and now it won't accept a reflash either through SD or RUU. So I have to work on that issue as well. I'll let you know when we're back up and running.
Otherwise, any existing feedback on the ROM will be helpful before the new version is finished. Thanks everyone!
New Release
Ok, so all off the issues I was having have been solved. I've switched to bebe's kitchen (thanks Trib!) with Ivan's files and have a new version uploaded. Link below.
Changes:
Some icons changed to fit theme. More to come!
Custom splash animation added.
(Trib, how do I change the ugly orange Windows image, as well as get rid of the greenscreen startup?)​Rid ROM of several useless files and added a few new ones.
ROM size dropped 20MB (From 77MB to 57MB)​
After Flash:
Storage Memory:
Total: 45.92
In Use: 7.64
Free: 38.28​Program Memory:
Total: 49.83
In Use: 40.42
Free: 9.41​
Code:
http rghost net,1487003
Tribulattifather said:
My kitchen files are based off of Bebe's kitchens. I have links on my guide on the first post of that thread.
Click to expand...
Click to collapse
Thanks Trib. I actually like Bebe's version better...
You're welcome. I feel bebes is easier to work with..
I'll get the save file uploaded soon. There's an issue that I noticed with the "incoming caller" icon not showing. I modified it so that the sihlouette(sp?) is outside the original square size, but not outside the original image size? Is that a picture demension issue?
Archive your complete working_folder for me and upload. I'd like to see all files so I can help..
Unfortunately, the work computer isn't working again. I've never gotten so many BSODs in my life without any real explaination as to the problem. It seems to do it whenever it feels like it.
Anyways, I digress, I'll get you the working folder as a 7z asap. Post any thoughts you have on the ROM in the meantime.
Hey, I can't get the file to upload to rghost. I zipped it with "ultra" compression. Should I have done something different?
Use mediafire or 4shared or megaupload then.. I have an account with all of them.
Is it normal that the WorkingFolder.7z file is over 300MB?
Yeah, that's nothing.. My kitchen is over 3 gigs - thats 3072 MB's , lol.
So, I'm trying to work with rghost, filefactory, and megaupload all at the same time, but none seem to be actually accomplishing the upload. wtf.

AvaboxV2. Dev toolbox for Windows

This is a toolbox i put together for windows users that want to get involved with theming porting etc..
With that said lets see some innovation with theming and porting. now theres no reason to not learn how to do these things. trial and error.
This update now includes a deodexer folder that will allow people to deodex apks. I have also included more boot.img perl scripts to unpack specifically what you want. and there is now one to repack the boot.img's. Be careful as there can be errors while reading the kernel during extract.
I hope this can further development for the hero. goodluck!
Download-AvaboxV2.zip
Sounds awesome. I'll take a look at it tomorrow after class. Thanks!
Always willing to try something new. I have no reason for fresh kitchen, but i got it. lol
Downloading now
I had the first version. It would of been handy awhile back, I forgot i had it.
Sounds Good! Goin 2 Check It Out..
Avalaunchmods said:
This is a toolbox i put together for windows users that want to get involved with theming porting etc..
With that said lets see some innovation with theming and porting. now theres no reason to not learn how to do these things. trial and error.
This update now includes a deodexer folder that will allow people to deodex apks. I have also included more boot.img perl scripts to unpack specifically what you want. and there is now one to repack the boot.img's. Be careful as there can be errors while reading the kernel during extract.
I hope this can further development for the hero. goodluck!
Download-AvaboxV2.zip
Click to expand...
Click to collapse
Appreciate the help, thanks Avalaunch.
man this thread was hidden.
glad to help people.
Finally found this... Ok I have been trying to deodex on my own with NO success, I tried AvaboxV2, and everything looks good, says it's ok, but when I look inside the newly created apk it is missing the classes.dex which I believe is needed and required to work right...
What I am exactly trying to do is De-Odex HtcLockScreen.apk from ZenEXP-0.9.6.2 so I could then possibly fix the stupid Menu Menu Unlock issue. Any help would be most appreciated, I have also tried xUltimate with no success either.
Thanks man!!!!! This is awesome!!!! I'll be up and theming in no time!!!!

[Q] Changing or deleting Parts of the Rom ?

Hey all,
I have been around here for some days now and got almost every Info I was looking for but now there is something...
I downloaded a Rom (Shipped and rebuild I think) and opened it with the HTC Image Editor. There I took the "os" and there the "imgfs"
There I found all the files, some where already known (the weather xml i.e.) and some I just messed around with after I extracted the files.
My Question now is : If I modify any file in this "imgfs" will it still be possible to flash this Rom ? And, is there a file that tells the Rom what to install ? Like a Autostart File or something ?
The Point is that I downloaded many very nice Roms from here and so on but every Time I find things I don´t need or I don´t want. So it would be nice to build my very own, small Rom just for me
I am 100% sure those Questions were asked already but I searched and searched... I really hope that someone here will grab his time and help me poor dummy out
Nice, very nice Forum !!
Thanks for any constructive Answer

PC script to auto remove apk's

Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
edcoppen said:
Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
Click to expand...
Click to collapse
Over what OS?
If in Windows (or any M$ OS, incl. DOS) you can make a batch file.
My file is adjunted as example (modify as you like, put in the root dir -obviously to the unzipped ROM- and run. Rezip and maybe re-sign)
salu2
Thank you. This is exactly the kind of thing I am after. If I had of been born just a few years earlier I would probably know all about batch scripts. Fortunately, I just missed the DOS days!
Anyway, I puzzled out / looked up the commands in the script you posted. Based on that I extracted the rom, then placed the batch file within it, so that the cd (current directory) command runs correctly.
Unfortunately this mucks up the signing on the rom. Do you re-sign your CM7 roms every time you do this or is there an easier way?
Edit: My PC is Win 7, 64bit, soon to be Win 8 Consumer Preview.
Edit: The roms do not need resigning.
I don't re-sign the ROM, simply flash again over Clockworkmod Recovery.. and work.
But, you can:
1) sign using Auto-Sign....
2) Click [Thanks]...
Salu2
__________________________________________________________________
I know, I know.... my english is ****ty... but my spanish is much better... ;-)
Big thank you. That's solved that one nicely for me!
You're welcome.
Updated zip in my first Post.
Salu2
Hey again. I was hoping to build on the script you kindly provided. At the moment I am using various alpha roms where the exact apk's present changes fairly often. It would be great if I could see the outcome of each action. This way I would know if the apk has had it's name changed or been removed. How would I enable this?

Categories

Resources