• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Kernel Experiment - 4.0 updated 2012.05.28

199 posts in this topic

Posted (edited)

hello ipaq3870

i want to ask something related to androids but not our i8000.

Hope you can help me.

As my freind 's htc aria 's mainboard is getting some problem,

it detects the battery level as 0~3% even the battery is fully charged

i have tested to insert the battery to other phones, it shows 100% correctly

however, since the android will turn the phone off when it has 0% of battery,

so is it possible to change the phone into charging state even there is no chargered plugged or stop the auto turn off of the phone? thank you

Edited by nikkotsoi
0

Share this post


Link to post
Share on other sites

Posted

After Android on Omnia logo. I see color bands.

Next time if you encounter this, pull the battery and wait for one minute before re-inserting it and pressing the power. If it still won't boot and color bands still appears then there might be something wrong.

ok, I made a new clean install with all modules already replaced in ext4.tar.gaz archive. and wifi is working. I think that goes for all versions

Good to know it finally works for you - but I am still wondering what would have been the cause of it. Switching to a different kernel (if done correctly) should not affect any other files and configurations. Anyway, I'd recommend others to try the reinstall route if they encounter the same.

Does it means you are going to release a new kernel today/tomorrow?

i usually reboot many times, so i like it :)

It's actually already on github ;) For binary builds, I think tomorrow or the day after...

so is it possible to change the phone into charging state even there is no chargered plugged or stop the auto turn off of the phone?

It's possible indeed. There are two routes for doing it: you either mod the battery driver to report a higher battery level (or A/C plugged in), or mod Android not to shutdown even if there's no juice. The former approach is very device specific as it involves the kernel driver and require quite a bit of knowledge of the battery gauge. The latter should be more trivial - just mod the ShutdownIfNoPower() call here.

0

Share this post


Link to post
Share on other sites

Posted

Next time if you encounter this, pull the battery and wait for one minute before re-inserting it and pressing the power. If it still won't boot and color bands still appears then there might be something wrong.

Good to know it finally works for you - but I am still wondering what would have been the cause of it. Switching to a different kernel (if done correctly) should not affect any other files and configurations. Anyway, I'd recommend others to try the reinstall route if they encounter the same.

It's actually already on github ;) For binary builds, I think tomorrow or the day after...

It's possible indeed. There are two routes for doing it: you either mod the battery driver to report a higher battery level (or A/C plugged in), or mod Android not to shutdown even if there's no juice. The former approach is very device specific as it involves the kernel driver and require quite a bit of knowledge of the battery gauge. The latter should be more trivial - just mod the ShutdownIfNoPower() call here.

thanks for your help

i wonder we should talk about this in the message,,

i don't want to disturb others in this post :)

0

Share this post


Link to post
Share on other sites

Posted (edited)

I've copied the script on the first page and named it zr.sh, then put it where SDcard is mounted. So, with terminal:

su (log in as root)

chmod 777 /sdcard/zr.sh (make it executable)

sh /sdcard/zr.sh (run the script)

Then terminal will show some errors but just type free on terminal and see if swap line isn't showing just zeros, if don't, then is working.

Do we have to execute this script each time the OS i booted? Or it has to be executed only once...?

(i suppose that it has to be executed on each reboot...)

Thanks.

Edited by zappazz
0

Share this post


Link to post
Share on other sites

Posted

Do we have to execute this script each time the OS i booted? Or it has to be executed only once...?

(i suppose that it has to be executed on each reboot...)

You do need it every time it boots. If you don't want the trouble executing it every time, you can use the init.rc snippet in the same post where the script was posted, or you can also hook it up with a script manager like SL4A that give you the ability to create homescreen shortcut to your script.

0

Share this post


Link to post
Share on other sites

Posted

oh thank you tor your work

0

Share this post


Link to post
Share on other sites

Posted

My second log about the libertasspi.ko

log.120527-124430.txt

0

Share this post


Link to post
Share on other sites

Posted (edited)

@ IPaq great job! It works perfectly! I did update for Android Omnia2 CM2.

https://docs.google.com/folder/d/0B8Q7sAIuuROBQ281MG0yRW9CSUk/edit

Hi con73!

I just only copy these files to sd and start android? Because "Note: Updates are named now: frb2update.tar.gz and frb2update.sh" (from CM beta readme) This is the 05.21 version of ipaq's updates? IPAQ! THANK YOU!! :)

Edited by musicman1982
0

Share this post


Link to post
Share on other sites

Posted

hi! i'm trying to get working my i8000 but don't remember how use update.tar.gz

could u help?

0

Share this post


Link to post
Share on other sites

Posted

Hi con73!

I just only copy these files to sd and start android? Because "Note: Updates are named now: frb2update.tar.gz and frb2update.sh" (from CM beta readme) This is the 05.21 version of ipaq's updates? IPAQ! THANK YOU!! :)

Right. I called the wrong names of the files you need to change the name, thencorrect.

0

Share this post


Link to post
Share on other sites

Posted

My second log about the libertasspi.ko

log.120527-124430.txt

Well, I see "Failed to load Wi-Fi driver" in your first log. But in the second log, it shows "Sanya: Power On wlan". Are the 2 logs from the same session (i.e. no reboot between them)? And did you manually do a "insmod -f /modules/libertasspi.ko" or "insmod /modules/libertasspi.ko"? If that's the case, which command you did?

0

Share this post


Link to post
Share on other sites

Posted

@ IPaq great job! It works perfectly! I did update for Android Omnia2 CM2.

While I can't vouch for quality of these updates, I generally do not have any objections for update packs made by kind fellows. It's just worth mentioning that a reboot is needed after the first boot or else something might not work, like the vibrator due to how the start up scripts were written.

0

Share this post


Link to post
Share on other sites

Posted

The kernel appears to wave phenomena, what is the problem?

1

Share this post


Link to post
Share on other sites

Posted

Well, I see "Failed to load Wi-Fi driver" in your first log. But in the second log, it shows "Sanya: Power On wlan". Are the 2 logs from the same session (i.e. no reboot between them)? And did you manually do a "insmod -f /modules/libertasspi.ko" or "insmod /modules/libertasspi.ko"? If that's the case, which command you did?

for the log 2

i just directly follow what yhou type in #67

that is

Hmmm... you are hitting one of the usb bug that I am chasing after. Anyway, can you try the following:

1. disconnect USB cable

2. reboot

3. install this new terminal emulator (for later steps)

4. open terminal and start mlog script

5. press menu key, and select "new window"

6. run "insmod -f /modules/libertasspi.ko"

7. wait for 30 seconds, and note any error messages

8. swipe the screen to your right to get back to original window 1

9. press q to stop mlog

10. post the resulting .txt and any error message you see in step 7.

0

Share this post


Link to post
Share on other sites

Posted

Hi!

I installed vanila build manually (from Vm) Started up, then i try to run ZR script from terminal. (after su command) This says me "cannot create /sys/block/zram0/compressor: directory nonexistent." What i do wrong? (i already changed init.rc) Anyway, i can't post log, because ADB not available. (connect the cable, enabled already, but not work)

0

Share this post


Link to post
Share on other sites

Posted (edited)

Kexec a.k.a. Never See WinMo Again (Almost)

These are the files needed for using kexec - for kernel 4.0 or above. See first post for details.

framework.part1.rar

framework.part2.rar

libc.zip

Edited by ipaq3870
0

Share this post


Link to post
Share on other sites

Posted

it it possible to have an unlocked version of kernel to try overclock?

0

Share this post


Link to post
Share on other sites

Posted

Hi!

I installed vanila build manually (from Vm) Started up, then i try to run ZR script from terminal. (after su command) This says me "cannot create /sys/block/zram0/compressor: directory nonexistent." What i do wrong? (i already changed init.rc) Anyway, i can't post log, because ADB not available. (connect the cable, enabled already, but not work)

Search in this topic the error, there is an ipaq answer to your question (that says "ignore the error").

0

Share this post


Link to post
Share on other sites

Posted

Wow. Great news from you @ ipaq3870!

Version 4 is even better than 3. Tests 677-166-160-24 versions 4 and is really excellent.

0

Share this post


Link to post
Share on other sites

Posted (edited)

Wow. Great news from you @ ipaq3870!

Version 4 is even better than 3. Tests 677-166-160-24 versions 4 and is really excellent.

What do you replaced? I installed 800-133-141-16bpp 4.0 and replaced framework, and put libc.so in modules. I got no network now, and the debug mode from pc (adb shell or logcat) still not working, and my phone don't show the debug sign if i plug-in usb cable. (yes, debug is enabled! checked twice) What about white squares in 3d? If i understand good, i must choose smaller memory version of kernel? So if i don't want white squares i must use overclocked kernels?(because these seems have smaller memory?!) Now, if i open advanced task killer (not using it, just installed 2months ago) it tells me i have 46mb free memory. In terminal free command i see swap is working, but i can't check it's a zram swap or old type swap. How can i check this?

Edited by musicman1982
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.