Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,311 Members 48,216 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Las Venturas - 2.6.35 kernel port for Hero // Version: 1.2 - 13 May

Tip us?
 
lost101
Old
#1251  
Senior Member
Thanks Meter 741
Posts: 1,163
Join Date: May 2008
I started testing LV 1.1 today with Elelinux-7.2-Hero-v3.8 Android 2.3.7. I was curious if the gps-reboot would be gone. So far I haven't seen it

Thank you again Riemer. I never thought I would get rid of that damn bug.
 
gkillerx
Old
#1252  
gkillerx's Avatar
Senior Member
Thanks Meter 293
Posts: 1,034
Join Date: Mar 2009

 
DONATE TO ME
Quote:
Originally Posted by riemervdzee View Post
I switched to the ROM to test the problems out, did the following:
1: flashed the ROM just let it boot. Mounting usb ofc works (due the flykernel)
2: Flashed LV 1.1, just let it boot again. Mounting usb doesn't work of course as I didn't wiped dalvik.
3: went to recovery again, wiped dalvik, booted the bugger and usb just works.

Are you sure you wiped dalvik after installing LV? I think the other "strange" bugs are related to not wiping as well.

(..)
Yep offcourse I wiped it. I'm flashing kernels now almost twice a week (TF101) So I know my way around flashing kernels

Meby it's just my stupid phone that is just slowly dieng out or that I have a simcard putted in ?
Have a random reboot and want to help a dev? Install this app:
https://play.google.com/store/apps/d....bootlog&hl=nl
It only captures the log after the reboot happend

Like my work? Please to me!
 
riemervdzee
Old
#1253  
riemervdzee's Avatar
Retired Recognized Developer - OP
Thanks Meter 297
Posts: 593
Join Date: May 2010
Location: Dokkum
Try removing dalvik-cache manually. Go to recovery and open an adb shell:
mount data
rm -rf /data/dalvik-cache

I'm sure it is a dalvik cache problem. Which recovery are you using? Note that wiping cache doesn't work, as dalvik cache is stored somewhere else

Cheers, R
Devices: HTC One X, HTC Hero GSM

My Github: linky
- HTC One X kernel playground, based on Franco's
- 2.6.35 port for the Hero
 
1ceb0x
Old
#1254  
1ceb0x's Avatar
Senior Member
Thanks Meter 4895
Posts: 4,445
Join Date: Jun 2010
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by riemervdzee View Post
Try removing dalvik-cache manually. Go to recovery and open an adb shell:
mount data
rm -rf /data/dalvik-cache

I'm sure it is a dalvik cache problem. Which recovery are you using? Note that wiping cache doesn't work, as dalvik cache is stored somewhere else

Cheers, R
Yeah, if dalvik sits in sd card it will not be removed even if you select wipe dalvik-cache through recovery.
 
My past projects

HTC Hero GSM!
SHPONGLE / HeroICS 4.0.3 / BEASTsense

HTC One V GSM!
SHPONGLE
PARANOID ANDROID



LG G2
render™ inside | AICP™ 4.4


Nexus 4
hellscore™ inside | slimKKatz™


Like my work for the community? Feel free to make a donation
 
gkillerx
Old
#1255  
gkillerx's Avatar
Senior Member
Thanks Meter 293
Posts: 1,034
Join Date: Mar 2009

 
DONATE TO ME
Quote:
Originally Posted by riemervdzee View Post
Try removing dalvik-cache manually. Go to recovery and open an adb shell:
mount data
rm -rf /data/dalvik-cache

I'm sure it is a dalvik cache problem. Which recovery are you using? Note that wiping cache doesn't work, as dalvik cache is stored somewhere else

Cheers, R
Uhm oké I checked my phone and found dalvik-cache on the following places:

/data/dalvik-cache
and also:
/system/sd/dalvik-cache

I guess the last one is my sd-ext partition? I'm using RA-HERO. So are they both used?
Have a random reboot and want to help a dev? Install this app:
https://play.google.com/store/apps/d....bootlog&hl=nl
It only captures the log after the reboot happend

Like my work? Please to me!
 
riemervdzee
Old
(Last edited by riemervdzee; 3rd May 2012 at 02:52 PM.)
#1256  
riemervdzee's Avatar
Retired Recognized Developer - OP
Thanks Meter 297
Posts: 593
Join Date: May 2010
Location: Dokkum
I just checked the install scripts and /data/dalvik-cache "symlinks" to /system/sd/dalvik-cache (only when you have an ext partition of course). Symlink = Symbolic Link, http://en.wikipedia.org/wiki/Symbolic_link
This way the Android system still thinks the dalvik-cache is located at /data/ and can access it in a normal way, but underwater it is stored on the SD ext partition.

You can view the symlinks with "ls -l". An example would be:
lrwxrwxrwx 1 0 0 17 May 2 22:12 d -> /sys/kernel/debug

where /d/ is a symlink to /sys/kernel/debug/

Removing dalvik-cache under recovery, would delete the symlink reference only but not the contents on the SD ext partition. Simply because the ext-partition it ain't mounted under recovery (it is done via the init.d script).

Also.. I ain't sure it is safe to remove the dalvik-cache when the system is running, while removing it under recovery might be troubling as you have to mount the ext partition of your sd-card.
Which recovery are you using?

Edit: Small mock-up what you could write under recovery (via adb shell):
mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /sd-ext;
chown 1000:1000 /sd-ext;
chmod 771 /sd-ext;
rm -rf /sd-ext/dalvik-cache;
Devices: HTC One X, HTC Hero GSM

My Github: linky
- HTC One X kernel playground, based on Franco's
- 2.6.35 port for the Hero
 
gkillerx
Old
#1257  
gkillerx's Avatar
Senior Member
Thanks Meter 293
Posts: 1,034
Join Date: Mar 2009

 
DONATE TO ME
Quote:
Originally Posted by riemervdzee View Post
(..)
Which recovery are you using?

Edit: Small mock-up what you could write under recovery (via adb shell):
mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /sd-ext;
chown 1000:1000 /sd-ext;
chmod 771 /sd-ext;
rm -rf /sd-ext/dalvik-cache;
Thanks for the support so far

As mentoined befor, I use RA-HERO as recovery img.

So to be clear. If I run those commands in recovery adb shell it should remove dalvik-cache completely?

I guess I also have to do:
Code:
mount data
rm -rf /data/dalvik-cache
Have a random reboot and want to help a dev? Install this app:
https://play.google.com/store/apps/d....bootlog&hl=nl
It only captures the log after the reboot happend

Like my work? Please to me!
 
riemervdzee
Old
#1258  
riemervdzee's Avatar
Retired Recognized Developer - OP
Thanks Meter 297
Posts: 593
Join Date: May 2010
Location: Dokkum
Quote:
Originally Posted by gkillerx View Post
Thanks for the support so far

As mentoined befor, I use RA-HERO as recovery img.

So to be clear. If I run those commands in recovery adb shell it should remove dalvik-cache completely?

I guess I also have to do:
Code:
mount data
rm -rf /data/dalvik-cache
The commands I gave you, should work aye. make sure the mount command returns no error though. No need to rm /data/dalvik-cache btw.
Devices: HTC One X, HTC Hero GSM

My Github: linky
- HTC One X kernel playground, based on Franco's
- 2.6.35 port for the Hero
The Following User Says Thank You to riemervdzee For This Useful Post: [ Click to Expand ]
 
gkillerx
Old
(Last edited by gkillerx; 3rd May 2012 at 11:10 PM.)
#1259  
gkillerx's Avatar
Senior Member
Thanks Meter 293
Posts: 1,034
Join Date: Mar 2009

 
DONATE TO ME
It worked, so far so good! Just played music and did stuff on the phone (send emails, and read whatsapps.) and no problems so far!

Thanks for the support so far

edit:
still having USB mounting issues

Edit2
Still having problems with playing music. When i am sorting music for a playlist it hangs, music stops and all my music is getting deselected! Argghhh stupid music! Kernel is sweet fast and snappy. I also tried supercharging but still same problems. I have 500 music numbers.
Have a random reboot and want to help a dev? Install this app:
https://play.google.com/store/apps/d....bootlog&hl=nl
It only captures the log after the reboot happend

Like my work? Please to me!
 
riemervdzee
Old
#1260  
riemervdzee's Avatar
Retired Recognized Developer - OP
Thanks Meter 297
Posts: 593
Join Date: May 2010
Location: Dokkum
Guess it ain't cleared correctly.. I suggest either a fresh install, or I can modify the scripts ele uses to get the dalvik on /data/ again, might be easier to wipe it in the future as well

Cheers, R
Devices: HTC One X, HTC Hero GSM

My Github: linky
- HTC One X kernel playground, based on Franco's
- 2.6.35 port for the Hero

Tags
2.6.35, kernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes