yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] heart_crafter:
CyanogenMod settings

These setting can be edited by going in CyanogenMod settings>Performance...

from script we can do it as following...

echo 1 > /data/property/persist.service.adb.enable
echo 2 > /data/property/persist.service.compcache
echo 6 > /data/property/persist.sys.rotationanimation
echo 0 > /data/property/persist.sys.scrollingcache
echo 1 > /data/property/persist.sys.use_16bpp_alpha
echo 0 > /data/property/persist.sys.use_dithering
chmod 600 /data/property/*
chown root.root /data/property/*
reboot
[Miscellaneous Android Development] heart_crafter:
not sure what i did but i'm zeam launcher all apps with /system/lib/libskia.so

i can't go into zeam launchers Pereferences>General ... i just get a black screen(app closes and restarts) and cant create home screen shortcuts...

when i go to manage applications ... scroll to the bottom... and when i try to scroll back up... i get black screen again...

seems like something is closing apps when memory is used a bit more :S

maybe ill reflash tommorow... :P

u adding the scripts Steve or you want me to add them at the end of your release ?
[Miscellaneous Android Development] stevemp:
Keep them coming ;>)

I just uploaded a new version with some of your tweaks, but now it seems sluggish. :rolleyes: I'm going to work on it later. ;)

New Day. :D Try changing one thing at a time.

handle_compcache is in /system/bin and /system/etc/init.local.rc starts it.

97Loopy Smoothness Tweak is in /system/etc/init.d

sysinit is in /system/bin

#!/system/bin/sh

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin

/system/bin/logwrapper /system/xbin/run-parts /system/etc/init.d

#already in the build.prop

# Save battery

wifi.supplicant_scan_interval=180

#Fix Sleep of Death

pm.sleep_mode=0

ro.ril.disable.power.collapse=0

# Helps scrolling responsiveness

windowsmgr.max_events_per_sec=150

# Fix some application issues

ro.kernel.android.checkjni=0

#init.rc

write /proc/sys/vm/overcommit_memory 1

write /proc/sys/vm/min_free_order_shift 4

write /proc/sys/vm/min_free_kbytes 4437

write /proc/sys/vm/oom_kill_allocating_task 0

write /proc/sys/vm/panic_on_oom 0

write /proc/sys/vm/overcommit_memory 1

write /proc/sys/vm/swappiness 0

? Does this help.

# Scrolling cache 0:enable, 1:default enable, 2:default disable, 3:disable

persist.sys.scrollingcache=2

#

# enable adbd during first boot (for dalvik cache problems)

persist.service.adb.enable=1

stevemp
[Miscellaneous Android Development] heart_crafter:
hmm weird... maybe ill test the scripts on fresh flash today...

this line should have disabled dithering...

echo 0 > /data/property/persist.sys.use_dithering

does rotation animations gets turned of with my scripts?

edit:

this gb is up since 17hrs...

cell standby 87%

phone idle 10%

display 4%

battery level 51%
[Miscellaneous Android Development] stevemp:
Yeah, I turn off use_dithering also. :cool: Rotation animation is still on. Maybe cp com.cyanogenmod.cmparts_preferences.xml to com.cyanogenmod.cmparts/shared_prefs is the only way to turn it off.

stevemp

The build I just uploaded:

6h 37m on battery.

Running 12.3%

Screen on 6.4%

wifi on 100%

wifi running 98%

67% charge left.

12h on battery.

Running 33.8%

Screen on 5.9%

wifi on 100%

wifi running 80.5%

47% charge left.

It's sleeps well now. :)

Source code for cmparts if you want to look> https://github.com/kmobs/android_packages_apps_CMParts
[Miscellaneous Android Development] GTZ:
Next 2 Black Screen

Hello

I have a Next2

until 2 days ago it had the factory 1.5 on it.. i attempted to update to one of the newer roms and all i get is a black screen.

i used RKAndroid_ENG from the first page and the approiate drivers.. the program reports successfuly but the screen stays black.. i can hold the right arrow and hit the reset and it does install the divice so that RKAndroid_ENG can see it.

i have tried every possible rom i could find but the only time i get anything different is if the bootloader version is higher than 5.x i just get lots of random colors all over the screen.. if i flash an update that had a bootloader of 4.10 the black screen returns.. Northing more..

i have been searching for 2 days and havent found anything useful.. ive tried every next 2 rom that i could find anywhere.. but i cannot get this thing to respond in any way except holding the right arrow. does anyone have any ideas?
[Miscellaneous Android Development] JDfense:
Hello GTZ,

at first I have some questions.

Does the next2 not boot after successfull flashing or did it hang up in a loop while booting?

Have you really tried the Next2 roms or the others for next3? Sorry for that question, but the next 3 roms would not work afaik.

My first idea without further question: Take the rkandroidtool1.23 from this link and erase idb(you need to set your tablet in flash mode with the button combination you mentioned---holding right arrow and hit reset). If you have successfull erased, the rkbatchupgrade show a blue light instead of the green light you have seen before flashing.

If there is the blue light, flash again with one of those roms down here. My problem is that I have no next2 and so I can't test anything for real, but hopefully you have luck to unbrick your device.

JDfense

lash tools and instructions edited by stevemp

http://www.mediafire.com/?a2wgkzbuogv7fif

NEXT 2 froyo 2.21 ROM based on bq Voltaire in the archos forum

http://forum.archosfans.com/viewtopic.php?f=82&p=368152

Details: Some next 2 user have recommended this ROM, but not all.

Next 2 froyo 2.21, another bq voltaire rom in the archos forum posted by Nauj666

http://www.forotablets.com/showthrea...AIRE-VERSION-2

Details: tested by upNsmokeAllDay, works so far without issues, default language is spanish
[Miscellaneous Android Development] heart_crafter:
must be in system.. i feel like its some rk driver....

you should look for this string "rk28_adkeyscan_timer~~~wake up~~~"

it should take us to the code...
[Miscellaneous Android Development] stevemp:
off screen animation

It's the offscreen animation, fixed. Building as a tablet fixes most of the bugs, but I forgot the software buttons. :o So a new version is coming.

stevemp
[Miscellaneous Android Development] heart_crafter:
oo sorry... i forgot you were talking about black screen...

for some reason i was still stuck in power button problem :P

im trying to figure some scripts out... but the built-in scripts are messing me up :P

edit:

what did you changed?

value = mElectronBeamAnimationOff.isChecked(); to value = false; ?

edit2:

:( busybox stat -c %u /data/data/$AppName does not work... can we change the busybox ?

edit3:

i guess i can use busybox stat -t /data/data/$AppName with a bit more scripting :( :P
[Miscellaneous Android Development] GTZ:
i have tried both of thoese roms.. and as far as the tools from that link.. it detects it but refuses to erase the idb.. maybe im not doing something correctly?

i do not see any green light even at normal?

ive read thru most of the posts in these two threads and a few threads on some other sites and noone has reported similar problems. everyone just seems to report success..

i just get a black screen .. almost as if the device is turned off and wont turn on.. however i can do the combination and get it into loader mode..
[Miscellaneous Android Development] heart_crafter:
is there a better way to this?

#!/system/bin/busybox sh
#
# Gets Folder/File owner in app_### format

#owner=$( busybox stat -c %u /data/data/$AppName )

AppName=$1
mkdir -p /system/usr/customize
rm -f /system/usr/customize/owner.tmp
strStats=$( busybox stat -t "$AppName" )
intCount=0
strOwner=0
for i in $strStats ;do
intCount=$(($intCount+1))
if [ "$intCount" = "5" ]; then
strOwner=$i
fi
done

owner=${strOwner#1} && owner=${owner#0} && owner=${owner#0} && owner=app_${owner#0}
echo $owner > /system/usr/customize/owner.tmp

gets the owner of the folder/file specified
[Miscellaneous Android Development] DaremoS:
This is not the appropriate tool... and be careful... using this has been the only time I blocked my tablet so blocked that I needed to recover it using the needle :eek:
[Miscellaneous Android Development] JDfense:
Hi GTZ,

let us try something else before we declare your tablet for dead.

Please try the rkbatchupgrade1.23 or there is an older version 1.1, we have to search that one, if we need.

The rkbatchupgrade you have used has no light to show.

Another thing you can try is to reflash the original next2 rom.

Edit:

I have the suspicion, that your DM tool is not for rom versions with newer boatloader than 3.xxx. From eclare up you need to use an newer batchupgrade. I'm still searching for a clear hint...

Another idea - let power plug in the tablet while flashing and booting, maybe your battery is weak or not stable enough for the first boot.
[Miscellaneous Android Development] stevemp:
Ready for test.

It's all fixed, been compiling half the night and all day. :D SOD was caused by the off screen animation, it would start up then crash causing a loop. Spent all that time looking at code and you can turn it off in build configuration. DOH. Too many changes too list, icons, option in shut down menu to go home or to menu. Fixed usb host mode, used config for old kernel. Will upload after testing a bit.

stevemp
[Miscellaneous Android Development] JDfense:
Seems to be a hell of a cruel job, what you are trying. DaremoS has gone through. All my respect for it trying it again with some improvements.

When you get the SOD's and battery consumption fixed, then you have the real fun;)stuff, but be careful - there is a japanese guy out there, who don't know the GNU. May he is crying and calling you in bad terms.:D:p:D

DaremoS, what do you think. Is he in danger?:)
[Miscellaneous Android Development] heart_crafter:
:D sounds like you are having fun :P

your wife must be mad at you hehe :D

Keep it up! :D
[Miscellaneous Android Development] stevemp:
Oh No!

No more wives for me. :D Last one cost me in the six figures to get rid of her.:D

stevemp

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

:p:p:p fun_ :p:p:p

stevemp

---------- Post added at 03:27 PM ---------- Previous post was at 03:25 PM ----------

stevemp
[Miscellaneous Android Development] heart_crafter:
Oh you are freeee :D

Congratz on SOD fix btw ;)

edit:

flashing now

Steve, you have not changed any scripts right? they are same as last build?

thanks
[Miscellaneous Android Development] stevemp:
Took a lot of them out, set them in build configuration.

stevemp
[Miscellaneous Android Development] heart_crafter:
rotation animation still on...

checked settings... it was unchecked ... so i checked and unchecked it and rebooted... to disable it..

edit:

looks awesome! :D
[Miscellaneous Android Development] heart_crafter:
im glad i could help :p

1 thing... launcherpro feels much better...

zeam's drawer is to laggy... i cant handle that :p no offence (j)defence :p

fyi soft search button doesnt work...

now if u can fix the power key... it would be perfect :p

i dont know how u manage to use lockscreen... it is very difficult to turn the screen on without seeing the powermenu...

powermenu takes focus then after 1 sec screen goes to sleep :p so i just turn of lock screen cuz of this...

anywayz keep up the good work ! making progress

sent from doubleshot.
[Miscellaneous Android Development] JDfense:
No problem Philiman. Launcher pro is a bit slower, but very stable. I like him too, since I saw how you build him in eclare.:)
[Miscellaneous Android Development] stevemp:
Test

These are just test builds, I don't use zeam myself. If you turn off lockscreen then you can't use gestures. :rolleyes: That's the reason for setting the screen timeout for thirty minutes. :D I just hit screenshot to keep it awake. Must be a setting to change that some where. I was more concerned about the errors in libwebcore.so, gmail crashes and Angry Birds Rio. I have a new build using the proprietary library, just not tested yet.

fyi soft search button doesnt work... what is it?

Using Launcher Pro without changing it in loopy will let it drop out of memory, might be the reason for lag.

97loopy_smoothness_tweak

USER_LAUNCHER="org.zeam.core"	# Change this to your launcher app

Seems like the delay is caused by deep sleep, trade off between lag and battery life.

Launcher Pro crashes, can't even open app drawer.

stevemp
[Miscellaneous Android Development] heart_crafter:
See my response in red
[Miscellaneous Android Development] stevemp:
power button

Try these settings in build.prop, screen pops up for me. I changed them to help battery life. :o

dalvik.vm.heapsize=64m

#

#Fix SOD

pm.sleep_mode=0

ro.ril.disable.power.collapse=1

#

# Helps scrolling responsiveness

windowsmgr.max_events_per_sec=200

#

#Increases overall touch response

Debug.performance.tuning=1

Video.accelerate.hw=1

No problems with root explorer or search from task bar, maybe it's Launcher Pro? :confused:

Play Store crashed on libskia.so, time for a new build.

Update

Replace libskia.so, fixes Launcher Pro and Play Store.
[Miscellaneous Android Development] heart_crafter:
i laready have dalvik.vm.heapsize=64m set...

i have read changing windowsmgr.max_events_per_sec to 100 should fix a lot of things...

i test other options u posted...

search from task bar didn't work on fresh flash.

yea u gota rebuild libskia.so lol (if that makes any sense hehe)

ill keep u posted...
[Miscellaneous Android Development] heart_crafter:
make sure you check out the latest version 0.4 ;)

after customizing as your need, run the backup app :P

after that if u ever reflash another rom and come back to v0.4... all your settings will be restored ;)

:D
[Miscellaneous Android Development] stevemp:
Replace libskia.so

Fixes Launcher Pro and Play Store.
[Miscellaneous Android Development] heart_crafter:
does not work for me...

do i need to clear dalvik or reflash or something?

ok maybe i really need to change dalvik.vm.heapsize :P in the prop...cuz it does not work from cm settings... :P
[Miscellaneous Android Development] stevemp:
I had to reflash, but then it would not copy to /system/lib/.

I would try clearing dalvik before flashing.

---------- Post added at 01:44 PM ---------- Previous post was at 01:11 PM ----------

CyanogenMod-7.2.0-R1-UNOFFICIAL-KANG-N3.05.11.2012

It works! USB storage, PDFs, epub, Video, Music, Sleep with good battery life, Games, all that I've tried. Use the email app instead of gmail (crashes), put in your gmail address, works better than gmail app. I like watching youtube in Boat Browser myself, download youtube app if you like it. Portrait is still upside down, kernel issue, maybe time to build a new one. Zeam launcher doesn't flip upside down like Launcher Pro so I used it. Lot's of bug fixes and cosmetic changes, latest Gingerbread 2.3.7 and CyanogenMod 7.2.0 Release candidate 1.

http://www.mediafire.com/?48wy17g447nqb3i

stevemp
[Miscellaneous Android Development] JDfense:
I will check out later. Your eclare works fine for me since the last version. Right now I have pleasure with my modded hvdwolf froyo. It is a nice rom, without any trouble.
[Miscellaneous Android Development] JDfense:
If gmail does not work then check out if you have all the right gapps versions.

http://wiki.cyanogenmod.com/wiki/Latest_Version/Google_Apps
[Miscellaneous Android Development] stevemp:
code

It is in some of the code, gmail works until you try to read a message then crashes. Birds crash when it tries to load an add. It is a pain, takes two hours to find out if changes I make work or not. :( Good thing I don't use gmail or play Angry Birds. ;)

stevemp

Ubuntuu looks totally awesome on the G9. http://xdaforums.com/showpost.php?p=25110184&postcount=85
[Miscellaneous Android Development] JDfense:
This ubuntu looks insteresting. Maybe you get me, when they release a 9.7'' tablet.

Is it possible that the archos ubuntu works on rk2918 tablets?
[Miscellaneous Android Development] DaremoS:
A couple of spare questions for our dear cooks here:

1. Why / what happens if a rom (of ICS PMP5080B) have no kernel?

2. Where I have to look to correct orientation? The rom is going leftward all the time in 360°. Then I use Auto-rotate screen switched off.

Maybe are too naive question... I'm a noob in this **** :o
[Miscellaneous Android Development] JDfense:
I'm not shure, because I have no rk2918 system, but maybe my hannspad experience could help.

First your orientation problem could be related to the kernel you use. Then you need one of our american codeplayer for help.

Second it is possible that you have the system and boot in one image and the kernel is extra in another image to flash. That is the case for my hannspad with tegra2. Flashing works over the clockworkmod of my hannspad.There you can flash a hole rom in parts.

If your Master-G has the same hardware as the pmp5080, then try the Prestigio kernel, but as always you risk to brick your device.

Be careful and good luck, DaremoS.
[Miscellaneous Android Development] heart_crafter:
hehe a joke...

maybe u have to use it while laying down hehe

i m not a pro either...

i think linux can not run without kernel...

it must be hidden somewhere in ur img/zip file

last time i tried to fix the rotation axis.... i just did it in the prop file...

so if ur rom supports any rotataion props, try them first...

sent from doubleshot.
[Miscellaneous Android Development] JDfense:
Hey heart_crafter,

he does not say, that he has no kernel in his tablet RAM, He said only, that in Prestigio rom was no kernel inside. As I said on my tegra2 tablet, your can flash a complete rom or parts of a ICS rom. Perhaps DaremoS looks at the same concept.
[Miscellaneous Android Development] DaremoS:
I've seen in a rom made for Italian mediacom that kernel comes in a zip loaded from recovery.

BTW in this roms those Italians have adapted perfectly well CWM (ClockWorkMod) to an RK2918 device. No idea why our Nippon is still dealing with that :confused:

In case of PMP5080B rom is loaded as a typical *.img ... anyway I will loot at it more carefully

Yes sir... in my roms I'm using a patch created by fun_ to control orientation in PROP... but is not a regular android command.

Goshh!!! this **** of orientation is really tricky
[Miscellaneous Android Development] stevemp:
kernel

Your kernel and ram disk should be in the boot.img, back to normal way instead of rockchip way. I don't know what they named it, on the G9 it is zimage and initrd.cpio.lzma. Best to ask Finless Bob over at ROM Building Tips and Tricks by Finless http://www.freaktab.com/showthread.php?287-ROM-Building-Tips-and-Tricks-by-Finless He works on rk2918 tablets, you could start a thread for your tablet and maybe get some help. I know you miss your very good friend fun_, but he quit working on rockchip five months ago, but he has a twitter account and you can stay in touch. :D:D:D I tried building using his code but no video hw acceleration. Rockchip uses android api so all is needed is to use libraries from your rom and every thing works for Next3 except for errors in building webcore.so You have done all the hard work for making the new CyanogenMod 7.2.0, all I do is to compile. If anyone wishes to use it to mod claim it as yours, it is built from Android and CyanogenMod souce code, I have only changed build scripts. :)

stevemp
[Miscellaneous Android Development] DaremoS:
Yes sir you're absolutely right!!! :D ... kernel is in boot.img

To deal with kernel in boot.img wasn't easy for me.

I'm using the tools created by some Wendal that split all the parts, including system. But doesn't decrypt boot.img.

Happily some Italian named Troy have done all the dirty work so I get the kernel for ICS PMP8050B.

To realize that's not compatible so far with my GB.2.3.1 Master-G, for the moment I'm using a marvellous rom creat by this Troy for Mediacom, it's a ICS 4.0.4.

No more adventures for the time being, I'll return to my GB.2.3.1 for RK2818 :D

PS.: Thanks for the link pal

God bless the Kenedys!!!
[Miscellaneous Android Development] stevemp:
adventures

Sounds like you have adventures with your new tablet. :D My G9 came with ICS so nothing to do but use it. :(

New rom is your gingerbread updated to latest code. Only thing left to do on new rom is fix webcore.so compile errors, it was working before last repo sync so maybe I broke something. :confused:

stevemp
[Miscellaneous Android Development] JDfense:
Thanks for your finnley bob link. He could answer all open questions.:) Freaktab seems to be a nice forum. Maybe I join to this forum.

If prestigio will take much longer for there 9.7 tablet, I buy the easypix970.

http://www.easypix.eu/index_en.html
[Miscellaneous Android Development] stevemp:
caution

They have very strict rules, don't post roms with apps from market. :rolleyes:

stevemp
[Miscellaneous Android Development] JDfense:
Stevemp,

In that case I will better only ask questions. But first I need to make a choice for a rk2918 tablet .

If they don't like roms with a useful app collection, then there might be a place somewhere else.

Honestly it is all theoreticly, because ics stock rom could be good enough, you saw it by youself.

JDfense
[Miscellaneous Android Development] stevemp:
ICS

Nothing to do when you have ICS. :( Reason I'm still playing with Next3.

stevemp
[Miscellaneous Android Development] ThauExodus:
When now someone beside fun_ can build cm7 roms, can a cm6 rom build too?
[Miscellaneous Android Development] stevemp:
New Build

CyanogenMod-7.2.0-R1-UNOFFICIAL-KANG-N3.05.11.2012

It works! USB storage, PDFs, epub, Video, Music, Sleep with good battery life, Games, all that I've tried. Use the email app instead of gmail (crashes), put in your gmail address, works better than gmail app. I like watching youtube in Boat Browser myself, download youtube app if you like it. Portrait is still upside down, kernel issue, maybe time to build a new one. Zeam launcher doesn't flip upside down like Launcher Pro so I used it. Lot's of bug fixes and cosmetic changes, latest Gingerbread 2.3.7 and CyanogenMod 7.2.0 Release candidate 1.

New version > http://xdaforums.com/showpost.php?p=26111750&postcount=1169

First build with gcc-4.4, gingerbread has errors when using gcc-4.6.

Surfer63 and heart_crafter scripts merged in install.sh, fun_ skia code used, what I've tested in the rom is working. I use Boat Browser for watching YouTube and checking email, watching a Beatles movie on YouTube right now. :D It's over, started The Doors movie.

Should be able to build any version of CyanogenMod, CM6 is Froyo?

Building Android 4.0 on Ubuntu 11.10 showed me how to set up Ubuntu 11.10.> http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/

stevemp

Apps working.

YouTube plays hidef 1280x720

Adobe Reader.

Android System Info.

AnTuTu Benchmark.

Boat Browser.

Jukefox.

MoboPlayer.

QuickPic.

Not working.

Angry Birds.

Gmail.
[Miscellaneous Android Development] DaremoS:
All this tips you're posting are awesome :)

It's just requires soooo much time to apprehend :(

I prefer to pick your roms and test them :D
[Miscellaneous Android Development] ThauExodus:
Yes , cm6 is froyo. Maybe it is more smooth on these tablets
[Miscellaneous Android Development] JDfense:
Hi ThauExodus,

if you only want a more smooth android, then you need no cm6.

Try the froyo versions or the awesome eclare from heart_crafter, then you got all you need.

Greetings

JDfense
[Miscellaneous Android Development] JDfense:
When you you have the gapps complete, I'll check in to your gingerbread.

A new gingerdev is rising.:eek::):D:p
[Miscellaneous Android Development] ThauExodus:
Yes i know, but cm6 has a much better code base
[Miscellaneous Android Development] JDfense:
I have never had a cm6 ROM in my hands.

Can you explain, what you mean with better code base. What can cm6 better than froyo 2.21?
[Miscellaneous Android Development] stevemp:
Features

What tablet do you have? The Next3 is stripped, no bluetooth, camera, tv out, usb support for external keyboard or drive. https://github.com/CyanogenMod/android_vendor_cyanogen/tree/froyo Maybe you can look and tell me what features are wanted. You would need a Froyo rom for your tablet that works to build from. Maybe I could do it for you.

stevemp