[Q] Boot time of custom rom is too long! - General Questions and Answers

Hey guys, I ported the ICS rom for P500 by arjen to my P690 using dsixda's kitchen(porting tools). As you may already know, these 2 phones have more or less EVERYTHING in same except the processor speed. The latter has 800MHz while the former has 600MHz. You can hardly find a difference even in the folders within the /system directory. Anyways, I edited the updater-script, build.prop and successfully compiled the rom. As usual I tried flashing it through CWM. The installation starts perfectly. The problem now is that it won't get past the boot animation no matter how long I wait(20-25mins to be precise!) I finally had to remove the battery, get back into CWM and restore the backup. What exactly might be the problem here?

abhishek046 said:
Hey guys, I ported the ICS rom for P500 by arjen to my P690 using dsixda's kitchen(porting tools). As you may already know, these 2 phones have more or less EVERYTHING in same except the processor speed. The latter has 800MHz while the former has 600MHz. You can hardly find a difference even in the folders within the /system directory. Anyways, I edited the updater-script, build.prop and successfully compiled the rom. As usual I tried flashing it through CWM. The installation starts perfectly. The problem now is that it won't get past the boot animation no matter how long I wait(20-25mins to be precise!) I finally had to remove the battery, get back into CWM and restore the backup. What exactly might be the problem here?
Click to expand...
Click to collapse
I'm sure you wiped everything there data/Dalvik-cache/cache
if this is not to solve the problem say this rom is in beta and you have to deeply dig into that problem :cyclops:

Of course!! I've done all tht. I even changed d cm9 bootanimation, tried the stock bootanimation and even disabled it. Got the same result in all cases, either the bootanimation does not end or there's a blank screen(when animation is turned off). This time I tried it for 45mins!! I just don't understand what to do!!

abhishek046 said:
Of course!! I've done all tht. I even changed d cm9 bootanimation, tried the stock bootanimation and even disabled it. Got the same result in all cases, either the bootanimation does not end or there's a blank screen(when animation is turned off). This time I tried it for 45mins!! I just don't understand what to do!!
Click to expand...
Click to collapse
this is enough 5-10 mins to wait for
that kitchen is good only to get root and put things together then sign zipped ROM -support for porting is somewhat "experimental":cyclops:
you should start from compiling sources replace drivers previously make dif to see how much these devices are different and of course compile kernel with debug options
also don't expect to finish this in 2-3 days.

Actually there's a cm9 rom meant for the p690 but its got many bugs like camera, bluetooth,etc. The developer who's working on it doesn't have the money to buy the phone so he's stopped developing. I'm quite new to developing, so I don't have that much of an idea on fixing it.
He says the problem in the case of the camera is with the lib and he's fixing it by replacing the lib files and editing on source. What does this actually mean? Could you explain? Also are there any guide or links where I can learn these things in depth??

abhishek046 said:
Actually there's a cm9 rom meant for the p690 but its got many bugs like camera, bluetooth,etc. The developer who's working on it doesn't have the money to buy the phone so he's stopped developing. I'm quite new to developing, so I don't have that much of an idea on fixing it.
He says the problem in the case of the camera is with the lib and he's fixing it by replacing the lib files and editing on source. What does this actually mean? Could you explain? Also are there any guide or links where I can learn these things in depth??
Click to expand...
Click to collapse
pls do not blame me for this
-you need 1-2 years of experience working in C language
-then you will just stop asking
-usually you need a team
-if devices are almost the same in hardware this is a little easyer maybe your case ?! if devices are almost the same in hardware be sure about that make diff in sources to be sure... now it's starting the hard part
-this is a "developer project" and for a long while !
-just search.. take a look here

Related

AJZ Hero Speedup Script

if you want a certain script added, chances are some1 else does too. if you have an idea, or find a script you want added, please either post or PM me. i take a look at this thread alot throughout the day, so i will be able to see your ideas quickly. YOUR IDEAS ARE IMPORTANT
first of all, i did not write this script, i took it from the thread HTC Hero Speedup v2.0 (http://forum.xda-developers.com/showthread.php?t=521421), which was put together by tehseano, who i must thank, however, it seems to only work for Haykuro's Hero ROM
THIS SCRIPT is made to speedup the HTC HERO rom on the g1's. my speedup script is made to work under JACman's. if tried on someone elses, you could brick your phone (although i doubt it), and i will not take responcibility for bricks
trying to use it under JACman 1.72, i couldn't get tehseano's script to work, so im going through a bunch of tweaking and editing for it to work under JACman roms (im guessing twistedumbrella's too).
currently, i'm about to release version 0.2. - released
i have fixed most of the directories and codes except for Battery fix, i have gotten the HTC camera to work, read the readme file
out of curiosity, does any1 have any preference on where i upload the files? want someplace easy and fast, so no rapidshare or anything like that. first working suggestion gets it
please do not use option #8 once it is up, it is not done yet
everything else should be good. this is made STRICTLY for JACman roms, not haykuro's, but twistedumbrella's should work, since it is based off of JACmans
____________________________________________________________________________________________
version 0.2 - http://www.4shared.com/file/113524687/c98398cd/AJZ_HeroSpeed_02.html
very minor changes
fixed the scripts
working on a battery fix
version 1.0 will be more compatible with JAChero 1.8, i expect to release that in the next few day, but this might not be possible because i'm going on vacation
_____________________________________________________________________
I ACCIDENTLY UPLOADED THE BAT AS A TXT FILE. im not gunna change it, so until the next release, just rename the file as a bat
0.1.5: http://www.4shared.com/file/113343120/6c89dd65/AJZ_HeroSpeed_015.html
i must thank dpgc213 for creating the original lockscreen change bat file
Changes:
deleted option to delete pc sync, causes bootloops and doesnt exist
added possibility to change the screen lock image (although doesnt have to do with speed)
added quick directions for changing the lock screen image
____________________________________________________________________________________________
version 0.1 - http://rapidshare.com/files/247165073/hero_speedup_2.0_AJZ_0.1.zip
here's a mirror of 0.1 http://www.4shared.com/file/113320662/7e513586/hero_speedup_20_AJZ_01.html
in version 0.2, expect to see support for the deletion of htc sync, and support for changing your lock screen
can you please include instructions for mac users? thanks good work
did you get it to work with JACman 1.72, you said you would try to tweak it, but did not say if you were successful?
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Franklees said:
did you get it to work with JACman 1.72, you said you would try to tweak it, but did not say if you were successful?
Click to expand...
Click to collapse
i got all the commands and everything working in 1.72 except for #2 to work. #2 will cause a boot loop.
#2 just deletes your htc sync, which idk what it does anyways.
in 0.2, i will try to fix this, as well as add support to change your lock screen
i got the change lockscreen part in, now just gatta see the problem with htc sync
juangil said:
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Click to expand...
Click to collapse
u could try renaming it to something that will work in leopard (er tiger). idk if that would work, im not a mac user. ubuntu and windows
alexjzim said:
u could try renaming it to something that will work in leopard (er tiger). idk if that would work, im not a mac user. ubuntu and windows
Click to expand...
Click to collapse
so if put the optimize.sh file in my sd how do I run it? or is the .bat file the ones that needs to be run? thx
juangil said:
I dont know how to apply the script cuz its made for windows, If some1 put instructions plz?
Click to expand...
Click to collapse
it cant be used for mac users, but basically a bat file just has a bunch of adb commands in it. i can post them for you if you like.
wwwhershcom said:
it cant be used for mac users, but basically a bat file just has a bunch of adb commands in it. i can post them for you if you like.
Click to expand...
Click to collapse
great! that will do it, I appreciate your help
anyone know if HTC pc sync is included in 1.72? if it is, anyone know where it is? once i find this out i can release 0.2.
Wow, this script really made a difference
Henchman said:
Wow, this script really made a difference
Click to expand...
Click to collapse
was aiming for that
juangil said:
can you please include instructions for mac users? thanks good work
Click to expand...
Click to collapse
...Buy a PC lol.
alexjzim said:
was aiming for that
Click to expand...
Click to collapse
When I ran option 3, 6 and 5 in that order without a reboot and then reboot after I did all those I got a bootloop, when I did #5 it was saying success on each one. If I installed dextop-wrapper awhile back like weeks ago do I have to install it again because I didn't install it. I figured I still had it.
jigdagod said:
When I ran option 3, 6 and 5 in that order without a reboot and then reboot after I did all those I got a bootloop, when I did #5 it was saying success on each one. If I installed dextop-wrapper awhile back like weeks ago do I have to install it again because I didn't install it. I figured I still had it.
Click to expand...
Click to collapse
my only suggestion is to wipe and reinstall your ROM, then do everything in order. i cant tell you exactly, because i cant actually see your phone
Okay, thanks I'll try that tomorrow when I get home.
Does this support 1.72 yet?
71CH said:
Does this support 1.72 yet?
Click to expand...
Click to collapse
first of all, i did not write this script, i took it from the thread HTC Hero Speedup v2.0 (http://forum.xda-developers.com/showthread.php?t=521421), which was put together by tehseano, who i must thank, however, it seems to only work for Haykuro's Hero ROM
THIS SCRIPT is made to speedup the HTC HERO rom on the g1's. my speedup script is made to work under JACman's. if tried on someone elses, you could brick your phone (although i doubt it), and i will not take responcibility for bricks
trying to use it under JACman 1.72, i couldn't get tehseano's script to work, so im going through a bunch of tweaking and editing for it to work under JACman roms (im guessing twistedumbrella's too).
currently, i'm about to release version 0.1. - released
i have fixed most of the directories and codes except for uninstalling HTC sync, and replacing the sapphire camera with the official HTC camera. i have gotten the HTC camera to work before, and just need to add in the right codes
out of curiosity, does any1 have any preference on where i upload the files? want someplace easy and fast, so no rapidshare or anything like that. first working suggestion gets it
please do not use option #2 once it is up, it will cause your phone to boot loop - option #2 is now used to change the lockscreen and is completely usable now
everything else should be good. this is made STRICTLY for JACman roms, not haykuro's, but twistedumbrella's should work, since it is based off of JACmans
PC sync is out of all JAChero builds... i spent hours trying to fix something not there . because of this, the next release will be 0.1.5 instead of 0.2
I ACCIDENTLY UPLOADED THE BAT AS A TXT FILE. im not gunna change it, so until the next release, just rename the file as a bat
0.1.5: http://www.4shared.com/file/11334312...Speed_015.html
i must thank dpgc213 for creating the original lockscreen change bat file
Changes:
deleted option to delete pc sync, causes bootloops and doesnt exist
added possibility to change the screen lock image (although doesnt have to do with speed)
added quick directions for changing the lock screen image
__________________________________________________ __________________________________________
71CH said:
Does this support 1.72 yet?
Click to expand...
Click to collapse
Yes.
That's what I'm using ti with. And it's made Rosie completely usable for the first time for me.
Has anyone had the experience where Rosie was really fast when first optimizing using whatever procedure but then lags down over time? That was what I experienced when using a different optimizer. Hopefully this one is consistent.

[ROM-DEV] Android 2.0.1-r5v0.6 (Dead)

Android 2.0.1-r5v0.6
Dead:
==============
After spending some time and looking over this rom and ways to make it work with out any legal issues. The most viable option was to build something like what cynanogen has built. His process takes the proprietary bits (all google apps including sync) and copies them off onto the SD card before doing a update. After the update it copies them back to the newly installed rom. This method basically does a automated backup/restore of your licensed applications. I can't do this for several reasons including that we are supposed to be coming from a 1.5 OS to a 2.0.1, which isn't compatible with the older application set.
Temporarily Offline:
==============
I am sorry to have to do this but we are now having more then just a small handful goofing with this ROM and I need to take this offline while I inspect each of the parts and make sure all licensing is in order since its a bit more then the google Opensource framework. I know that several other ROM creators have not paid much attention to it as I am going to now but I really don't want to upset any IP holders like what happened to Cynanogen a couple months back.
I will put it back up but I want to make sure that I am totally covered and don't have any issues.
version 0.6: download (offline)
==============
-fixed wifi thanks to http://forum.xda-developers.com/showthread.php?t=593620
-Now starts up with Android stock keyboard. (No longer needs HTC_IME.apk for second keyboard)
A few have asked for this ROM so I thought I would put it up here for anyone that wants to contribute to or take from it.
This ROM is only compatible with the Sprint CDMA HTC Hero. It is not finished and still requires some work but its good enough for my day to day use and I am sure others may find the same potential.
This ROM is vanilla android and what it takes to actually get it running on a CDMA phone. It is built off of this GSM variant. I am going to try and work to remove the google bits so that you can use Cynanogens method of extracting your own and then doing a follow up update to install them. My efforts for this is not to build a better rom but to build a cleaner base that has limited to no proprietary IP.
Credits to all on this forum how have helped or contributed in any way to building the roms that are here. I would point out names but there are to many to name. I am positive that anyone that pays attention to this forum will know who you are. I used many parts of these ROM's and many others on XDA to build this one.
This is my first ROM and was primarily made for myself to help me learn how to create a custom ROM.
Here is the link to my blog where I originally posted about this and a video of it booting.
Here is the Youtube video of it booting: http://www.youtube.com/watch?v=tRTh-rXKe-E
*Warning*: Don't attempt to flash this ROM onto anything else unless you know what you are doing! I am not responsible for any device malfunctions or "Bricks".
Notes on Installing:
- Run a Nandroid backup before you do anything.
- Make sure you do a full wipe first. (Sorry )
- Run the update zip found * Version 0.6 *(offline) from the recovery console.
To get the HTC keyboard installed: (Now Optional as of Version 0.6)
- Follow the instructions here.
Things that don't work:
- Gallery some times has issues.
- Camera
- Wired or Wireless Tethering (Now Testing)
- Orientation
- Trackball light
- Trackball click (Rolling and moving are fine)
- (Let me know if something else needs to go here.)
Possible issues that are not repeatable:
- speaker not working on out bound calls? I made 30 test calls to my home phone and was not able to replicate this issue. Needs to be verified (see here)
Awesome! Thanks! disregard my PM lol.. Great timing.
VoXHTC said:
Awesome! Thanks! disregard my PM lol.. Great timing.
Click to expand...
Click to collapse
LOL I was just getting to replying to you!
im trying it now nice work
Let me know if any of you have issues flashing. I still have it all right here in front of me if I need to make a change.
FYI: The first boot takes for ever as it registers all the APKS.
i just get the HTC_IME fource close i installed the one from the site like you said and installed it and i get this
thorracing1 said:
i just get the HTC_IME fource close i installed the one from the site like you said and installed it and i get this
Click to expand...
Click to collapse
So you installed both the HTC_IME.apk and the Clicker.apk? Did you do a adb push or a adb install?
Try and go into settings --> Language & Keyboard --> Touch Input --> Text Input?
I think its a force of habit with out really thinking to go there and calibrate but just going there may help.
Try that and let me know.
i just flashed it and pushed the keyboard and calibration app through adb and all is well. its working awesome. Thanks!!!
2.0t03speed said:
i just flashed it and pushed the keyboard and calibration app through adb and all is well. its working awesome. Thanks!!!
Click to expand...
Click to collapse
Awesome, keep the feed back coming as you have it!
please take note orientation doesnt work. please put in first post.
otherwise, great work!
should i do adb install or adb push?
blankd3ckskat3r said:
please take note orientation doesnt work. please put in first post.
otherwise, great work!
Click to expand...
Click to collapse
Got it listed now, that one bugs me... Must have been to worried about building this to remember it.
BTW thanks for the feed back!
thorracing1 said:
should i do adb install or adb push?
Click to expand...
Click to collapse
I would do an install or transfer them to your SD card and grab a app like Astro from the market to install them. Don't worry we will get you worked out.
dchadwick said:
Got it listed now, that one bugs me... Must have been to worried about building this to remember it.
Click to expand...
Click to collapse
lol well its a common problem, cant wait for a fix. really like what you did with this build
dchadwick said:
I would do an install or transfer them to your SD card and grab a app like Astro from the market to install them. Don't worry we will get you worked out.
Click to expand...
Click to collapse
Not able to get a working Keyboard Now I'm stuck in a boot loop. Tried installing through droid explorer.. no go.. tried installing from astro ..no go.. now it loads lockscreen.. dead... reboot..rinse and repeat
removed SDcard.. boots now trying to push.. but where do I push the apk files to?
blankd3ckskat3r said:
lol well its a common problem, cant wait for a fix. really like what you did with this build
Click to expand...
Click to collapse
Thanks, but I really can't take to much credit. Its a "Pick and Pull" from several ROMs. This one actually came from our GSM Brothers and then I used the CDMA tricks in this form to make it work.
I keep watching and playing with the Google Nexus Dumps. I would really like to get one of them up and running.
Based on your posting and replies I assume you are re-using the 2.6.27 kernel like the other roms?
VoXHTC said:
Not able to get a working Keyboard Now I'm stuck in a boot loop. Tried installing through droid explorer.. no go.. tried installing from astro ..no go.. now it loads lockscreen.. dead... reboot..rinse and repeat
Click to expand...
Click to collapse
Wow thats allot in a little space.
What I gather is that it originally booted, then after trying to install via droid explorer and then astro it now just dies after the lockscreen.
I am not sure where to start. I would just say to do a full wipe, then a clean install. Then if you have the sdk try the ADB install method as Cynanogen's post talks about.
I am working on trying to get the stock Android keyboard to work. If we can figure out that then we don't have to mess with the HTC one.
ok i got it i just adb pushed them to system/app works great
obelisk79 said:
Based on your posting and replies I assume you are re-using the 2.6.27 kernel like the other roms?
Click to expand...
Click to collapse
Yeah, actually some of your work if I remember correctly, thats why its got the same issues. My first goal when I built this for my self was to get past the blasted google bits sync loop. The more I worked into it the more I moved on to the 2.0.1 build with some of your stuff in it.
Your welcome to anything I have learned, its really not my work.

[Q] Creating Custom ROM

Hello, I'm new to all this Android stuff (I don't even have a phone yet, but its on it way)
I have been reading up on custom ROM creation but there are some things I don't quite understand.
Let's say I have a phone in Android 2.3. I want to create an Android 4.0 ROM to put on the phone.
Now... to compile Android 4.0 I need the drivers for my phone (which I doubt I will ever have access too since its only a cheap Android with a MediaTek CPU)
So I have a 2.3 ROM that contains all the compiled drivers and the Android 4.0 source code.
Is it possible to compile 4.0 and replace the zImage (if I'm correct) with the 2.3 zImage. From what I have read, that's where all the drivers are stored.
I guess its not that simple since I also think the zImage contains the OS. If so, is it then possible to extract the zImage and replace the invalid driver files in 4.0 with the correct drivers from 2.3?
Also, I think my phone will arrive with an annoying UI, is it possible to just get any 2.3 ROM (that doesn't have an annoying UI and shares the same CPU as my phone) and replace the zImage in that with my phones 2.3 zImage?
Sorry, if my questions are stupid but this is all new to me. I've tryed to read up on this but nothing is straight to the point.
Thanks
Anyone there?
try out some roms first. see what you like and dont like. it'll probably give you a better idea for how you would make your own rom.
I don't think you could just port an entire zimage to ICs and say it will work (it might not even compile i think). It won't work. You could probably take some drivers' code (screen, speaker, etc), modify them a bit so it compiles, and test to so if it works. You more than likely have to modify the ICS code also so it works. And the zimage is just the kernel no? And the kernel really only has to do with low level system processes, drivers, etc. I think UI's and such are more fitted in frameworks and such.
Personally if it was so easy to port ICS by simply replacing the zimage or file with another, ICS would have been ported to many devices, fully working, by now.
Kailkti said:
I don't think you could just port an entire zimage to ICs and say it will work (it might not even compile i think). It won't work. You could probably take some drivers' code (screen, speaker, etc), modify them a bit so it compiles, and test to so if it works. You more than likely have to modify the ICS code also so it works. And the zimage is just the kernel no? And the kernel really only has to do with low level system processes, drivers, etc. I think UI's and such are more fitted in frameworks and such.
Personally if it was so easy to port ICS by simply replacing the zimage or file with another, ICS would have been ported to many devices, fully working, by now.
Click to expand...
Click to collapse
Yeh, but my problem is I don't have the drivers for the phone. I just have the stock ROM that come with it.
Is not that simple. I am 99% sure that you can't do that.
The phone I'm getting has a horrible theme on it. Its running Android 2.3
I have the ROM for a very similar phone (also using Android 2.3), uses the exact same CPU so it should be compiled using the correct platform.
Is it possible to use that phones ROM but replace it with my phones Kernel and .prop (so it has all my phones drivers and settings etc...)?
the hard work required in making a custom rom
I think you can take from the stock rom and compared with existing custom rom
but some sources are not shared freely as an example Tegra
CMIIW
I will mess about with the ROM when I get my phone. Hopefully I wont brick it...
I too am fairly new to android. I spent a couple weeks reading and watching TONS of youtube videos on how to ROOT and Unlock my bootloader. My best advice from one n00b to another would be to do the same. In particular...research how to do it on YOUR phone. Also, Roms are device specific. I recommend you finding the forum here on XDA for your phone and read up on whatever ROMS are available here. This might not be the ONLY place to find ROMS, but this place simply rocks! Once you get your device rooted and if necessary, your bootloader unlocked...you can easily try out any ROM without much fear. Just make a good backup...make sure you also have a factory recovery image too...just in case. For backups...if you install and use Clockwork Mod (CWM) you can use the nandroid backup it offers. I bought Titanium backup from the market and used it to do a full backup before I started...it backs up to dropbox even, which was a nice feature for me. Extra safety so incase I hosed my external SD card which had my backups...I could easily retrieve a backup ANY place that had internet access. Lastly...get ready to have some FUN! Flashing ROMs is VERY addictive!! :-D
Ok, Thanks. I will see what I can do then.

MERetail-MEARET baking issues

ok so im cooking up a rom and im teying to get the basics down before i have fun and start changing colors and things, but im having a bit of an issue.....
can anyone explain to me why the 1% batery mod and reboot in power menu do nothing but power cycle the phone?
ive tried many different ways of implementing them and get stuck every time, regardless of if i flash a zip or change only the code that pertains to the mod in framework-res.apk and SystemUI.apk....
I have a very quick stable version of MERetail-MEARET and want to get it out there but those reboot in power menu and 1% bat mod are a must for me....
so far i have a working zip install including data folder with some apps (jrummy busybox for one):
Supercharged 8.2
Speedy7
cwm on boot (rads gps working version)
OC'd/UC'd 1200,840,500,250
all the build prop tweaks i could find...
once i get the reboot/1% thing worked out i can make her pretty and get it out there for u guys anyone wanna help?
Do you have the properly modded associated jar files - services.jar for the battery, and android.policy & framework.jar for reboot?
If you do, then maybe you crossed some files or have a typo and the id's aren't matching up...
Sent from my mind using XDA
daavvis said:
ok so im cooking up a rom and im teying to get the basics down before i have fun and start changing colors and things, but im having a bit of an issue.....
can anyone explain to me why the 1% batery mod and reboot in power menu do nothing but power cycle the phone?
ive tried many different ways of implementing them and get stuck every time, regardless of if i flash a zip or change only the code that pertains to the mod in framework-res.apk and SystemUI.apk....
I have a very quick stable version of MERetail-MEARET and want to get it out there but those reboot in power menu and 1% bat mod are a must for me....
so far i have a working zip install including data folder with some apps (jrummy busybox for one):
Supercharged 8.2
Speedy7
cwm on boot (rads gps working version)
OC'd/UC'd 1200,840,500,250
all the build prop tweaks i could find...
once i get the reboot/1% thing worked out i can make her pretty and get it out there for u guys anyone wanna help?
Click to expand...
Click to collapse
Ive run into same issues. Im on a new international rom and although i got 1% working no problem. The reboot in power menu mod cant be just downloaded and used from another firmwares files. Youll have to manually do it yourself. Those internationals have invompatible crossovers...strange i know ..but true nontheless. For example i cant go and switch frameworks from the u.s. rom and push it to an int. rom. Doesn't like it.
Sent from my MB865 using XDA
alteredlikeness said:
Do you have the properly modded associated jar files - services.jar for the battery, and android.policy & framework.jar for reboot?
If you do, then maybe you crossed some files or have a typo and the id's aren't matching up...
Sent from my mind using XDA
Click to expand...
Click to collapse
I have modified them myself because ive come into the same issue rdavisct
haa with framework files....
rdavisct said:
Ive run into same issues. Im on a new international rom and although i got 1% working no problem. The reboot in power menu mod cant be just downloaded and used from another firmwares files. Youll have to manually do it yourself. Those internationals have invompatible crossovers...strange i know ..but true nontheless. For example i cant go and switch frameworks from the u.s. rom and push it to an int. rom. Doesn't like it.
Sent from my MB865 using XDA
Click to expand...
Click to collapse
Word figured that out the hard way...lol i think last night i figured out how to repack system apk files, but i still think part of my issue is apktool....
Thats cool 1% worked for u ill give that a shot today... wanna get this rom out..... your names on the updater script by the way mr rdavict, just to let u know, used your cwm on boot....
Sent from my MB865 using XDA

[DEV][JB 4.2.2][DISCUSSION 2.0] SoC MT6577

Hey guys.
Due to the thread closing by OP's instructions on http://forum.xda-developers.com/showthread.php?t=2422404, I've decided to continue the discussion on this thread as everyone else who was getting help on there (including myself) now can't because of that.
The idea is to help each other as the original thread's intentions were, regardless of our expertise and knowledge, because it is well-known that every small contribution can be helpful for a device or another, with enough knowledge
Just like the original thread, post your problems and solutions related to the MT6577 chipset, including porting from MT6589/MT6573/etc. devices. Politely and nicely, please.
I will start with a question I've had for a few days: Does anyone know what are the binaries and files which control the battery metering/values? In my port, I'm having a problem where a reboot takes around 20% battery, and even if the phone is with 1% remaining, it can last as much as if it has 20% remaining or something. Mine is a port of the Lenovo 4.2.2 ROM.
Any ideas?
As an note i closed it due to spamm.
(and The thread was cleaned at least 2 times)
For an base port, the info is all there.
Also The tools for port i.e.: to patch kernel ramdisk, its here on xda, an simple search will point you to that. Or you can simple use The Kitchen to extract your zlimage and replace the one in my boot.IMG as my ramdisk is already patched for 4.2.2 , and thats The one i used to patch everyones boot.img when someone requested me.
Also theres already an 2nd thread about MT6577 porting to 4.2.2
And there are fixs that are device dependent, people must understand that, and it will require work and debugging from their side!
As i said this is for advance users only, if people cant work with something simple as ADB, they shouldnt try this port.
Regarding your question, thats an known old Android bug.
The battery Stats frozing. Usually wiping cache and Dalvik fixs it for some time.
And after an ROM change you should always recalibrate your battery.
B.regards
superdragonpt said:
As an note i closed it due to spamm.
(and The thread was cleaned at least 2 times)
For an base port, the info is all there.
Also The tools for port i.e.: to patch kernel ramdisk, its here on xda, an simple search will point you to that. Or you can simple use The Kitchen to extract your zlimage and replace the one in my boot.IMG as my ramdisk is already patched for 4.2.2 , and thats The one i used to patch everyones boot.img when someone requested me.
Also theres already an 2nd thread about MT6577 porting to 4.2.2
And there are fixs that are device dependent, people must understand that, and it will require work and debugging from their side!
As i said this is for advance users only, if people cant work with something simple as ADB, they shouldnt try this port.
Regarding your question, thats an known old Android bug.
The battery Stats frozing. Usually wiping cache and Dalvik fixs it for some time.
And after an ROM change you should always recalibrate your battery.
B.regards
Click to expand...
Click to collapse
Hey man
Oh, thanks for answering on here, that was quick hehe thanks for the extra info!, I'll be sure to add it to the OP in a bit .
By the way, where is that 2nd thread? I know there is one about a tool by yuweng but it was more generic (for MT65xx and any version porting), is that the one you're refeering to?
Alright, well, I've never suffered from the battery bug until I started experimenting with this Lenovo ROM so something tells me there must be something different to it. I've used your ROMs (both 4.1 and 4.2) and never had that issue, so I'm suspecting it must be something with the ROM itself. Do you happen to know which files or binaries hold some code for the battery? I want to experiment, but with so much files around (i2c, bmt, etc) it's hard to get a starting point
About the battery stats, where are those stats located? My TWRP 2.5.0.0 doesn't have any "wipe battery stats" function and some battery stats apps I've tested can't find the stats file. Did they move it in JB 4.2 or something?
Again, thanks a lot for your advice
Thats normal, twrp and The latest CWM ( you can also try The latest up to date cwm for our ZTE, The carliv touch) that i ported, it also doesnt have that option, it was removed from The cwm source, since thats actually useless. The only thing it does is deleting one file located at /data/system/batterystats.bin this file is used ONLY for The Android battery statistics, nothing else.
If you are experience that bug more times on another ROM (port) its an indicator that some files on The ROM, are not indicated for your phone (usually its The /system/bin) files. just replaced those with your stock ones.
The thread i mention, its not that one, i will post it here later, im on The phone, so i cant use The search...
B.regards
im always stuck in bootlogo, never see the homescreen.
data connection not working
when i toggle data connection it turns on but no
icon on top
example : E , G , 3G etc
3g is not supported in my area

Categories

Resources